Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 48: Line 48:


.mw-parser-output > ul,
.mw-parser-output > ul,
.mw-parser-output > ol,
.mw-parser-output > ol {
.mw-parser-output .toc-page > ul,
.mw-parser-output .toc-page > ol {
margin: 8px 0 12px 28px;
margin: 8px 0 12px 28px;
padding-left: 20px;
padding-left: 20px;
Line 56: Line 54:
}
}


.mw-parser-output > ul,
.mw-parser-output > ul {
.mw-parser-output .toc-page > ul {
list-style: disc outside;
list-style: disc outside;
}
}


.mw-parser-output ul ul,
.mw-parser-output ul ul {
.mw-parser-output .toc-page > ul ul {
margin: 4px 0 6px 22px;
margin: 4px 0 6px 22px;
padding-left: 18px;
padding-left: 18px;
Line 68: Line 64:
}
}


.mw-parser-output > ol,
.mw-parser-output > ol {
.mw-parser-output .toc-page > ol {
list-style: decimal outside;
list-style: decimal outside;
}
}


.mw-parser-output > ul > li,
.mw-parser-output > ul > li,
.mw-parser-output > ol > li,
.mw-parser-output > ol > li {
.mw-parser-output .toc-page > ul > li,
.mw-parser-output .toc-page > ol > li {
display: list-item;
display: list-item;
margin-bottom: 4px;
margin-bottom: 4px;
}
}


.mw-parser-output ul ul > li,
.mw-parser-output ul ul > li {
.mw-parser-output .toc-page > ul ul > li {
display: list-item;
display: list-item;
margin-bottom: 3px;
margin-bottom: 3px;
Line 318: Line 310:
}
}


/* TOC PAGE DIV */
/* Intro text shown only while a MediaWiki collapsible section is closed. */
/* ------------ */
.wizlords-collapsed-hint {
/* Wrap __TOC__ in <div class="toc-page">...</div> to float it right. */
display: none;
.toc-page #toc,
margin: 0;
.toc-page .toc {
padding: 6px 0 6px;
float: right;
width: max-content;
min-width: 220px;
max-width: 320px;
margin: 0 0 16px 24px;
clear: right;
font-size: 0.95em;
box-sizing: border-box;
padding: 16px 24px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: var(--wiz-panel-solid-background, #0f0f0f);
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-style: italic;
}
}


.toc-page #toc:has(.toctogglecheckbox:checked),
.wizlords-collapsed-hint-section.mw-collapsed > .wizlords-collapsed-hint {
.toc-page .toc:has(.toctogglecheckbox:checked) {
display: block;
width: fit-content;
min-width: 0;
padding: 12px 16px;
}
}


.toc-page #toc .toctitle,
.wizlords-collapsed-hint-section:not(.mw-collapsed) > .wizlords-collapsed-hint {
.toc-page .toc .toctitle {
display: none;
margin: 0 0 10px;
color: var(--wiz-text, #d2d2d2);
text-align: center;
}
}


.toc-page #toc:has(.toctogglecheckbox:checked) .toctitle,
.wizlords-collapsed-hint-section ul {
.toc-page .toc:has(.toctogglecheckbox:checked) .toctitle {
margin: 6px 0 12px;
margin: 0;
padding-left: 28px;
line-height: 1.4;
list-style: disc outside;
}
}


.toc-page #toc .toctitle h2,
.wizlords-collapsed-hint-section li {
.toc-page .toc .toctitle h2 {
display: list-item;
display: inline;
margin: 0 0 3px;
margin: 0;
list-style: disc outside;
padding: 0;
border: 0;
color: var(--wiz-text, #d2d2d2);
font-size: 14px;
font-weight: bold;
line-height: 1.4;
}
}


.toc-page #toc .toctoggle,
.wizlords-collapsed-hint-section li::marker {
.toc-page .toc .toctoggle {
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
}
}


.toc-page #toc .toctoggle a,
/* Keeps a real wiki heading available for the TOC without showing it on the page. */
.toc-page .toc .toctoggle a {
.wizlords-toc-only-heading {
color: var(--wiz-link, #ff942d);
position: absolute;
text-decoration: none;
width: 1px;
}
height: 0;
 
.toc-page #toc ul,
.toc-page .toc ul {
margin: 0;
margin: 0;
padding: 0;
padding: 0;
list-style: none;
overflow: hidden;
clip-path: inset(50%);
}
}


.toc-page #toc li,
.wizlords-toc-only-heading .mw-heading,
.toc-page .toc li {
.wizlords-toc-only-heading h2,
display: block;
.wizlords-toc-only-heading h3,
margin: 0;
.wizlords-toc-only-heading h4 {
padding: 0;
height: 0 !important;
list-style: none;
margin: 0 !important;
line-height: 1.35;
padding: 0 !important;
border: 0 !important;
}
}


.toc-page #toc > ul > li,
.wizlords-toc-only-heading .mw-editsection {
.toc-page .toc > ul > li {
display: none;
padding: 2px 0;
}
}


.toc-page #toc li ul,
/* Reusable article sections that can be collapsed to keep long pages compact. */
.toc-page .toc li ul {
.wizlords-collapsible-section {
margin-left: 12px;
margin: 18px 0;
padding-left: 10px;
padding: 8px 14px;
border-left: 1px dotted var(--wiz-content-border, #ff942d);
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
}
}


.toc-page #toc li li,
.wizlords-toc-only-heading + .wizlords-collapsible-section,
.toc-page .toc li li {
.wizlords-collapsible-section + .wizlords-collapsible-section {
margin-left: 0;
margin-top: 10px;
padding: 2px 0;
border-left: 0;
}
}


.toc-page #toc .toclevel-3,
.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading),
.toc-page #toc .toclevel-4,
.wizlords-collapsible-section:has(+ .wizlords-collapsible-section) {
.toc-page #toc .toclevel-5,
margin-bottom: 10px;
.toc-page #toc .toclevel-6,
.toc-page .toc .toclevel-3,
.toc-page .toc .toclevel-4,
.toc-page .toc .toclevel-5,
.toc-page .toc .toclevel-6 {
display: none !important;
}
}


.toc-page #toc .tocnumber,
.wizlords-collapsible-section-title {
.toc-page .toc .tocnumber {
padding: 0;
display: none;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
color: var(--wiz-heading, #e7e1d4);
font-family: Georgia, 'Times New Roman', serif;
font-size: 24px;
font-weight: normal;
line-height: 30px;
}
}


.toc-page #toc a,
.wizlords-collapsible-section .mw-collapsible-content {
.toc-page .toc a {
padding: 6px 0 0;
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
}


.toc-page #toc a:hover,
.wizlords-collapsible-section .mw-collapsible-content > p:first-child {
.toc-page .toc a:hover {
margin-top: 0;
color: #ffd37a;
text-decoration: none;
}
}


/* Intro text shown only while a MediaWiki collapsible section is closed. */
.wizlords-collapsible-section .mw-collapsible-content > p:last-child {
.wizlords-collapsed-hint {
margin-bottom: 0;
display: none;
margin: 0;
padding: 6px 0 6px;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
}
}


.wizlords-collapsed-hint-section.mw-collapsed > .wizlords-collapsed-hint {
.wizlords-collapsible-section-subheading {
display: block;
margin: 14px 0 8px;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 1.3;
}
}


.wizlords-collapsed-hint-section:not(.mw-collapsed) > .wizlords-collapsed-hint {
.wizlords-collapsible-section-subsubheading {
display: none;
margin: 12px 0 6px;
color: var(--wiz-heading, #e7e1d4);
font-weight: bold;
line-height: 1.3;
}
}


.wizlords-collapsed-hint-section ul {
.wizlords-collapsible-section-divider {
margin: 6px 0 12px;
width: 80%;
padding-left: 28px;
height: 1px;
list-style: disc outside;
margin: 18px auto 14px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-collapsed-hint-section li {
.wizlords-collapsible-section > .mw-collapsible-toggle {
display: list-item;
margin: 11px 0 0 0;
margin: 0 0 3px;
color: var(--wiz-text, #d2d2d2) !important;
list-style: disc outside;
}
}


.wizlords-collapsed-hint-section li::marker {
.wizlords-collapsible-section > .mw-collapsible-toggle .mw-collapsible-text,
color: var(--wiz-text, #d2d2d2);
.wizlords-collapsible-section > .mw-collapsible-toggle a {
color: var(--wiz-link, #ff942d) !important;
}
}


/* Keeps a real wiki heading available for the TOC without showing it on the page. */
.wizlords-collapsible-section-bottom-toggle {
.wizlords-toc-only-heading {
margin: 8px 0 0;
position: absolute;
width: 1px;
height: 0;
margin: 0;
padding: 0;
padding: 0;
overflow: hidden;
text-align: right;
clip-path: inset(50%);
color: var(--wiz-text, #d2d2d2) !important;
cursor: pointer;
}
}


.wizlords-toc-only-heading .mw-heading,
.wizlords-collapsible-section-bottom-toggle span,
.wizlords-toc-only-heading h2,
.wizlords-collapsible-section-bottom-toggle a {
.wizlords-toc-only-heading h3,
color: var(--wiz-link, #ff942d) !important;
.wizlords-toc-only-heading h4 {
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
}
}


.wizlords-toc-only-heading .mw-editsection {
/* IMPORTANT SECTION
display: none;
  -----------------
}
  Permanently open highlighted information using the established article-box
 
  appearance without any collapsible classes, controls, or JavaScript. */
/* Reusable article sections that can be collapsed to keep long pages compact. */
.wizlords-important-section {
.wizlords-collapsible-section {
margin: 18px 0;
margin: 18px 0;
padding: 8px 14px;
padding: 8px 14px;
Line 510: Line 464:
}
}


.wizlords-toc-only-heading + .wizlords-collapsible-section {
.wizlords-toc-only-heading + .wizlords-important-section {
margin-top: 10px;
margin-top: 10px;
}
}


.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading) {
.wizlords-important-section-title {
margin-bottom: 10px;
}
 
.wizlords-collapsible-section-title {
padding: 0;
padding: 0;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
Line 528: Line 478:
}
}


.wizlords-collapsible-section .mw-collapsible-content {
.wizlords-important-section-content {
padding: 6px 0 0;
padding: 6px 0 0;
}
}


.wizlords-collapsible-section .mw-collapsible-content > p:first-child {
.wizlords-important-section-content > p:first-child {
margin-top: 0;
margin-top: 0;
}
}


.wizlords-collapsible-section .mw-collapsible-content > p:last-child {
.wizlords-important-section-content > p:last-child {
margin-bottom: 0;
margin-bottom: 0;
}
}


.wizlords-collapsible-section-subheading {
/* RACE TABLE */
margin: 14px 0 8px;
/* ---------- */
color: var(--wiz-heading, #e7e1d4);
.wikitable.wizlords-race-table,
font-size: 18px;
.wizlords-race-table {
font-weight: bold;
--wiz-race-table-border-width: 1px;
line-height: 1.3;
--wiz-race-table-border-colour: #4d4d4d;
--wiz-race-table-divider-colour: #9d7531;
width: 100%;
border-collapse: collapse;
table-layout: fixed;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-border-colour) !important;
background: var(--wiz-content-background, #222);
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-collapsible-section-subsubheading {
.wikitable.wizlords-race-table tr,
margin: 12px 0 6px;
.wizlords-race-table tr {
color: var(--wiz-heading, #e7e1d4);
border-color: var(--wiz-race-table-border-colour) !important;
font-weight: bold;
line-height: 1.3;
}
}


.wizlords-collapsible-section-divider {
.wikitable.wizlords-race-table th,
width: 80%;
.wikitable.wizlords-race-table td,
height: 1px;
.wizlords-race-table th,
margin: 18px auto 14px;
.wizlords-race-table td {
background: var(--wiz-race-table-divider-colour, #9d7531);
padding: 5px 8px;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-border-colour) !important;
background: #1f1e1e;
vertical-align: middle;
}
}


.wizlords-collapsible-section > .mw-collapsible-toggle {
.wizlords-race-table th {
margin: 11px 0 0 0;
color: var(--wiz-heading, #e7e1d4) !important;
color: var(--wiz-text, #d2d2d2) !important;
text-align: center;
font-weight: bold;
}
}


.wizlords-collapsible-section > .mw-collapsible-toggle .mw-collapsible-text,
.wikitable.wizlords-race-table td.race-name,
.wizlords-collapsible-section > .mw-collapsible-toggle a {
.wizlords-race-table td.race-name {
color: var(--wiz-link, #ff942d) !important;
background: #171717 !important;
text-align: center;
font-weight: bold;
white-space: nowrap;
}
}


.wizlords-collapsible-section-bottom-toggle {
.wizlords-race-table .race-icon {
margin: 8px 0 0;
display: block;
padding: 0;
width: 100px;
text-align: right;
height: 100px;
color: var(--wiz-text, #d2d2d2) !important;
margin: 0 auto 6px;
cursor: pointer;
object-fit: contain;
}
}


.wizlords-collapsible-section-bottom-toggle span,
.wikitable.wizlords-race-table td.subculture,
.wizlords-collapsible-section-bottom-toggle a {
.wizlords-race-table td.subculture {
color: var(--wiz-link, #ff942d) !important;
background: #171717 !important;
text-align: center;
font-weight: bold;
vertical-align: middle;
}
}


/* RACE TABLE */
.wizlords-race-table .subculture-icon {
/* ---------- */
display: block;
.wikitable.wizlords-race-table,
width: 45px;
.wizlords-race-table {
height: 45px;
--wiz-race-table-border-width: 1px;
margin: 4px auto 4px;
--wiz-race-table-border-colour: #4d4d4d;
object-fit: contain;
--wiz-race-table-divider-colour: #9d7531;
width: 100%;
border-collapse: collapse;
table-layout: fixed;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-border-colour) !important;
background: var(--wiz-content-background, #222);
color: var(--wiz-text, #d2d2d2);
}
}


.wikitable.wizlords-race-table tr,
.wizlords-race-table .race-bonus,
.wizlords-race-table tr {
.wizlords-race-table .subculture-bonus {
border-color: var(--wiz-race-table-border-colour) !important;
min-width: 280px;
}
}


.wikitable.wizlords-race-table th,
.wizlords-race-table ul {
.wikitable.wizlords-race-table td,
margin: 0;
.wizlords-race-table th,
padding-left: 20px;
.wizlords-race-table td {
list-style: disc outside;
padding: 5px 8px;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-border-colour) !important;
background: #1f1e1e;
vertical-align: middle;
}
}


.wizlords-race-table th {
.wizlords-race-table li {
color: var(--wiz-heading, #e7e1d4) !important;
display: list-item;
text-align: center;
margin: 0 0 3px;
font-weight: bold;
list-style: disc outside;
}
}


.wikitable.wizlords-race-table td.race-name,
.wizlords-race-table li::marker {
.wizlords-race-table td.race-name {
color: var(--wiz-text, #d2d2d2);
background: #171717 !important;
text-align: center;
font-weight: bold;
white-space: nowrap;
}
}


.wizlords-race-table .race-icon {
.wizlords-race-table .race-divider td {
display: block;
height: 8px;
width: 100px;
padding: 0;
height: 100px;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important;
margin: 0 auto 6px;
background: var(--wiz-race-table-divider-colour);
object-fit: contain;
}
}


.wikitable.wizlords-race-table td.subculture,
/* RACES LANDING PAGE */
.wizlords-race-table td.subculture {
/* ------------------ */
background: #171717 !important;
.wizlords-races-landing {
text-align: center;
max-width: 100%;
font-weight: bold;
vertical-align: middle;
}
}


.wizlords-race-table .subculture-icon {
.wizlords-races-landing .race-note {
display: block;
margin: 14px 0 18px;
width: 45px;
font-style: italic;
height: 45px;
margin: 4px auto 4px;
object-fit: contain;
}
}


.wizlords-race-table .race-bonus,
.wizlords-races-grid {
.wizlords-race-table .subculture-bonus {
display: flex;
min-width: 280px;
flex-wrap: wrap;
justify-content: center;
gap: 28px 44px;
margin: 26px auto 24px;
max-width: 860px;
}
}


.wizlords-race-table ul {
.wizlords-race-link {
margin: 0;
display: block;
padding-left: 20px;
width: 120px;
list-style: disc outside;
text-align: center;
text-decoration: none;
}
}


.wizlords-race-table li {
.wizlords-race-link img {
display: list-item;
display: block;
margin: 0 0 3px;
width: 100px;
list-style: disc outside;
height: 100px;
}
margin: 0 auto 8px;
object-fit: contain;
border: 0;
background: transparent;
transition: transform 120ms ease, filter 120ms ease;
}


.wizlords-race-table li::marker {
.wizlords-race-label,
color: var(--wiz-text, #d2d2d2);
.wizlords-race-label a {
display: block;
color: var(--wiz-link, #ff942d);
font-weight: bold;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-race-table .race-divider td {
.wizlords-race-link:hover img {
height: 8px;
filter: brightness(1.15);
padding: 0;
transform: translateY(-2px);
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important;
background: var(--wiz-race-table-divider-colour);
}
}


/* RACES LANDING PAGE */
.wizlords-race-link:hover .wizlords-race-label,
/* ------------------ */
.wizlords-race-link:hover .wizlords-race-label a {
.wizlords-races-landing {
color: #ffd37a;
max-width: 100%;
text-decoration: none;
}
}


.wizlords-races-landing .race-note {
/* RACE DETAIL PAGES */
margin: 14px 0 18px;
/* ----------------- */
font-style: italic;
.wizlords-race-page {
max-width: 100%;
}
}


.wizlords-races-grid {
.hatnote,
display: flex;
.wizlords-race-page .hatnote {
flex-wrap: wrap;
margin: 4px 0 18px;
justify-content: center;
padding-left: 18px;
gap: 28px 44px;
color: var(--wiz-text, #d2d2d2);
margin: 26px auto 24px;
font-style: italic;
max-width: 860px;
}
}


.wizlords-race-link {
.hatnote a,
display: block;
.wizlords-race-page .hatnote a {
width: 120px;
color: var(--wiz-link, #ff942d);
text-align: center;
text-decoration: none;
text-decoration: none;
}
}


.wizlords-race-link img {
.wizlords-culture-grid {
display: block;
display: grid;
width: 100px;
grid-template-columns: repeat(6, minmax(0, 1fr));
height: 100px;
gap: 14px;
margin: 0 auto 8px;
margin: 18px auto 24px;
object-fit: contain;
border: 0;
background: transparent;
transition: transform 120ms ease, filter 120ms ease;
}
}


.wizlords-race-label,
.wizlords-culture-card {
.wizlords-race-label a {
display: flex;
display: block;
flex-direction: column;
color: var(--wiz-link, #ff942d);
grid-column: span 2;
font-weight: bold;
min-height: 100%;
line-height: 1.3;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
text-decoration: none;
background: #171717;
}
}


.wizlords-race-link:hover img {
.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(1),
filter: brightness(1.15);
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
transform: translateY(-2px);
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
grid-column: 2 / span 2;
}
}


.wizlords-race-link:hover .wizlords-race-label,
.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
.wizlords-race-link:hover .wizlords-race-label a {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
color: #ffd37a;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
text-decoration: none;
grid-column: 4 / span 2;
}
}


/* RACE DETAIL PAGES */
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
/* ----------------- */
grid-column: 2 / span 2;
.wizlords-race-page {
max-width: 100%;
}
}


.wizlords-race-page .hatnote {
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
margin: 4px 0 18px;
grid-column: 4 / span 2;
padding-left: 18px;
}
color: var(--wiz-text, #d2d2d2);
 
font-style: italic;
.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
grid-column: 3 / span 2;
}
}


.toc-page .hatnote {
.wizlords-culture-card-header {
margin: 14px 0 10px;
padding: 16px 12px 12px;
padding-left: 18px;
text-align: center;
color: var(--wiz-text, #d2d2d2);
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
font-style: italic;
}
}


.toc-page .hatnote + h2,
.wizlords-culture-card-header img {
.toc-page .hatnote + .mw-heading2 {
display: block;
margin-top: 12px !important;
width: 250px;
height: 250px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-race-page .hatnote a {
.wizlords-culture-card-title,
.wizlords-culture-card-title a {
color: var(--wiz-link, #ff942d);
color: var(--wiz-link, #ff942d);
font-size: 16px;
font-weight: bold;
line-height: 1.25;
text-decoration: none;
text-decoration: none;
}
}


.toc-page .hatnote a {
.wizlords-culture-card-body {
color: var(--wiz-link, #ff942d);
flex: 1 1 auto;
text-decoration: none;
padding: 12px;
background: #1f1e1e;
}
}


.wizlords-race-intro {
.wizlords-culture-card-body p {
display: flex;
margin: 0 0 12px;
align-items: center;
font-style: italic;
gap: 28px;
line-height: 1.55;
margin: 18px 0 24px;
}
}


.wizlords-race-intro-icon {
.wizlords-culture-separator {
flex: 0 0 auto;
width: 110px;
height: 1px;
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-race-intro-icon img {
.wizlords-shared-classes {
display: block;
display: table;
width: 100px;
width: auto;
height: 100px;
min-width: 330px;
object-fit: contain;
margin: 16px auto 22px;
border: 0;
padding: 10px 28px;
background: transparent;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-race-quote {
.wizlords-shared-classes-title {
position: relative;
margin-bottom: 5px;
margin: 0;
color: var(--wiz-heading-colour, #f2ead7);
padding: 0 34px;
font-weight: bold;
color: var(--wiz-text, #d2d2d2);
text-align: center;
font-size: 16px;
}
font-style: italic;
line-height: 1.6;
}


.wizlords-race-quote::before,
.wizlords-shared-classes ul {
.wizlords-race-quote::after {
display: grid;
position: absolute;
grid-auto-flow: column;
color: #555;
grid-template-rows: repeat(5, auto);
font-size: 42px;
grid-auto-columns: max-content;
line-height: 1;
column-gap: 42px;
width: max-content;
margin: 2px auto 0;
padding-left: 0;
list-style: disc outside;
}
}


.wizlords-race-quote::before {
.wizlords-shared-classes li {
content: "\201C";
display: list-item;
left: 0;
margin: 0 0 3px;
top: -6px;
margin-left: 18px;
break-inside: avoid;
}
}


.wizlords-race-quote::after {
.wizlords-shared-classes.classes-8 ul {
content: "\201D";
grid-template-rows: repeat(4, auto);
right: 0;
bottom: -18px;
}
}


.wizlords-race-quote-source {
.wizlords-shared-classes.classes-9 ul {
margin-top: 8px;
grid-template-rows: repeat(5, auto);
text-align: right;
font-size: 12px;
font-style: normal;
font-weight: bold;
}
}


.wizlords-culture-grid {
.wizlords-shared-classes.classes-4 ul {
display: grid;
grid-template-rows: repeat(4, auto);
grid-template-columns: repeat(6, minmax(0, 1fr));
}
gap: 14px;
 
margin: 18px auto 24px;
.wizlords-shared-classes.classes-9-three ul {
grid-template-rows: repeat(3, auto);
}
}


.wizlords-culture-card {
.wizlords-class-compare {
display: flex;
display: flex;
flex-direction: column;
justify-content: center;
grid-column: span 2;
align-items: stretch;
min-height: 100%;
gap: 12px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
margin: 16px auto 22px;
background: #171717;
}
}


.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(1),
.wizlords-class-compare .wizlords-shared-classes {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
margin: 0;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
min-width: 0;
grid-column: 2 / span 2;
}
}


.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
.wizlords-shared-classes a {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
color: var(--wiz-link, #ff942d);
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
text-decoration: none;
grid-column: 4 / span 2;
}
}


.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
.wizlords-shared-classes a:hover {
grid-column: 2 / span 2;
color: #ffd37a;
text-decoration: none;
}
}


.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
.wizlords-culture-classes {
grid-column: 4 / span 2;
margin-top: 12px;
font-weight: bold;
}
}


.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
.wizlords-culture-known-for,
grid-column: 3 / span 2;
.wizlords-culture-suggested-class {
margin-top: 10px;
line-height: 1.45;
}
}


.wizlords-culture-card-header {
.wizlords-culture-suggested-class a {
padding: 16px 12px 12px;
color: var(--wiz-link, #ff942d);
text-align: center;
text-decoration: none;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
}
}


.wizlords-culture-card-header img {
.wizlords-culture-class-note {
display: block;
margin-top: 6px;
width: 250px;
line-height: 1.45;
height: 250px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-culture-card-title,
.wizlords-culture-card-body ul {
.wizlords-culture-card-title a {
margin: 4px 0 0;
padding-left: 28px;
list-style: disc outside;
}
 
.wizlords-culture-card-body li {
display: list-item;
margin: 0 0 3px;
}
 
.wizlords-culture-card-body a,
.wizlords-culture-row-classes a {
color: var(--wiz-link, #ff942d);
color: var(--wiz-link, #ff942d);
font-size: 16px;
font-weight: bold;
line-height: 1.25;
text-decoration: none;
text-decoration: none;
}
}


.wizlords-culture-card-body {
.wizlords-culture-card-body a:hover,
flex: 1 1 auto;
.wizlords-culture-row-classes a:hover {
padding: 12px;
color: #ffd37a;
background: #1f1e1e;
text-decoration: none;
}
}


.wizlords-culture-card-body p {
.wizlords-culture-list {
margin: 0 0 12px;
margin: 18px 0 24px;
font-style: italic;
line-height: 1.55;
}
}


.wizlords-culture-separator {
.wizlords-culture-row {
width: 110px;
padding: 20px 0 24px;
height: 1px;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-shared-classes {
.wizlords-culture-row-feature {
display: table;
display: grid;
width: auto;
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
min-width: 330px;
align-items: center;
margin: 16px auto 22px;
gap: 22px;
padding: 10px 28px;
margin: 10px 0 18px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-shared-classes-title {
.wizlords-culture-row-icon img {
margin-bottom: 5px;
display: block;
color: var(--wiz-heading-colour, #f2ead7);
width: 150px;
font-weight: bold;
height: 150px;
text-align: center;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-shared-classes ul {
.wizlords-culture-row-divider {
display: grid;
width: 1px;
grid-auto-flow: column;
height: 150px;
grid-template-rows: repeat(5, auto);
background: var(--wiz-race-table-border-colour, #4d4d4d);
grid-auto-columns: max-content;
column-gap: 42px;
width: max-content;
margin: 2px auto 0;
padding-left: 0;
list-style: disc outside;
}
}


.wizlords-shared-classes li {
.wizlords-culture-row-title,
display: list-item;
.wizlords-culture-row-title a {
margin: 0 0 3px;
color: var(--wiz-heading, #e7e1d4);
margin-left: 18px;
font-size: 18px;
break-inside: avoid;
font-weight: bold;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-shared-classes.classes-8 ul {
.wizlords-culture-row-description {
grid-template-rows: repeat(4, auto);
position: relative;
margin: 0;
padding: 0 34px;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-shared-classes.classes-9 ul {
.wizlords-culture-row-description::before,
grid-template-rows: repeat(5, auto);
.wizlords-culture-row-description::after {
}
position: absolute;
 
color: #555;
.wizlords-shared-classes.classes-4 ul {
font-size: 42px;
grid-template-rows: repeat(4, auto);
line-height: 1;
}
}


.wizlords-shared-classes.classes-9-three ul {
.wizlords-culture-row-description::before {
grid-template-rows: repeat(3, auto);
content: "\201C";
left: 0;
top: -6px;
}
}


.wizlords-class-compare {
.wizlords-culture-row-description::after {
display: flex;
content: "\201D";
justify-content: center;
right: 0;
align-items: stretch;
bottom: -18px;
gap: 12px;
margin: 16px auto 22px;
}
}


.wizlords-class-compare .wizlords-shared-classes {
.wizlords-culture-appearance {
margin: 0;
box-sizing: border-box;
min-width: 0;
width: 300px;
padding: 4px;
border: 1px solid var(--wiz-race-table-divider-colour, #9d7531);
background: #171717;
}
}


.wizlords-shared-classes a {
.wizlords-culture-appearance img {
color: var(--wiz-link, #ff942d);
display: block;
text-decoration: none;
width: 300px;
height: 138px;
object-fit: cover;
border: 0;
background: transparent;
}
}


.wizlords-shared-classes a:hover {
.wizlords-culture-appearance-caption {
color: #ffd37a;
margin-top: 4px;
text-decoration: none;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-culture-classes {
.wizlords-page-image {
margin-top: 12px;
box-sizing: border-box;
font-weight: bold;
width: min(450px, 100%);
padding: 6px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #171717;
}
}


.wizlords-culture-known-for,
.wizlords-page-image p {
.wizlords-culture-suggested-class {
margin: 0;
margin-top: 10px;
padding: 0;
line-height: 1.45;
}
}


.wizlords-culture-suggested-class a {
.wizlords-page-image span,
color: var(--wiz-link, #ff942d);
.wizlords-page-image a {
text-decoration: none;
display: block;
}
}


.wizlords-culture-class-note {
.wizlords-page-image.right {
margin-top: 6px;
float: right;
line-height: 1.45;
margin: 0 0 16px 24px;
}
}


.wizlords-culture-card-body ul {
.wizlords-page-image.left {
margin: 4px 0 0;
float: left;
padding-left: 28px;
margin: 0 24px 16px 0;
list-style: disc outside;
}
}


.wizlords-culture-card-body li {
.wizlords-page-image img {
display: list-item;
display: block;
margin: 0 0 3px;
box-sizing: border-box;
width: 100%;
aspect-ratio: 2 / 1;
height: auto;
object-fit: cover;
border: 1px solid var(--wiz-content-border, #ff942d);
background: transparent;
}
}


.wizlords-culture-card-body a,
.wizlords-page-image-caption {
.wizlords-culture-row-classes a {
margin-top: 7px;
color: var(--wiz-link, #ff942d);
padding: 0 4px;
text-decoration: none;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-culture-card-body a:hover,
.wizlords-culture-row-classes {
.wizlords-culture-row-classes a:hover {
color: var(--wiz-text, #d2d2d2);
color: #ffd37a;
font-size: 14px;
text-decoration: none;
}
}


.wizlords-culture-list {
.wizlords-culture-class-list {
margin: 18px 0 24px;
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(130px, max-content);
grid-template-rows: repeat(4, auto);
gap: 4px 18px;
margin: 6px 0 0;
padding-left: 28px;
list-style: disc outside;
}
}


.wizlords-culture-row {
.wizlords-culture-class-list li {
padding: 20px 0 24px;
display: list-item;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
margin: 0;
padding: 0;
}
}


.wizlords-culture-row-feature {
.wizlords-culture-class-list li::marker {
display: grid;
color: var(--wiz-text, #d2d2d2);
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
align-items: center;
gap: 22px;
margin: 10px 0 18px;
}
}


.wizlords-culture-row-icon img {
/* Tablet and small-desktop layouts use a three-column grid. */
display: block;
@media (min-width: 600px) and (max-width: 1199px) {
width: 150px;
.wiz-grid {
height: 150px;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
object-fit: contain;
}
border: 0;
}
background: transparent;
 
/* Phone layout uses two columns. */
@media (max-width: 599px) {
.wiz-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
}


.wizlords-culture-row-divider {
/* CLASS OVERVIEW PAGE */
width: 1px;
/* ------------------- */
height: 150px;
.wizlords-classes-page {
background: var(--wiz-race-table-border-colour, #4d4d4d);
max-width: 100%;
}
}


.wizlords-culture-row-title,
.wizlords-classes-page ul {
.wizlords-culture-row-title a {
list-style: disc outside;
color: var(--wiz-heading, #e7e1d4);
padding-left: 28px;
font-size: 18px;
font-weight: bold;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-culture-row-description {
.wizlords-classes-page li {
position: relative;
display: list-item;
margin: 0;
padding: 0 34px;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-culture-row-description::before,
.wizlords-class-category-table {
.wizlords-culture-row-description::after {
width: 100%;
position: absolute;
min-width: 0;
color: #555;
max-width: 640px;
font-size: 42px;
margin: 18px auto 24px;
line-height: 1;
border: 0 !important;
background: #171717;
color: var(--wiz-text, #d2d2d2);
border-collapse: collapse;
table-layout: fixed;
}
}


.wizlords-culture-row-description::before {
.wizlords-class-category-table th,
content: "\201C";
.wizlords-class-category-table td {
left: 0;
box-sizing: border-box;
top: -6px;
width: 33.333%;
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
vertical-align: top;
}
}


.wizlords-culture-row-description::after {
.wizlords-class-category-table th {
content: "\201D";
padding: 8px 18px !important;
right: 0;
background: #1f1e1e !important;
bottom: -18px;
color: var(--wiz-heading, #e7e1d4) !important;
font-size: 18px;
text-align: center;
}
}


.wizlords-culture-appearance {
.wizlords-class-category-icon {
box-sizing: border-box;
margin: 0 0 6px;
width: 300px;
text-align: center;
padding: 4px;
border: 1px solid var(--wiz-race-table-divider-colour, #9d7531);
background: #171717;
}
}


.wizlords-culture-appearance img {
.wizlords-class-category-icon img {
display: block;
display: inline-block;
width: 300px;
width: 110px;
height: 138px;
height: 110px;
object-fit: cover;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-culture-appearance-caption {
.wizlords-class-category-table td {
margin-top: 4px;
padding: 8px 18px 10px 12px !important;
color: var(--wiz-text, #d2d2d2);
background: #171717 !important;
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-page-image {
.wizlords-class-category-table tr:first-child {
box-sizing: border-box;
border-bottom: 0;
width: min(450px, 100%);
padding: 6px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #171717;
}
}


.wizlords-page-image p {
.wizlords-class-category-table ul {
margin: 0;
margin: 0;
padding: 0;
padding-left: 22px;
list-style: disc outside;
}
}


.wizlords-page-image span,
.wizlords-class-category-table li {
.wizlords-page-image a {
display: list-item;
display: block;
margin: 0 0 3px;
}
}


.wizlords-page-image.right {
.wizlords-class-category-name {
float: right;
color: var(--wiz-link, #ff942d);
margin: 0 0 16px 24px;
font-weight: bold;
}
}


.wizlords-page-image.left {
.wizlords-class-category-table a,
float: left;
.wizlords-class-card a {
margin: 0 24px 16px 0;
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
}


.wizlords-page-image img {
.wizlords-class-category-mobile {
display: block;
display: none;
box-sizing: border-box;
}
width: 100%;
aspect-ratio: 2 / 1;
height: auto;
object-fit: cover;
border: 1px solid var(--wiz-content-border, #ff942d);
background: transparent;
}


.wizlords-page-image-caption {
/* Very narrow phones: use explicit paired category rows instead of trying to
margin-top: 7px;
  re-map MediaWiki's desktop table, whose headers and lists are rendered in
padding: 0 4px;
  separate table rows. This avoids horizontal scroll and keeps each category
color: var(--wiz-text, #d2d2d2);
  as icon/name on the left and class list on the right. */
font-size: 12px;
@media (max-width: 490px) {
line-height: 1.3;
.wizlords-class-category-table {
}
display: none !important;
}


.wizlords-culture-row-classes {
.wizlords-class-category-mobile {
color: var(--wiz-text, #d2d2d2);
display: block;
font-size: 14px;
width: 100%;
}
max-width: 420px;
 
margin: 18px auto 24px;
.wizlords-culture-class-list {
border: 0 !important;
display: grid;
overflow: visible;
grid-auto-flow: column;
background: #171717;
grid-auto-columns: minmax(130px, max-content);
color: var(--wiz-text, #d2d2d2);
grid-template-rows: repeat(4, auto);
}
gap: 4px 18px;
margin: 6px 0 0;
padding-left: 28px;
list-style: disc outside;
}


.wizlords-culture-class-list li {
.wizlords-class-category-mobile-row {
display: list-item;
display: grid;
margin: 0;
grid-template-columns: 44% 56%;
padding: 0;
align-items: stretch;
}
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-bottom: 0;
}


.wizlords-culture-class-list li::marker {
.wizlords-class-category-mobile-row:last-child {
color: var(--wiz-text, #d2d2d2);
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
}
 
/* Tablet and small-desktop layouts use a three-column grid. */
@media (min-width: 600px) and (max-width: 1199px) {
.wiz-grid {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
}


/* Phone layout uses two columns. */
.wizlords-class-category-mobile-heading {
@media (max-width: 599px) {
box-sizing: border-box;
.wiz-grid {
padding: 8px 8px !important;
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
border-right: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
color: var(--wiz-heading, #e7e1d4);
font-size: 16px;
font-weight: bold;
text-align: center;
}
}
}


/* CLASS OVERVIEW PAGE */
.wizlords-class-category-mobile-list {
/* ------------------- */
box-sizing: border-box;
.wizlords-classes-page {
display: flex;
max-width: 100%;
align-items: center;
}
padding: 8px 10px !important;
background: #171717;
}


.wizlords-classes-page ul {
.wizlords-class-category-mobile .wizlords-class-category-icon {
list-style: disc outside;
margin-bottom: 4px;
padding-left: 28px;
}
}


.wizlords-classes-page li {
.wizlords-class-category-mobile .wizlords-class-category-icon img {
display: list-item;
width: 64px;
height: auto;
max-width: 100%;
}
 
.wizlords-class-category-mobile ul {
margin: 0;
padding-left: 18px;
list-style: disc outside;
}
 
.wizlords-class-category-mobile li {
display: list-item;
margin: 0 0 3px;
}
}
 
.wizlords-class-card-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 14px;
margin: 16px auto 24px;
}
}


.wizlords-class-category-table {
.wizlords-class-card {
width: 100%;
grid-column: span 2;
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
max-width: 640px;
margin: 18px auto 24px;
border: 0 !important;
background: #171717;
background: #171717;
color: var(--wiz-text, #d2d2d2);
display: flex;
border-collapse: collapse;
flex-direction: column;
table-layout: fixed;
scroll-margin-top: 90px;
}
}


.wizlords-class-category-table th,
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
.wizlords-class-category-table td {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
box-sizing: border-box;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
width: 33.333%;
grid-column: 2 / span 2;
min-width: 0;
}
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
 
vertical-align: top;
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4) {
grid-column: 4 / span 2;
}
}


.wizlords-class-category-table th {
.wizlords-class-card-title {
padding: 8px 18px !important;
padding: 0 12px 10px;
background: #1f1e1e !important;
color: var(--wiz-link, #ff942d);
color: var(--wiz-heading, #e7e1d4) !important;
font-weight: bold;
font-size: 18px;
font-size: 18px;
line-height: 1.25;
text-align: center;
text-align: center;
}
}


.wizlords-class-category-icon {
.wizlords-class-card-icon {
margin: 0 0 6px;
padding: 18px 12px 8px;
text-align: center;
text-align: center;
}
}


.wizlords-class-category-icon img {
.wizlords-class-card-icon img {
display: inline-block;
display: inline-block;
width: 110px;
width: 250px;
height: 110px;
height: 250px;
object-fit: contain;
object-fit: contain;
}
}


.wizlords-class-category-table td {
.wizlords-class-card-body {
padding: 8px 18px 10px 12px !important;
padding: 12px;
background: #171717 !important;
background: #1f1e1e;
line-height: 1.5;
flex: 1 1 auto;
}
}


.wizlords-class-category-table tr:first-child {
.wizlords-class-card-summary {
border-bottom: 0;
font-style: italic;
}
}


.wizlords-class-category-table ul {
.wizlords-class-card-divider {
margin: 0;
width: 55%;
padding-left: 22px;
height: 1px;
list-style: disc outside;
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-class-category-table li {
.wizlords-class-card-rules {
display: list-item;
color: var(--wiz-text, #d2d2d2);
margin: 0 0 3px;
}
}


.wizlords-class-category-name {
.wizlords-class-card-rules div {
color: var(--wiz-link, #ff942d);
margin: 0 0 4px;
font-weight: bold;
}
}


.wizlords-class-category-table a,
.wizlords-class-category-accordion {
.wizlords-class-card a {
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
color: var(--wiz-link, #ff942d);
margin: 5px 0 14px;
text-decoration: none;
}
 
.wizlords-class-category-accordion-martial {
--wiz-class-category-accent: #9d7531;
}
}


.wizlords-class-category-mobile {
.wizlords-class-category-accordion-arcane {
display: none;
--wiz-class-category-accent: #d66be3;
}
}


/* Very narrow phones: use explicit paired category rows instead of trying to
.wizlords-class-category-accordion-divine {
  re-map MediaWiki's desktop table, whose headers and lists are rendered in
--wiz-class-category-accent: #19c4eb;
  separate table rows. This avoids horizontal scroll and keeps each category
}
  as icon/name on the left and class list on the right. */
@media (max-width: 490px) {
.wizlords-class-category-table {
display: none !important;
}


.wizlords-class-category-mobile {
.wizlords-class-category-accordion-heading {
display: block;
display: flex;
width: 100%;
align-items: center;
max-width: 420px;
gap: 8px;
margin: 18px auto 24px;
margin: 0 0 4px;
border: 0 !important;
padding-top: 4px;
overflow: visible;
padding-bottom: 2px;
background: #171717;
border-bottom: 0;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-heading, #e7e1d4);
}
font-size: 18px;
font-weight: bold;
line-height: 24px;
}


.wizlords-class-category-mobile-row {
.wizlords-class-category-accordion .wizlords-class-card-grid {
display: grid;
margin-top: 4px;
grid-template-columns: 44% 56%;
margin-bottom: 12px;
align-items: stretch;
}
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-bottom: 0;
}


.wizlords-class-category-mobile-row:last-child {
.wizlords-class-category-accordion-title {
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
color: var(--wiz-heading, #e7e1d4);
}
}


.wizlords-class-category-mobile-heading {
.wizlords-class-category-accordion-icon {
box-sizing: border-box;
display: inline-flex;
padding: 8px 8px !important;
align-items: center;
border-right: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
justify-content: center;
background: #1f1e1e;
width: 30px;
color: var(--wiz-heading, #e7e1d4);
height: 30px;
font-size: 16px;
vertical-align: middle;
font-weight: bold;
line-height: 1;
text-align: center;
}
}


.wizlords-class-category-mobile-list {
.wizlords-class-category-accordion-icon span,
box-sizing: border-box;
.wizlords-class-category-accordion-icon a {
display: flex;
display: inline-flex;
align-items: center;
align-items: center;
padding: 8px 10px !important;
justify-content: center;
background: #171717;
width: 100%;
}
height: 100%;
line-height: 1;
}


.wizlords-class-category-mobile .wizlords-class-category-icon {
.wizlords-class-category-accordion-icon img {
margin-bottom: 4px;
display: block;
}
width: 28px !important;
height: 28px !important;
max-width: 28px !important;
max-height: 28px !important;
object-fit: contain;
}


.wizlords-class-category-mobile .wizlords-class-category-icon img {
.wizlords-class-category-accordion-body {
width: 64px;
display: block;
height: auto;
}
max-width: 100%;
}


.wizlords-class-category-mobile ul {
/* MAGIC PAGE */
margin: 0;
/* ---------- */
padding-left: 18px;
.wizlords-magic-used-by {
list-style: disc outside;
margin: 4px 0 14px;
}
padding-left: 18px;
 
color: var(--wiz-text, #d2d2d2);
.wizlords-class-category-mobile li {
font-style: italic;
display: list-item;
margin: 0 0 3px;
}
}
}


.wizlords-class-card-grid {
.wizlords-magic-intro {
display: grid;
display: flex;
grid-template-columns: repeat(6, minmax(0, 1fr));
align-items: center;
gap: 14px;
gap: 22px;
margin: 16px auto 24px;
margin: 12px 0 18px;
}
}


.wizlords-class-card {
.wizlords-magic-intro-icon {
grid-column: span 2;
flex: 0 0 auto;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
display: flex;
flex-direction: column;
scroll-margin-top: 90px;
}
}


.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
.wizlords-magic-intro-icon img {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
display: block;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
width: 100px;
grid-column: 2 / span 2;
height: 100px;
object-fit: contain;
}
}


.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
.wizlords-magic-quote {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
padding-left: 20px;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4) {
border-left: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
grid-column: 4 / span 2;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
line-height: 1.55;
}
}


.wizlords-class-card-title {
.wizlords-section-divider {
padding: 0 12px 10px;
width: 55%;
color: var(--wiz-link, #ff942d);
height: 1px;
font-weight: bold;
margin: 22px auto 18px;
font-size: 18px;
background: var(--wiz-race-table-divider-colour, #9d7531);
line-height: 1.25;
text-align: center;
}
}


.wizlords-class-card-icon {
/* SHARED STANDARD TABLE
padding: 18px 12px 8px;
  ---------------------
text-align: center;
  Opt-in colour and border treatment for ordinary custom wiki tables.
  Add "wizlords-table" beside "wikitable" instead of overriding every
  MediaWiki-generated wikitable. Component-specific classes continue to own
  specialised widths, alignment, captions, and collapsible behaviour. */
.wikitable.wizlords-table,
.wizlords-table {
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
border-collapse: collapse;
background: #171717 !important;
color: var(--wiz-text, #d2d2d2) !important;
}
}


.wizlords-class-card-icon img {
.wikitable.wizlords-table th,
display: inline-block;
.wikitable.wizlords-table td,
width: 250px;
.wizlords-table th,
height: 250px;
.wizlords-table td {
object-fit: contain;
padding: 8px 12px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
background: #171717 !important;
color: var(--wiz-text, #d2d2d2) !important;
}
}


.wizlords-class-card-body {
.wikitable.wizlords-table th,
padding: 12px;
.wizlords-table th {
background: #1f1e1e;
background: #1f1e1e !important;
line-height: 1.5;
color: var(--wiz-heading, #e7e1d4) !important;
flex: 1 1 auto;
}
}


.wizlords-class-card-summary {
.wikitable.wizlords-magic-table,
font-style: italic;
.wizlords-magic-table {
width: auto;
min-width: 520px;
max-width: 680px;
margin: 16px 0 18px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
border-collapse: collapse;
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-class-card-divider {
.wikitable.wizlords-example-table,
width: 55%;
.wizlords-example-table {
height: 1px;
width: 100%;
margin: 14px auto 12px;
max-width: 600px;
background: var(--wiz-race-table-divider-colour, #9d7531);
margin-left: 0;
margin-right: auto;
}
}


.wizlords-class-card-rules {
.wikitable.wizlords-example-table-full-heal,
color: var(--wiz-text, #d2d2d2);
.wizlords-example-table-full-heal {
max-width: 500px;
}
}


.wizlords-class-card-rules div {
.wikitable.wizlords-example-table-full-heal th:first-child,
margin: 0 0 4px;
.wikitable.wizlords-example-table-full-heal td:first-child,
.wizlords-example-table-full-heal th:first-child,
.wizlords-example-table-full-heal td:first-child {
width: 34%;
}
}


.wizlords-class-category-accordion {
.wikitable.wizlords-example-table-full-heal th:nth-child(2),
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
.wikitable.wizlords-example-table-full-heal td:nth-child(2),
margin: 20px 0 26px;
.wizlords-example-table-full-heal th:nth-child(2),
.wizlords-example-table-full-heal td:nth-child(2) {
width: 66%;
}
}


.wizlords-class-category-accordion-martial {
.wikitable.wizlords-magic-table th,
--wiz-class-category-accent: #9d7531;
.wikitable.wizlords-magic-table td,
.wizlords-magic-table th,
.wizlords-magic-table td {
padding: 8px 18px !important;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
background: #171717 !important;
}
}


.wizlords-class-category-accordion-arcane {
.wikitable.wizlords-magic-table th,
--wiz-class-category-accent: #d66be3;
.wizlords-magic-table th {
background: #1f1e1e !important;
color: var(--wiz-heading, #e7e1d4) !important;
text-align: center;
}
}


.wizlords-class-category-accordion-divine {
.wikitable.wizlords-reward-table,
--wiz-class-category-accent: #19c4eb;
.wizlords-reward-table {
min-width: 0;
max-width: none;
width: auto;
margin-left: 0;
margin-right: auto;
border: 0 !important;
border-radius: 0;
box-shadow: none;
outline: 0;
}
}


.wizlords-class-category-accordion-heading {
.wikitable.wizlords-reward-table th,
display: flex;
.wikitable.wizlords-reward-table td,
align-items: center;
.wizlords-reward-table th,
gap: 8px;
.wizlords-reward-table td {
margin: 20px 0 12px;
white-space: nowrap;
padding-bottom: 6px;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
color: var(--wiz-heading, #e7e1d4);
font-size: 22px;
font-weight: bold;
line-height: 1.3;
}
}


.wizlords-class-category-accordion-title {
.wikitable.wizlords-reward-table th:nth-child(2),
color: var(--wiz-heading, #e7e1d4);
.wikitable.wizlords-reward-table td:nth-child(2),
.wizlords-reward-table th:nth-child(2),
.wizlords-reward-table td:nth-child(2) {
text-align: center;
}
}


.wizlords-class-category-accordion-icon {
@media (max-width: 899px) {
display: flex;
.wikitable.wizlords-reward-table,
align-items: center;
.wizlords-reward-table {
justify-content: center;
margin-left: auto;
width: 30px;
margin-right: auto;
height: 30px;
}
}
}


.wizlords-class-category-accordion-icon img {
.wikitable.wizlords-example-table caption,
display: block;
.wizlords-example-table caption {
width: 28px !important;
color: var(--wiz-heading, #e7e1d4);
height: 28px !important;
font-weight: bold;
max-width: 28px !important;
text-align: center;
max-height: 28px !important;
object-fit: contain;
}
}


.wizlords-class-category-accordion-body {
.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
display: block;
.wizlords-example-table caption .mw-collapsible-toggle {
color: var(--wiz-text, #d2d2d2) !important;
}
}


/* MAGIC PAGE */
.wikitable.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
/* ---------- */
.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-magic-used-by {
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a,
margin: 4px 0 14px;
.wizlords-example-table caption .mw-collapsible-toggle a {
padding-left: 18px;
color: var(--wiz-link, #ff942d) !important;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
}
}


.wizlords-magic-intro {
.wikitable.wizlords-example-table th,
display: flex;
.wikitable.wizlords-example-table td,
align-items: center;
.wizlords-example-table th,
gap: 22px;
.wizlords-example-table td {
margin: 12px 0 18px;
text-align: center;
}
}


.wizlords-magic-intro-icon {
@media (max-width: 899px) {
flex: 0 0 auto;
.wikitable.wizlords-example-table,
}
.wizlords-example-table {
min-width: 0;
width: 100%;
box-sizing: border-box;
table-layout: fixed;
max-width: 600px;
margin: 14px auto 18px;
border: 0 !important;
border-radius: 0;
}


.wizlords-magic-intro-icon img {
.wikitable.wizlords-example-table-full-heal,
display: block;
.wizlords-example-table-full-heal {
width: 100px;
max-width: 500px;
height: 100px;
}
object-fit: contain;
}


.wizlords-magic-quote {
.wikitable.wizlords-example-table.mw-collapsed,
padding-left: 20px;
.wizlords-example-table.mw-collapsed {
border-left: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: transparent !important;
color: var(--wiz-text, #d2d2d2);
}
font-style: italic;
line-height: 1.55;
}


.wizlords-section-divider {
.wikitable.wizlords-example-table caption,
width: 55%;
.wizlords-example-table caption {
height: 1px;
display: table-caption !important;
margin: 22px auto 18px;
caption-side: top;
background: var(--wiz-race-table-divider-colour, #9d7531);
width: auto;
}
max-width: none;
box-sizing: border-box;
padding: 0;
margin: 0 0 6px;
border: 0 !important;
background: transparent !important;
white-space: nowrap;
text-align: center !important;
cursor: pointer;
}


.wikitable.wizlords-magic-table,
.wikitable.wizlords-example-table.mw-collapsed caption::before,
.wizlords-magic-table {
.wizlords-example-table.mw-collapsed caption::before {
width: auto;
content: "";
min-width: 520px;
display: inline-block;
max-width: 680px;
width: 8px;
margin: 16px 0 18px;
height: 8px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
margin-right: 0.35em;
border-collapse: collapse;
border-right: 2px solid currentColor;
background: #171717;
border-bottom: 2px solid currentColor;
color: var(--wiz-text, #d2d2d2);
transform: translateY(-25%) rotate(45deg);
}
transform-origin: 50% 50%;
}


.wikitable.wizlords-example-table,
.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before,
.wizlords-example-table {
.wizlords-example-table:not(.mw-collapsed) caption::before {
width: 100%;
content: "";
max-width: 600px;
display: inline-block;
margin-left: 0;
width: 8px;
margin-right: auto;
height: 8px;
}
margin-right: 0.35em;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: translateY(10%) rotate(225deg);
transform-origin: 50% 50%;
}
 
.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wizlords-example-table caption .mw-collapsible-toggle {
display: none !important;
}


.wikitable.wizlords-example-table-full-heal,
.wikitable.wizlords-example-table th,
.wizlords-example-table-full-heal {
.wikitable.wizlords-example-table td,
max-width: 500px;
.wizlords-example-table th,
.wizlords-example-table td {
box-sizing: border-box;
padding: 8px 6px !important;
white-space: normal;
overflow-wrap: anywhere;
word-break: normal;
}
}
}


.wikitable.wizlords-example-table-full-heal th:first-child,
@media (max-width: 599px) {
.wikitable.wizlords-example-table-full-heal td:first-child,
.wikitable.wizlords-example-table th,
.wizlords-example-table-full-heal th:first-child,
.wikitable.wizlords-example-table td,
.wizlords-example-table-full-heal td:first-child {
.wizlords-example-table th,
width: 34%;
.wizlords-example-table td {
font-size: 13px;
line-height: 1.35;
}
}
}


.wikitable.wizlords-example-table-full-heal th:nth-child(2),
.wikitable.wizlords-reputation-table,
.wikitable.wizlords-example-table-full-heal td:nth-child(2),
.wizlords-reputation-table {
.wizlords-example-table-full-heal th:nth-child(2),
width: 100%;
.wizlords-example-table-full-heal td:nth-child(2) {
max-width: none;
width: 66%;
}
}


.wikitable.wizlords-magic-table th,
.wikitable.wizlords-reputation-table.mw-collapsed,
.wikitable.wizlords-magic-table td,
.wizlords-reputation-table.mw-collapsed {
.wizlords-magic-table th,
width: 520px;
.wizlords-magic-table td {
min-width: 520px;
padding: 8px 18px !important;
max-width: 100%;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
background: #171717 !important;
}
}


.wikitable.wizlords-magic-table th,
.wikitable.wizlords-reputation-table caption,
.wizlords-magic-table th {
.wizlords-reputation-table caption {
background: #1f1e1e !important;
white-space: nowrap;
color: var(--wiz-heading, #e7e1d4) !important;
text-align: center;
}
}


.wikitable.wizlords-reward-table,
.wikitable.wizlords-reputation-table th:nth-child(1),
.wizlords-reward-table {
.wikitable.wizlords-reputation-table td:nth-child(1),
min-width: 0;
.wikitable.wizlords-reputation-table th:nth-child(2),
max-width: none;
.wikitable.wizlords-reputation-table td:nth-child(2),
width: auto;
.wizlords-reputation-table th:nth-child(1),
margin-left: 0;
.wizlords-reputation-table td:nth-child(1),
margin-right: auto;
.wizlords-reputation-table th:nth-child(2),
border: 0 !important;
.wizlords-reputation-table td:nth-child(2) {
border-radius: 0;
width: 120px;
box-shadow: none;
white-space: nowrap;
outline: 0;
}
}


.wikitable.wizlords-reward-table th,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wikitable.wizlords-reward-table td,
.wikitable.wizlords-reputation-table td:nth-child(3),
.wizlords-reward-table th,
.wizlords-reputation-table th:nth-child(3),
.wizlords-reward-table td {
.wizlords-reputation-table td:nth-child(3) {
white-space: nowrap;
text-align: left;
}
}


.wikitable.wizlords-reward-table th:nth-child(2),
.wikitable.wizlords-reputation-table th:nth-child(3),
.wikitable.wizlords-reward-table td:nth-child(2),
.wizlords-reputation-table th:nth-child(3) {
.wizlords-reward-table th:nth-child(2),
.wizlords-reward-table td:nth-child(2) {
text-align: center;
text-align: center;
}
}


@media (max-width: 899px) {
@media (max-width: 899px) {
.wikitable.wizlords-reward-table,
.wikitable.wizlords-reputation-table,
.wizlords-reward-table {
.wizlords-reputation-table {
width: 100%;
min-width: 0;
max-width: 680px;
margin-right: auto;
margin-left: auto;
margin-left: auto;
margin-right: auto;
table-layout: fixed;
}
 
.wikitable.wizlords-reputation-table th,
.wikitable.wizlords-reputation-table td,
.wizlords-reputation-table th,
.wizlords-reputation-table td {
padding: 8px 6px !important;
white-space: normal !important;
overflow-wrap: normal !important;
word-break: normal !important;
hyphens: none;
}
 
.wikitable.wizlords-reputation-table th:nth-child(1),
.wikitable.wizlords-reputation-table td:nth-child(1),
.wizlords-reputation-table th:nth-child(1),
.wizlords-reputation-table td:nth-child(1) {
width: 22%;
text-align: center;
}
}
}


.wikitable.wizlords-example-table caption,
.wikitable.wizlords-reputation-table th:nth-child(2),
.wizlords-example-table caption {
.wikitable.wizlords-reputation-table td:nth-child(2),
color: var(--wiz-heading, #e7e1d4);
.wizlords-reputation-table th:nth-child(2),
font-weight: bold;
.wizlords-reputation-table td:nth-child(2) {
text-align: center;
width: 26%;
}
text-align: center;
}


.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table caption .mw-collapsible-toggle {
.wikitable.wizlords-reputation-table td:nth-child(3),
color: var(--wiz-text, #d2d2d2) !important;
.wizlords-reputation-table th:nth-child(3),
}
.wizlords-reputation-table td:nth-child(3) {
width: 52%;
text-align: left;
}


.wikitable.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-reputation-table th:nth-child(3) {
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a,
text-align: center;
.wizlords-example-table caption .mw-collapsible-toggle a {
}
color: var(--wiz-link, #ff942d) !important;
}
}


.wikitable.wizlords-example-table th,
@media (max-width: 380px) {
.wikitable.wizlords-example-table td,
.wikitable.wizlords-reputation-table th,
.wizlords-example-table th,
.wikitable.wizlords-reputation-table td,
.wizlords-example-table td {
.wizlords-reputation-table th,
text-align: center;
.wizlords-reputation-table td {
}
padding: 7px 5px !important;
font-size: 12px;
line-height: 1.35;
}


@media (max-width: 899px) {
.wikitable.wizlords-reputation-table th:nth-child(1),
.wikitable.wizlords-example-table,
.wikitable.wizlords-reputation-table td:nth-child(1),
.wizlords-example-table {
.wizlords-reputation-table th:nth-child(1),
min-width: 0;
.wizlords-reputation-table td:nth-child(1) {
width: 100%;
width: 21%;
box-sizing: border-box;
}
table-layout: fixed;
 
max-width: 600px;
.wikitable.wizlords-reputation-table th:nth-child(2),
margin: 14px auto 18px;
.wikitable.wizlords-reputation-table td:nth-child(2),
border: 0 !important;
.wizlords-reputation-table th:nth-child(2),
border-radius: 0;
.wizlords-reputation-table td:nth-child(2) {
width: 25%;
}
}


.wikitable.wizlords-example-table-full-heal,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table-full-heal {
.wikitable.wizlords-reputation-table td:nth-child(3),
max-width: 500px;
.wizlords-reputation-table th:nth-child(3),
.wizlords-reputation-table td:nth-child(3) {
width: 54%;
}
}
}


.wikitable.wizlords-example-table.mw-collapsed,
@media (min-width: 600px) and (max-width: 899px) {
.wizlords-example-table.mw-collapsed {
.wikitable.wizlords-reputation-table th:nth-child(1),
background: transparent !important;
.wikitable.wizlords-reputation-table td:nth-child(1),
.wizlords-reputation-table th:nth-child(1),
.wizlords-reputation-table td:nth-child(1) {
width: 18%;
}
}


.wikitable.wizlords-example-table caption,
.wikitable.wizlords-reputation-table th:nth-child(2),
.wizlords-example-table caption {
.wikitable.wizlords-reputation-table td:nth-child(2),
display: table-caption !important;
.wizlords-reputation-table th:nth-child(2),
caption-side: top;
.wizlords-reputation-table td:nth-child(2) {
width: auto;
width: 22%;
max-width: none;
box-sizing: border-box;
padding: 0;
margin: 0 0 6px;
border: 0 !important;
background: transparent !important;
white-space: nowrap;
text-align: center !important;
cursor: pointer;
}
}


.wikitable.wizlords-example-table.mw-collapsed caption::before,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table.mw-collapsed caption::before {
.wikitable.wizlords-reputation-table td:nth-child(3),
content: "";
.wizlords-reputation-table th:nth-child(3),
display: inline-block;
.wizlords-reputation-table td:nth-child(3) {
width: 8px;
width: 60%;
height: 8px;
margin-right: 0.35em;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: translateY(-25%) rotate(45deg);
transform-origin: 50% 50%;
}
}
}


.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before,
.wizlords-indented-note {
.wizlords-example-table:not(.mw-collapsed) caption::before {
margin: 8px 0 14px 28px;
content: "";
color: var(--wiz-text, #d2d2d2);
display: inline-block;
}
width: 8px;
height: 8px;
margin-right: 0.35em;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: translateY(10%) rotate(225deg);
transform-origin: 50% 50%;
}


.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wizlords-spellbook {
.wizlords-example-table caption .mw-collapsible-toggle {
margin: 18px 0 28px;
display: none !important;
border: 1px solid var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
}
background: #1f1e1e;
}


.wikitable.wizlords-example-table th,
.wizlords-spellbook-arcane {
.wikitable.wizlords-example-table td,
--wiz-spellbook-colour: #c141d3;
.wizlords-example-table th,
--wiz-spell-card-divider-colour: #d66be3;
.wizlords-example-table td {
box-sizing: border-box;
padding: 8px 6px !important;
white-space: normal;
overflow-wrap: anywhere;
word-break: normal;
}
}
}


@media (max-width: 599px) {
.wizlords-spellbook-divine {
.wikitable.wizlords-example-table th,
--wiz-spellbook-colour: #089cc0;
.wikitable.wizlords-example-table td,
--wiz-spell-card-divider-colour: #19c4eb;
.wizlords-example-table th,
.wizlords-example-table td {
font-size: 13px;
line-height: 1.35;
}
}
}


.wikitable.wizlords-reputation-table,
.wizlords-spellbook-title {
.wizlords-reputation-table {
display: flex;
width: 100%;
align-items: center;
max-width: none;
justify-content: center;
}
gap: 10px;
 
padding: 14px 18px;
.wikitable.wizlords-reputation-table.mw-collapsed,
color: var(--wiz-heading, #e7e1d4);
.wizlords-reputation-table.mw-collapsed {
font-size: 24px;
width: 520px;
font-weight: bold;
min-width: 520px;
text-align: center;
max-width: 100%;
}
}


.wikitable.wizlords-reputation-table caption,
.wizlords-spellbook-title-icon {
.wizlords-reputation-table caption {
display: inline-flex;
white-space: nowrap;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
}
}


.wikitable.wizlords-reputation-table th:nth-child(1),
.wizlords-spellbook-title-icon img {
.wikitable.wizlords-reputation-table td:nth-child(1),
display: block;
.wikitable.wizlords-reputation-table th:nth-child(2),
width: 40px;
.wikitable.wizlords-reputation-table td:nth-child(2),
height: 40px;
.wizlords-reputation-table th:nth-child(1),
object-fit: contain;
.wizlords-reputation-table td:nth-child(1),
.wizlords-reputation-table th:nth-child(2),
.wizlords-reputation-table td:nth-child(2) {
width: 120px;
white-space: nowrap;
}
}


.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-spellbook > .mw-collapsible-toggle {
.wikitable.wizlords-reputation-table td:nth-child(3),
margin: 14px 18px 0 0;
.wizlords-reputation-table th:nth-child(3),
color: var(--wiz-text, #d2d2d2) !important;
.wizlords-reputation-table td:nth-child(3) {
text-align: left;
}
}


.wizlords-indented-note {
.wizlords-spellbook > .mw-collapsible-toggle .mw-collapsible-text,
margin: 8px 0 14px 28px;
.wizlords-spellbook > .mw-collapsible-toggle a {
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-link, #ff942d) !important;
}
}


.wizlords-spellbook {
.wizlords-spellbook-bottom-toggle {
margin: 18px 0 28px;
margin: 16px 0 0;
border: 1px solid var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
padding: 0;
background: #1f1e1e;
text-align: right;
color: var(--wiz-text, #d2d2d2) !important;
cursor: pointer;
}
}


.wizlords-spellbook-arcane {
.wizlords-spellbook-bottom-toggle span,
--wiz-spellbook-colour: #c141d3;
.wizlords-spellbook-bottom-toggle a {
--wiz-spell-card-divider-colour: #d66be3;
color: var(--wiz-link, #ff942d) !important;
}
}


.wizlords-spellbook-divine {
.wizlords-spellbook .mw-collapsible-content {
--wiz-spellbook-colour: #089cc0;
padding: 0 18px 20px;
--wiz-spell-card-divider-colour: #19c4eb;
}
}


.wizlords-spellbook-title {
.wizlords-spell-category-heading {
display: flex;
position: relative;
align-items: center;
margin: 0 0 3px;
justify-content: center;
padding: 0;
gap: 10px;
padding: 14px 18px;
color: var(--wiz-heading, #e7e1d4);
color: var(--wiz-heading, #e7e1d4);
font-size: 24px;
font-size: 18px;
font-weight: bold;
font-weight: bold;
text-align: center;
line-height: 1.3;
}
}


.wizlords-spellbook-title-icon {
.wizlords-spell-category-description {
display: inline-flex;
margin: 0 0 12px;
align-items: center;
color: var(--wiz-text, #d2d2d2);
justify-content: center;
font-style: italic;
width: 40px;
font-weight: bold;
height: 40px;
}
}


.wizlords-spellbook-title-icon img {
.wizlords-spell-card-grid + .wizlords-spell-category-heading {
display: block;
margin-top: 0;
width: 40px;
padding-top: 26px;
height: 40px;
object-fit: contain;
}
}


.wizlords-spellbook > .mw-collapsible-toggle {
.wizlords-spell-card-grid + .wizlords-spell-category-heading::before {
margin: 14px 18px 0 0;
content: "";
color: var(--wiz-text, #d2d2d2) !important;
position: absolute;
}
top: 0;
 
left: 10%;
.wizlords-spellbook > .mw-collapsible-toggle .mw-collapsible-text,
width: 80%;
.wizlords-spellbook > .mw-collapsible-toggle a {
height: 1px;
color: var(--wiz-link, #ff942d) !important;
background: var(--wiz-spellbook-colour);
}
}


.wizlords-spellbook-bottom-toggle {
.wizlords-spell-card-grid {
margin: 16px 0 0;
display: grid;
padding: 0;
grid-template-columns: repeat(6, minmax(0, 1fr));
text-align: right;
gap: 14px;
color: var(--wiz-text, #d2d2d2) !important;
margin: 16px auto 26px;
cursor: pointer;
}
}


.wizlords-spellbook-bottom-toggle span,
.wizlords-servant-rules {
.wizlords-spellbook-bottom-toggle a {
margin: 16px 0 18px;
color: var(--wiz-link, #ff942d) !important;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-spellbook .mw-collapsible-content {
.wizlords-servant-rules-title {
padding: 0 18px 20px;
padding: 12px 16px 4px;
color: var(--wiz-spellbook-colour);
font-size: 18px;
font-weight: bold;
line-height: 1.25;
text-align: center;
}
}


.wizlords-spell-category-heading {
.wizlords-servant-rules-hint {
position: relative;
display: none;
margin: 0 0 3px;
padding: 0 16px 12px;
padding: 0;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 1.3;
}
 
.wizlords-spell-category-description {
margin: 0 0 12px;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-style: italic;
font-style: italic;
font-weight: bold;
text-align: center;
}
}


.wizlords-spell-card-grid + .wizlords-spell-category-heading {
.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
margin-top: 0;
display: block;
padding-top: 26px;
}
}


.wizlords-spell-card-grid + .wizlords-spell-category-heading::before {
.wizlords-servant-rules:not(.mw-collapsed) .wizlords-servant-rules-hint {
content: "";
display: none;
position: absolute;
top: 0;
left: 10%;
width: 80%;
height: 1px;
background: var(--wiz-spellbook-colour);
}
}


.wizlords-spell-card-grid {
.wizlords-servant-rules > .mw-collapsible-toggle {
display: grid;
margin: 12px 16px 0 0;
grid-template-columns: repeat(6, minmax(0, 1fr));
color: var(--wiz-text, #d2d2d2) !important;
gap: 14px;
margin: 16px auto 26px;
}
}


.wizlords-servant-rules {
.wizlords-servant-rules > .mw-collapsible-toggle .mw-collapsible-text,
margin: 16px 0 18px;
.wizlords-servant-rules > .mw-collapsible-toggle a {
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
color: var(--wiz-link, #ff942d) !important;
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-servant-rules-title {
.wizlords-servant-rules-grid {
padding: 12px 16px 4px;
display: grid;
color: var(--wiz-spellbook-colour);
grid-template-columns: repeat(4, minmax(0, 1fr));
font-size: 18px;
gap: 18px;
font-weight: bold;
padding: 0 16px 16px;
line-height: 1.25;
text-align: center;
}
}


.wizlords-servant-rules-hint {
.wizlords-servant-rules-section {
display: none;
line-height: 1.45;
padding: 0 16px 12px;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
text-align: center;
}
}


.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
.wizlords-servant-rules-section ul {
display: block;
margin: 6px 0 0;
}
 
.wizlords-servant-rules:not(.mw-collapsed) .wizlords-servant-rules-hint {
display: none;
}
 
.wizlords-servant-rules > .mw-collapsible-toggle {
margin: 12px 16px 0 0;
color: var(--wiz-text, #d2d2d2) !important;
}
 
.wizlords-servant-rules > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-servant-rules > .mw-collapsible-toggle a {
color: var(--wiz-link, #ff942d) !important;
}
 
.wizlords-servant-rules-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
padding: 0 16px 16px;
}
 
.wizlords-servant-rules-section {
line-height: 1.45;
}
 
.wizlords-servant-rules-section ul {
margin: 6px 0 0;
padding-left: 22px;
padding-left: 22px;
list-style: disc outside;
list-style: disc outside;
Line 2,205: Line 2,197:
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
border-bottom: 0;
border-bottom: 0;
}
/* The Player Guide is a desktop/tablet site index. Keep it out of the phone
  layout along with the divider that belongs to it. */
@media screen and (max-width: 599px) {
.ww-navbox-stack,
.wizlords-navbox-divider {
display: none !important;
}
}
}


Line 2,417: Line 2,418:
}
}


/* Mobile/tablet class category accordions.
/* Citizen mobile/tablet race culture cards.
  These are custom controls inside the real "Classes" article section, so
  Desktop keeps the original grid; below 900px, culture/clan/subtype
  Citizen/MobileFrontend no longer adds a second heading chevron. */
  cards become compact expandable rows using the existing page markup. */
.skin-citizen .wizlords-class-category-accordion {
.skin-citizen .wizlords-culture-grid {
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
display: block;
margin: 18px 0 28px;
margin: 16px auto 22px;
}
 
.skin-citizen .wizlords-culture-grid .wizlords-culture-card {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
grid-auto-rows: auto;
column-gap: 12px;
box-sizing: border-box;
width: 100%;
max-width: 560px;
min-height: 0;
margin: 0 auto 10px;
padding: 10px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
cursor: pointer;
overflow: hidden;
}
}


.skin-citizen .wizlords-class-category-accordion-martial {
.skin-citizen .wizlords-culture-card:focus {
--wiz-class-category-accent: #9d7531;
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 2px;
}
}


.skin-citizen .wizlords-class-category-accordion-arcane {
.skin-citizen .wizlords-culture-card-header,
--wiz-class-category-accent: #d66be3;
.skin-citizen .wizlords-culture-card-body {
display: contents;
padding: 0;
border: 0;
background: transparent;
}
}


.skin-citizen .wizlords-class-category-accordion-divine {
.skin-citizen .wizlords-culture-card-header > :not(.wizlords-culture-card-title) {
--wiz-class-category-accent: #19c4eb;
grid-row: 1 / span 2;
grid-column: 1;
align-self: center;
justify-self: center;
}
}


.skin-citizen .wizlords-class-category-accordion-heading {
.skin-citizen .wizlords-culture-card-header img {
position: relative;
display: block;
display: flex;
width: 88px !important;
align-items: center;
height: 88px !important;
justify-content: center;
max-width: 88px !important;
gap: 9px;
max-height: 88px !important;
box-sizing: border-box;
margin: 0 !important;
width: 100%;
object-fit: contain;
margin: 0 0 10px;
padding: 0 0 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
color: var(--wiz-heading, #e7e1d4);
cursor: pointer;
}
}


.skin-citizen .wizlords-class-category-accordion.is-open
.skin-citizen .wizlords-culture-card-title {
.wizlords-class-category-accordion-heading {
position: relative;
border-bottom-color: var(--wiz-class-category-accent);
grid-row: 1;
grid-column: 2;
align-self: end;
min-width: 0;
margin: 0 0 4px;
padding: 0 0 4px 18px;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: left;
}
}


.skin-citizen .wizlords-class-category-accordion-heading::before {
.skin-citizen .wizlords-culture-card-title::before {
content: "";
content: "";
flex: 0 0 auto;
position: absolute;
width: 8px;
top: 50%;
height: 8px;
left: 1px;
width: 7px;
height: 7px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-2px) rotate(45deg);
transform: translateY(-65%) rotate(45deg);
transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
}


.skin-citizen .wizlords-class-category-accordion.is-open
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-title::before {
.wizlords-class-category-accordion-heading::before {
transform: translateY(-35%) rotate(225deg);
transform: translateY(2px) rotate(225deg);
}
}


.skin-citizen .wizlords-class-category-accordion-title {
.skin-citizen .wizlords-culture-card-title a {
flex: 0 1 auto;
color: var(--wiz-heading, #e7e1d4);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
text-decoration: none;
font-size: 24px;
font-weight: 700;
line-height: 1.25;
text-align: center;
}
}


.skin-citizen .wizlords-class-category-accordion-icon {
.skin-citizen .wizlords-culture-card-body > p:first-of-type {
display: flex;
grid-row: 2;
flex: 0 0 auto;
grid-column: 2;
align-items: center;
min-width: 0;
justify-content: center;
margin: 0;
width: 32px;
color: var(--color-base, #d8d3c8);
height: 32px;
font-size: 13px;
font-style: italic;
line-height: 1.35;
}
}


.skin-citizen .wizlords-class-category-accordion-icon img {
.skin-citizen .wizlords-culture-card-body > :not(p:first-of-type),
display: block;
.skin-citizen .wizlords-culture-card-body > p:not(:first-of-type) {
width: 30px !important;
display: none;
height: 30px !important;
max-width: 30px !important;
max-height: 30px !important;
object-fit: contain;
}
}


.skin-citizen .wizlords-class-category-accordion-body {
.skin-citizen .wizlords-culture-card.is-open {
display: none;
align-items: start;
padding-bottom: 12px;
}
}


.skin-citizen .wizlords-class-category-accordion.is-open
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-separator {
.wizlords-class-category-accordion-body {
display: block;
display: block;
grid-column: 1 / -1;
width: 100%;
height: 1px;
margin: 12px 0 10px;
background: var(--wiz-content-border, #ff942d);
}
}


.wizlords-mobile-spell-card.is-open {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > :not(p:first-of-type) {
align-content: start;
display: block;
padding-top: 24px;
grid-column: 1 / -1;
}
}


.wizlords-mobile-spell-card:focus {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > p:not(:first-of-type) {
outline: 2px solid var(--wiz-content-border, #ff942d);
display: block;
outline-offset: 2px;
grid-column: 1 / -1;
margin: 8px 0 0;
font-style: normal;
line-height: 1.45;
}
}


.wizlords-mobile-spell-card-icon {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-classes,
grid-row: 1 / span 2;
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-known-for,
grid-column: 1;
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-suggested-class,
align-self: center;
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-class-note {
box-sizing: border-box;
margin-top: 8px;
width: 88px;
line-height: 1.45;
height: 88px;
overflow: hidden;
padding: 0;
text-align: center;
}
}


.wizlords-mobile-spell-card-icon img {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body ul {
display: block;
display: block;
width: 88px !important;
grid-column: 1 / -1;
height: 88px !important;
margin: 6px 0 0;
max-width: 88px !important;
padding-left: 24px;
max-height: 88px !important;
object-fit: contain;
}
}


.wizlords-mobile-spell-card-title {
.skin-citizen .wizlords-culture-card.is-open > .wizlords-available-classes-list {
position: relative;
grid-column: 1 / -1;
grid-row: 1;
grid-column: 2;
align-self: start;
margin: 0 0 3px;
padding: 0 22px 3px 18px;
border-bottom: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: left;
}
}


.wizlords-mobile-spell-card-title::before {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body li {
content: "";
display: list-item;
position: absolute;
margin-bottom: 3px;
top: 50%;
left: 1px;
width: 7px;
height: 7px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-65%) rotate(45deg);
transform-origin: 50% 50%;
}
}


.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-title::before {
.skin-citizen .wizlords-shared-classes {
transform: translateY(-35%) rotate(225deg);
max-width: 560px;
margin-right: auto;
margin-left: auto;
}
}


.wizlords-mobile-spell-card-summary {
/* Race Available Classes lists: compact responsive columns. */
grid-row: 2;
.skin-citizen .wizlords-available-classes-list {
grid-column: 2;
display: block !important;
margin: 0;
width: 100%;
color: var(--wiz-text, #d2d2d2);
margin: 6px 0 0;
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
padding-left: 22px;
font-size: 13px;
column-count: 1;
font-style: italic;
column-gap: 1.5em;
font-weight: 400;
list-style: disc outside;
line-height: 1.35;
}
}


.wizlords-mobile-spell-card-rules {
.skin-citizen .wizlords-culture-card .wizlords-available-classes-list {
display: none;
display: none !important;
grid-column: 1 / -1;
grid-column: 1 / -1;
margin-top: 10px;
width: auto;
padding: 10px 10px 2px;
min-width: 0;
border-top: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
max-width: 100%;
color: var(--wiz-text, #d2d2d2);
margin-top: 8px;
background: #171717;
margin-right: 0;
line-height: 1.45;
margin-left: 0;
column-count: 1;
column-gap: 0;
}
}


.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-rules {
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list {
display: block;
display: block !important;
}
}


.wizlords-mobile-spell-card-rules .wizlords-spell-card-meta,
.skin-citizen .wizlords-available-classes-list.is-multicolumn {
.wizlords-mobile-spell-card-rules .wizlords-spell-card-section {
column-count: 2;
padding: 0 0 10px;
}
}


.wizlords-mobile-spell-card-rules .wizlords-spell-card-divider {
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list.is-multicolumn {
width: 55%;
display: grid !important;
height: 1px;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 10px auto;
gap: 2px 18px;
background: var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
column-count: auto;
}
}


.wizlords-mobile-servant-rules-divider {
.skin-citizen .wizlords-available-classes-list.is-drakeling-list {
width: 100%;
column-count: 2;
max-width: 560px;
}
height: 1px;
margin: 18px auto 14px;
background: rgba(255, 255, 255, 0.18);
}


.wizlords-mobile-servant-rules-card {
.skin-citizen .wizlords-available-classes-list li {
box-sizing: border-box;
display: list-item;
width: 100%;
margin: 0 0 4px;
max-width: 560px;
break-inside: avoid;
margin: 0 auto 10px;
page-break-inside: avoid;
padding: 12px 14px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
color: var(--wiz-text, #d2d2d2);
cursor: pointer;
}
}


.wizlords-mobile-servant-rules-card:focus {
.skin-citizen .wizlords-available-classes-list a {
outline: 2px solid var(--wiz-content-border, #ff942d);
color: var(--wiz-link, #ff942d);
outline-offset: 2px;
text-decoration: none;
}
}


.wizlords-mobile-servant-rules-title {
.skin-citizen .wizlords-available-classes-list a:hover {
position: relative;
color: #ffd37a;
display: flex;
text-decoration: none;
align-items: center;
justify-content: center;
gap: 8px;
margin: 0 0 10px;
padding: 0 18px 6px;
border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, #d66be3);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: center;
}
}


.wizlords-mobile-servant-rules-title::before {
.skin-citizen .wizlords-shared-classes .wizlords-available-classes-list {
content: "";
width: auto;
flex: 0 0 auto;
max-width: 100%;
width: 7px;
margin-right: auto;
height: 7px;
margin-left: auto;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-2px) rotate(45deg);
transform-origin: 50% 50%;
}
}


.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before {
/* Mobile/tablet class category accordions.
transform: translateY(2px) rotate(225deg);
  These are custom controls inside the real "Classes" article section, so
  Citizen/MobileFrontend no longer adds a second heading chevron. */
.skin-citizen .wizlords-class-category-accordion {
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
margin: 18px 0 30px;
}
}


.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title {
.skin-citizen .wizlords-class-category-accordion-martial {
margin-bottom: 10px;
--wiz-class-category-accent: #9d7531;
}
}


.wizlords-mobile-servant-rules-content {
.skin-citizen .wizlords-class-category-accordion-arcane {
display: none;
--wiz-class-category-accent: #d66be3;
}
}


.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-content {
.skin-citizen .wizlords-class-category-accordion-divine {
display: block;
--wiz-class-category-accent: #19c4eb;
}
}


.wizlords-mobile-servant-rules-content .wizlords-servant-rules-grid {
.skin-citizen .wizlords-class-category-accordion-heading {
display: grid;
position: relative;
grid-template-columns: 1fr;
display: flex;
gap: 12px;
align-items: center;
justify-content: center;
gap: 9px;
flex-wrap: nowrap;
box-sizing: border-box;
width: 100%;
margin: 22px 0 10px;
padding: 0 0 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
color: var(--wiz-heading, #e7e1d4);
cursor: pointer;
}
 
.skin-citizen .wizlords-class-category-accordion-heading > p {
display: contents;
margin: 0;
padding: 0;
padding: 0;
}
}


.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section {
.skin-citizen .wizlords-class-category-accordion.is-open
line-height: 1.45;
.wizlords-class-category-accordion-heading {
border-bottom-color: var(--wiz-class-category-accent);
}
}


.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section ul {
.skin-citizen .wizlords-class-category-accordion-heading::before {
margin: 6px 0 0;
content: "";
padding-left: 22px;
flex: 0 0 auto;
width: 8px;
height: 8px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-2px) rotate(45deg);
transform-origin: 50% 50%;
}
}
}


@media (min-width: 900px) {
.skin-citizen .wizlords-class-category-accordion.is-open
.wizlords-spellbooks-mobile {
.wizlords-class-category-accordion-heading::before {
display: none;
transform: translateY(2px) rotate(225deg);
}
}


.wizlords-spellbooks-desktop {
.skin-citizen .wizlords-class-category-accordion-title {
display: block;
flex: 0 1 auto;
min-width: 0;
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 24px;
font-weight: 700;
line-height: 1.25;
text-align: center;
white-space: nowrap;
}
}
}


/* Phone card layout. */
.skin-citizen .wizlords-class-category-accordion-icon {
@media (max-width: 599px) {
display: inline-flex;
.wizlords-class-card-grid,
flex: 0 0 auto;
.wizlords-spell-card-grid {
align-items: center;
grid-template-columns: 1fr;
justify-content: center;
width: 32px;
height: 32px;
min-width: 32px;
line-height: 1;
vertical-align: middle;
}
}


.wizlords-servant-rules-grid {
.skin-citizen .wizlords-class-category-accordion-icon span,
grid-template-columns: 1fr;
.skin-citizen .wizlords-class-category-accordion-icon a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
line-height: 1;
}
}


.wizlords-class-card-grid {
.skin-citizen .wizlords-class-category-accordion-icon img {
display: block;
display: block;
margin: 12px 0 20px;
width: 30px !important;
height: 30px !important;
max-width: 30px !important;
max-height: 30px !important;
object-fit: contain;
}
}


.wizlords-class-card {
.skin-citizen .wizlords-class-category-accordion-body {
position: relative;
display: none;
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
grid-template-rows: auto auto auto;
align-content: center;
gap: 0 10px;
box-sizing: border-box;
width: 100%;
margin: 0 0 10px;
padding: 8px 9px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
cursor: pointer;
}
}


.wizlords-class-card:not(.is-open) {
.skin-citizen .wizlords-class-category-accordion.is-open
height: 150px;
.wizlords-class-category-accordion-body {
overflow: hidden;
display: block;
}
}


.wizlords-class-card.is-open {
.wizlords-mobile-spell-card.is-open {
height: auto;
align-content: start;
align-content: start;
padding-top: 24px;
padding-top: 24px;
}
}


.wizlords-class-card:focus {
.wizlords-mobile-spell-card:focus {
outline: 2px solid var(--wiz-content-border, #ff942d);
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 2px;
outline-offset: 2px;
}
}


.wizlords-class-card-icon {
.wizlords-mobile-spell-card-icon {
grid-row: 1 / span 2;
grid-row: 1 / span 2;
grid-column: 1;
grid-column: 1;
Line 2,769: Line 2,789:
}
}


.wizlords-class-card-icon span,
.wizlords-mobile-spell-card-icon img {
.wizlords-class-card-icon img {
display: block;
display: block;
width: 88px !important;
width: 88px !important;
Line 2,779: Line 2,798:
}
}


.wizlords-class-card-title {
.wizlords-mobile-spell-card-title {
position: relative;
position: relative;
grid-row: 1;
grid-row: 1;
Line 2,786: Line 2,805:
margin: 0 0 3px;
margin: 0 0 3px;
padding: 0 22px 3px 18px;
padding: 0 22px 3px 18px;
border-bottom: 1px solid var(--wiz-class-accent, var(--wiz-content-border, #ff942d));
border-bottom: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-heading, #e7e1d4);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
Line 2,795: Line 2,814:
}
}


.wizlords-class-card-title::before {
.wizlords-mobile-spell-card-title::before {
content: "";
content: "";
position: absolute;
position: absolute;
Line 2,808: Line 2,827:
}
}


.wizlords-class-card.is-open .wizlords-class-card-title::before {
.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-title::before {
transform: translateY(-35%) rotate(225deg);
transform: translateY(-35%) rotate(225deg);
}
}


.wizlords-class-card-body {
.wizlords-mobile-spell-card-summary {
display: contents;
padding: 0;
background: transparent;
}
 
.wizlords-class-card-summary {
grid-row: 2;
grid-row: 2;
grid-column: 2;
grid-column: 2;
Line 2,828: Line 2,841:
font-weight: 400;
font-weight: 400;
line-height: 1.35;
line-height: 1.35;
display: block;
overflow: visible;
}
}


.wizlords-class-card.is-open .wizlords-class-card-summary {
.wizlords-mobile-spell-card-rules {
display: block;
overflow: visible;
}
 
.wizlords-class-card-divider {
display: none;
}
 
.wizlords-class-card-rules {
display: none;
display: none;
grid-column: 1 / -1;
grid-column: 1 / -1;
margin-top: 10px;
margin-top: 10px;
padding: 10px 10px 2px;
padding: 10px 10px 2px;
border-top: 1px solid var(--wiz-class-accent, var(--wiz-content-border, #ff942d));
border-top: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
background: #171717;
background: #171717;
line-height: 1.45;
}
}


.wizlords-class-card.is-open .wizlords-class-card-rules {
.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-rules {
display: block;
display: block;
}
}


.wizlords-class-card-grid-martial .wizlords-class-card {
.wizlords-mobile-spell-card-rules .wizlords-spell-card-meta,
--wiz-class-accent: #9d7531;
.wizlords-mobile-spell-card-rules .wizlords-spell-card-section {
padding: 0 0 10px;
}
}


.wizlords-class-card-grid-arcane .wizlords-class-card {
.wizlords-mobile-spell-card-rules .wizlords-spell-card-divider {
--wiz-class-accent: #9a3dae;
width: 55%;
height: 1px;
margin: 10px auto;
background: var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
}
}


.wizlords-class-card-grid-divine .wizlords-class-card {
.wizlords-mobile-servant-rules-divider {
--wiz-class-accent: #33b6cf;
width: 100%;
max-width: 560px;
height: 1px;
margin: 18px auto 14px;
background: rgba(255, 255, 255, 0.18);
}
}
}


/* Citizen-specific safeguard: keep custom mobile collapsible box headings using
.wizlords-mobile-servant-rules-card {
  the same clean interface typography as Citizen section headings. This is
box-sizing: border-box;
  repeated here because Common.css can override equal-specificity skin rules
width: 100%;
  depending on ResourceLoader order. */
max-width: 560px;
.skin-citizen .mw-parser-output .wizlords-collapsible-section .wizlords-collapsible-section-title {
margin: 0 auto 10px;
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif !important;
padding: 12px 14px;
font-size: 22px !important;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
font-weight: 700 !important;
background: #1f1e1e;
line-height: 1.3 !important;
color: var(--wiz-text, #d2d2d2);
}
cursor: pointer;
}
 
.wizlords-mobile-servant-rules-card:focus {
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 2px;
}
 
.wizlords-mobile-servant-rules-title {
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 0 0 10px;
padding: 0 18px 6px;
border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, #d66be3);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: center;
}


.skin-citizen .mw-parser-output .wizlords-collapsible-section > .wizlords-collapsed-hint {
.wizlords-mobile-servant-rules-title::before {
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif !important;
content: "";
font-size: 14px !important;
flex: 0 0 auto;
font-style: normal !important;
width: 7px;
font-weight: 400 !important;
height: 7px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-2px) rotate(45deg);
transform-origin: 50% 50%;
}
 
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before {
transform: translateY(2px) rotate(225deg);
}
 
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title {
margin-bottom: 10px;
}
 
.wizlords-mobile-servant-rules-content {
display: none;
}
 
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-content {
display: block;
}
 
.wizlords-mobile-servant-rules-content .wizlords-servant-rules-grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
padding: 0;
}
 
.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section {
line-height: 1.45;
}
 
.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section ul {
margin: 6px 0 0;
padding-left: 22px;
}
}
 
@media (min-width: 900px) {
.wizlords-spellbooks-mobile {
display: none;
}
 
.wizlords-spellbooks-desktop {
display: block;
}
}
 
@media (min-width: 600px) and (max-width: 899px) {
.skin-citizen .wizlords-available-classes-list.is-multicolumn {
column-count: 3;
}
 
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list.is-multicolumn {
grid-template-columns: repeat(3, minmax(0, 1fr));
column-count: auto;
}
 
.skin-citizen .wizlords-available-classes-list.is-drakeling-list {
column-count: 2;
}
}
 
/* Phone card layout. */
@media (max-width: 599px) {
.wizlords-class-card-grid,
.wizlords-spell-card-grid {
grid-template-columns: 1fr;
}
 
.wizlords-servant-rules-grid {
grid-template-columns: 1fr;
}
 
.wizlords-class-card-grid {
display: block;
margin: 12px 0 20px;
}
 
.wizlords-class-card {
position: relative;
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
grid-template-rows: auto auto auto;
align-content: center;
gap: 0 10px;
box-sizing: border-box;
width: 100%;
margin: 0 0 10px;
padding: 8px 9px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #1f1e1e;
cursor: pointer;
}
 
.wizlords-class-card:not(.is-open) {
height: 150px;
overflow: hidden;
}
 
.wizlords-class-card.is-open {
height: auto;
align-content: start;
padding-top: 24px;
}
 
.wizlords-class-card:focus {
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 2px;
}
 
.wizlords-class-card-icon {
grid-row: 1 / span 2;
grid-column: 1;
align-self: center;
box-sizing: border-box;
width: 88px;
height: 88px;
overflow: hidden;
padding: 0;
text-align: center;
}
 
.wizlords-class-card-icon span,
.wizlords-class-card-icon img {
display: block;
width: 88px !important;
height: 88px !important;
max-width: 88px !important;
max-height: 88px !important;
object-fit: contain;
}
 
.wizlords-class-card-title {
position: relative;
grid-row: 1;
grid-column: 2;
align-self: start;
margin: 0 0 3px;
padding: 0 22px 3px 18px;
border-bottom: 1px solid var(--wiz-class-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: left;
}
 
.wizlords-class-card-title::before {
content: "";
position: absolute;
top: 50%;
left: 1px;
width: 7px;
height: 7px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-65%) rotate(45deg);
transform-origin: 50% 50%;
}
 
.wizlords-class-card.is-open .wizlords-class-card-title::before {
transform: translateY(-35%) rotate(225deg);
}
 
.wizlords-class-card-body {
display: contents;
padding: 0;
background: transparent;
}
 
.wizlords-class-card-summary {
grid-row: 2;
grid-column: 2;
margin: 0;
color: var(--wiz-text, #d2d2d2);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 13px;
font-style: italic;
font-weight: 400;
line-height: 1.35;
display: block;
overflow: visible;
}
 
.wizlords-class-card.is-open .wizlords-class-card-summary {
display: block;
overflow: visible;
}
 
.wizlords-class-card-divider {
display: none;
}
 
.wizlords-class-card-rules {
display: none;
grid-column: 1 / -1;
margin-top: 10px;
padding: 10px 10px 2px;
border-top: 1px solid var(--wiz-class-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-text, #d2d2d2);
background: #171717;
}
 
.wizlords-class-card.is-open .wizlords-class-card-rules {
display: block;
}
 
.wizlords-class-card-grid-martial .wizlords-class-card {
--wiz-class-accent: #9d7531;
}
 
.wizlords-class-card-grid-arcane .wizlords-class-card {
--wiz-class-accent: #9a3dae;
}
 
.wizlords-class-card-grid-divine .wizlords-class-card {
--wiz-class-accent: #33b6cf;
}
}
 
/* Citizen-specific safeguard: keep custom mobile collapsible box headings using
  the same clean interface typography as Citizen section headings. This is
  repeated here because Common.css can override equal-specificity skin rules
  depending on ResourceLoader order. */
.skin-citizen .mw-parser-output .wizlords-collapsible-section .wizlords-collapsible-section-title {
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif !important;
font-size: 22px !important;
font-weight: 700 !important;
line-height: 1.3 !important;
}
 
.skin-citizen .mw-parser-output .wizlords-collapsible-section > .wizlords-collapsed-hint {
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif !important;
font-size: 14px !important;
font-style: normal !important;
font-weight: 400 !important;
line-height: 1.6 !important;
line-height: 1.6 !important;
}
/* Reusable photo box: full image proportions, border, and optional caption. */
.wizlords-photo-box {
float: right;
width: min(250px, 100%);
box-sizing: border-box;
margin: 0 0 16px 24px;
padding: 6px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #171717;
}
.wizlords-photo-box p {
margin: 0;
padding: 0;
}
.wizlords-photo-image {
border: 1px solid var(--wiz-content-border, #ff942d);
line-height: 0;
}
.wizlords-photo-image a,
.wizlords-photo-image span {
display: block;
}
.wizlords-photo-image img {
display: block;
width: 100%;
height: auto;
aspect-ratio: auto;
object-fit: contain;
}
.wizlords-photo-caption {
margin-top: 7px;
padding: 0 4px;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
.wizlords-image-clear {
clear: both;
}
@media (max-width: 599px) {
.wizlords-photo-box {
float: none;
margin: 0 auto 18px;
}
}
/* Reusable expandable lore profiles for houses, duchies, and similar groups. */
.wizlords-lore-profile-mobile-icon { display: none; }
.wizlords-lore-profile > .mw-collapsible-content {
display: block;
clear: both;
}
.wizlords-lore-profile-symbol { margin-top: 8px; }
@media (max-width: 599px) {
.wizlords-lore-profile {
position: relative;
padding: 14px;
min-height: 116px;
}
.wizlords-lore-profile-mobile-icon {
display: block;
position: absolute;
top: 14px;
left: 14px;
width: 88px;
}
.wizlords-lore-profile-mobile-icon p { margin: 0; }
.wizlords-lore-profile-mobile-icon img {
width: 88px;
height: 88px;
object-fit: contain;
}
.wizlords-lore-profile > .wizlords-collapsible-section-title,
.wizlords-lore-profile > .wizlords-collapsed-hint {
margin-left: 102px;
}
.wizlords-lore-profile > .wizlords-collapsible-section-title {
font-family: Roboto, system-ui, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1.3;
cursor: pointer;
}
.wizlords-lore-profile > .wizlords-collapsible-section-title::before {
content: none;
}
.wizlords-lore-profile:not(.mw-collapsed) > .wizlords-collapsible-section-title::before {
content: none;
}
.wizlords-lore-profile > .wizlords-collapsed-hint {
display: block;
font-style: italic;
line-height: 1.4;
}
.wizlords-lore-profile > .mw-collapsible-toggle { display: none; }
.wizlords-lore-profile > .mw-collapsible-content {
clear: both;
margin-top: 16px;
}
.wizlords-lore-profile-symbol { display: none; }
}
/* Lore profile headers: desktop text only; mobile icon, name and subtitle. */
.wizlords-lore-profile > .wizlords-lore-profile-mobile-icon {
display: none !important;
}
@media (min-width: 600px) {
.wizlords-lore-profile.mw-collapsed > .wizlords-collapsed-hint {
display: block !important;
}
.wizlords-lore-profile:not(.mw-collapsed) > .wizlords-collapsed-hint {
display: none !important;
}
}
@media (max-width: 599px) {
.wizlords-lore-profile > .wizlords-collapsed-hint {
display: none !important;
}
}
.wizlords-lore-profile .wizlords-lore-profile-symbol {
width: min(300px, 100%);
}
@media (max-width: 599px) {
.wizlords-lore-profile > .wizlords-lore-profile-mobile-icon {
display: block !important;
}
.wizlords-lore-profile > .wizlords-collapsible-section-title {
min-height: 88px;
margin-bottom: 0;
border-bottom: 0;
}
.wizlords-lore-profile > .wizlords-collapsible-section-title::before {
content: none;
}
.wizlords-lore-profile:not(.mw-collapsed) > .wizlords-collapsible-section-title::before {
content: none;
}
.wizlords-lore-profile-name {
display: block;
padding-bottom: 7px;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
}
.wizlords-lore-profile-name::before { content: none; }
.wizlords-lore-profile:not(.mw-collapsed) .wizlords-lore-profile-name::before {
content: none;
}
.wizlords-lore-profile-subtitle {
display: block;
padding-top: 7px;
font-size: 16px;
line-height: 1.25;
}
.wizlords-lore-profile-dash { display: none; }
.wizlords-lore-profile > .mw-collapsible-content { margin-top: 20px; }
.wizlords-lore-profile .wizlords-lore-profile-symbol { display: none; }
}
.wizlords-lore-collapse {
clear: both;
}
/* Lore cards reuse the class-card chevron and bottom section-collapse arrow. */
@media (max-width: 599px) {
.wizlords-lore-profile > .mw-collapsible-toggle {
display: none !important;
}
.wizlords-lore-profile .wizlords-lore-profile-name {
position: relative;
padding-left: 18px;
}
.wizlords-lore-profile .wizlords-lore-profile-name::before {
content: "";
position: absolute;
top: calc(50% - 4px);
left: 1px;
width: 7px;
height: 7px;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
transform: translateY(-65%) rotate(45deg);
transform-origin: 50% 50%;
}
.wizlords-lore-profile:not(.mw-collapsed) .wizlords-lore-profile-name::before {
content: "";
transform: translateY(-35%) rotate(225deg);
}
.wizlords-lore-profile .wizlords-lore-collapse {
position: relative;
min-height: 28px;
font-size: 0;
line-height: 1;
color: transparent !important;
cursor: pointer;
}
.wizlords-lore-profile .wizlords-lore-collapse span {
font-size: 0;
color: transparent !important;
}
.wizlords-lore-profile .wizlords-lore-collapse::after {
content: "";
position: absolute;
right: 4px;
bottom: 6px;
width: 10px;
height: 10px;
border-right: 2px solid var(--wiz-text, #d2d2d2);
border-bottom: 2px solid var(--wiz-text, #d2d2d2);
transform: rotate(225deg);
}
}
/* Lore cards draw one chevron beside the name, not on Citizen's full header. */
@media (max-width: 599px) {
.skin-citizen .wizlords-lore-profile > .wizlords-collapsible-section-title {
padding-left: 0;
padding-right: 0;
}
.skin-citizen .wizlords-lore-profile > .wizlords-collapsible-section-title::before {
content: none !important;
display: none !important;
}
}
@media (max-width: 599px) {
.wizlords-lore-profile-mobile-icon { cursor: pointer; }
}
}