MediaWiki:Common.css: Difference between revisions

From Wizards and Warlords
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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 240: Line 232:
aspect-ratio: 300 / 141;
aspect-ratio: 300 / 141;
margin-bottom: 0;
margin-bottom: 0;
background-image: url("/mywiki/index.php/Special:Redirect/file/Wizlords_banner_nobg.png");
background-image: url("/index.php/Special:Redirect/file/Wizlords_banner_nobg.png");
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center center;
background-position: center center;
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 {
margin-top: 10px;
margin-left: 0;
padding: 2px 0;
border-left: 0;
}
}


.toc-page #toc .toclevel-3,
.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading) {
.toc-page #toc .toclevel-4,
margin-bottom: 10px;
.toc-page #toc .toclevel-5,
.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 {
/* RACE TABLE */
display: none;
/* ---------- */
}
.wikitable.wizlords-race-table,
 
.wizlords-race-table {
/* Reusable article sections that can be collapsed to keep long pages compact. */
--wiz-race-table-border-width: 1px;
.wizlords-collapsible-section {
--wiz-race-table-border-colour: #4d4d4d;
margin: 18px 0;
--wiz-race-table-divider-colour: #9d7531;
padding: 8px 14px;
width: 100%;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-collapse: collapse;
background: #1f1e1e;
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-toc-only-heading + .wizlords-collapsible-section {
.wikitable.wizlords-race-table tr,
margin-top: 10px;
.wizlords-race-table tr {
border-color: var(--wiz-race-table-border-colour) !important;
}
}


.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading) {
.wikitable.wizlords-race-table th,
margin-bottom: 10px;
.wikitable.wizlords-race-table td,
.wizlords-race-table th,
.wizlords-race-table td {
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-title {
.wizlords-race-table th {
padding: 0;
color: var(--wiz-heading, #e7e1d4) !important;
border-bottom: 1px solid var(--wiz-content-border, #ff942d);
text-align: center;
color: var(--wiz-heading, #e7e1d4);
font-weight: bold;
font-family: Georgia, 'Times New Roman', serif;
font-size: 24px;
font-weight: normal;
line-height: 30px;
}
}


.wizlords-collapsible-section .mw-collapsible-content {
.wikitable.wizlords-race-table td.race-name,
padding: 6px 0 0;
.wizlords-race-table td.race-name {
background: #171717 !important;
text-align: center;
font-weight: bold;
white-space: nowrap;
}
}


.wizlords-collapsible-section .mw-collapsible-content > p:first-child {
.wizlords-race-table .race-icon {
margin-top: 0;
display: block;
width: 100px;
height: 100px;
margin: 0 auto 6px;
object-fit: contain;
}
}


.wizlords-collapsible-section .mw-collapsible-content > p:last-child {
.wikitable.wizlords-race-table td.subculture,
margin-bottom: 0;
.wizlords-race-table td.subculture {
background: #171717 !important;
text-align: center;
font-weight: bold;
vertical-align: middle;
}
}


.wizlords-collapsible-section-subheading {
.wizlords-race-table .subculture-icon {
margin: 14px 0 8px;
display: block;
color: var(--wiz-heading, #e7e1d4);
width: 45px;
font-size: 18px;
height: 45px;
font-weight: bold;
margin: 4px auto 4px;
line-height: 1.3;
object-fit: contain;
}
}


.wizlords-collapsible-section-subsubheading {
.wizlords-race-table .race-bonus,
margin: 12px 0 6px;
.wizlords-race-table .subculture-bonus {
color: var(--wiz-heading, #e7e1d4);
min-width: 280px;
font-weight: bold;
line-height: 1.3;
}
}


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


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


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


.wizlords-collapsible-section-bottom-toggle {
.wizlords-race-table .race-divider td {
margin: 8px 0 0;
height: 8px;
padding: 0;
padding: 0;
text-align: right;
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important;
color: var(--wiz-text, #d2d2d2) !important;
background: var(--wiz-race-table-divider-colour);
cursor: pointer;
}
}


.wizlords-collapsible-section-bottom-toggle span,
/* RACES LANDING PAGE */
.wizlords-collapsible-section-bottom-toggle a {
/* ------------------ */
color: var(--wiz-link, #ff942d) !important;
.wizlords-races-landing {
max-width: 100%;
}
}


/* RACE TABLE */
.wizlords-races-landing .race-note {
/* ---------- */
margin: 14px 0 18px;
.wikitable.wizlords-race-table,
font-style: italic;
.wizlords-race-table {
--wiz-race-table-border-width: 1px;
--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);
}
}


.wikitable.wizlords-race-table tr,
.wizlords-races-grid {
.wizlords-race-table tr {
display: flex;
border-color: var(--wiz-race-table-border-colour) !important;
flex-wrap: wrap;
justify-content: center;
gap: 28px 44px;
margin: 26px auto 24px;
max-width: 860px;
}
}


.wikitable.wizlords-race-table th,
.wizlords-race-link {
.wikitable.wizlords-race-table td,
display: block;
.wizlords-race-table th,
width: 120px;
.wizlords-race-table td {
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 {
color: var(--wiz-heading, #e7e1d4) !important;
text-align: center;
text-align: center;
font-weight: bold;
text-decoration: none;
}
}


.wikitable.wizlords-race-table td.race-name,
.wizlords-race-link img {
.wizlords-race-table td.race-name {
display: block;
background: #171717 !important;
width: 100px;
text-align: center;
height: 100px;
font-weight: bold;
margin: 0 auto 8px;
white-space: nowrap;
object-fit: contain;
border: 0;
background: transparent;
transition: transform 120ms ease, filter 120ms ease;
}
}


.wizlords-race-table .race-icon {
.wizlords-race-label,
.wizlords-race-label a {
display: block;
display: block;
width: 100px;
color: var(--wiz-link, #ff942d);
height: 100px;
margin: 0 auto 6px;
object-fit: contain;
}
 
.wikitable.wizlords-race-table td.subculture,
.wizlords-race-table td.subculture {
background: #171717 !important;
text-align: center;
font-weight: bold;
font-weight: bold;
vertical-align: middle;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-race-table .subculture-icon {
.wizlords-race-link:hover img {
display: block;
filter: brightness(1.15);
width: 45px;
transform: translateY(-2px);
height: 45px;
margin: 4px auto 4px;
object-fit: contain;
}
}


.wizlords-race-table .race-bonus,
.wizlords-race-link:hover .wizlords-race-label,
.wizlords-race-table .subculture-bonus {
.wizlords-race-link:hover .wizlords-race-label a {
min-width: 280px;
color: #ffd37a;
text-decoration: none;
}
}


.wizlords-race-table ul {
/* RACE DETAIL PAGES */
margin: 0;
/* ----------------- */
padding-left: 20px;
.wizlords-race-page {
list-style: disc outside;
max-width: 100%;
}
}


.wizlords-race-table li {
.hatnote,
display: list-item;
.wizlords-race-page .hatnote {
margin: 0 0 3px;
margin: 4px 0 18px;
list-style: disc outside;
padding-left: 18px;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
}
}


.wizlords-race-table li::marker {
.hatnote a,
color: var(--wiz-text, #d2d2d2);
.wizlords-race-page .hatnote a {
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
}


.wizlords-race-table .race-divider td {
.wizlords-culture-grid {
height: 8px;
display: grid;
padding: 0;
grid-template-columns: repeat(6, minmax(0, 1fr));
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important;
gap: 14px;
background: var(--wiz-race-table-divider-colour);
margin: 18px auto 24px;
}
}


/* RACES LANDING PAGE */
.wizlords-culture-card {
/* ------------------ */
display: flex;
.wizlords-races-landing {
flex-direction: column;
max-width: 100%;
grid-column: span 2;
min-height: 100%;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-races-landing .race-note {
.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(1),
margin: 14px 0 18px;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
font-style: italic;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
grid-column: 2 / span 2;
}
}


.wizlords-races-grid {
.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
display: flex;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
flex-wrap: wrap;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
justify-content: center;
grid-column: 4 / span 2;
gap: 28px 44px;
}
margin: 26px auto 24px;
 
max-width: 860px;
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
grid-column: 2 / span 2;
}
 
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
grid-column: 4 / span 2;
}
 
.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
grid-column: 3 / span 2;
}
}


.wizlords-race-link {
.wizlords-culture-card-header {
display: block;
padding: 16px 12px 12px;
width: 120px;
text-align: center;
text-align: center;
text-decoration: none;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
}
}


.wizlords-race-link img {
.wizlords-culture-card-header img {
display: block;
display: block;
width: 100px;
width: 250px;
height: 100px;
height: 250px;
margin: 0 auto 8px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
object-fit: contain;
border: 0;
border: 0;
background: transparent;
background: transparent;
transition: transform 120ms ease, filter 120ms ease;
}
}


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


.wizlords-race-link:hover img {
.wizlords-culture-card-body {
filter: brightness(1.15);
flex: 1 1 auto;
transform: translateY(-2px);
padding: 12px;
background: #1f1e1e;
}
}


.wizlords-race-link:hover .wizlords-race-label,
.wizlords-culture-card-body p {
.wizlords-race-link:hover .wizlords-race-label a {
margin: 0 0 12px;
color: #ffd37a;
font-style: italic;
text-decoration: none;
line-height: 1.55;
}
}


/* RACE DETAIL PAGES */
.wizlords-culture-separator {
/* ----------------- */
width: 110px;
.wizlords-race-page {
height: 1px;
max-width: 100%;
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.hatnote,
.wizlords-shared-classes {
.wizlords-race-page .hatnote {
display: table;
margin: 4px 0 18px;
width: auto;
padding-left: 18px;
min-width: 330px;
color: var(--wiz-text, #d2d2d2);
margin: 16px auto 22px;
font-style: italic;
padding: 10px 28px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.toc-page .hatnote {
.wizlords-shared-classes-title {
margin: 14px 0 10px;
margin-bottom: 5px;
padding-left: 18px;
color: var(--wiz-heading-colour, #f2ead7);
color: var(--wiz-text, #d2d2d2);
font-weight: bold;
font-style: italic;
text-align: center;
}
}


.toc-page .hatnote + h2,
.wizlords-shared-classes ul {
.toc-page .hatnote + .mw-heading2 {
display: grid;
margin-top: 12px !important;
grid-auto-flow: column;
grid-template-rows: repeat(5, auto);
grid-auto-columns: max-content;
column-gap: 42px;
width: max-content;
margin: 2px auto 0;
padding-left: 0;
list-style: disc outside;
}
}


.hatnote a,
.wizlords-shared-classes li {
.wizlords-race-page .hatnote a {
display: list-item;
color: var(--wiz-link, #ff942d);
margin: 0 0 3px;
text-decoration: none;
margin-left: 18px;
break-inside: avoid;
}
 
.wizlords-shared-classes.classes-8 ul {
grid-template-rows: repeat(4, auto);
}
}


.toc-page .hatnote a {
.wizlords-shared-classes.classes-9 ul {
color: var(--wiz-link, #ff942d);
grid-template-rows: repeat(5, auto);
text-decoration: none;
}
}


.wizlords-race-intro {
.wizlords-shared-classes.classes-4 ul {
display: flex;
grid-template-rows: repeat(4, auto);
align-items: center;
gap: 28px;
margin: 18px 0 24px;
}
}


.wizlords-race-intro-icon {
.wizlords-shared-classes.classes-9-three ul {
flex: 0 0 auto;
grid-template-rows: repeat(3, auto);
}
}


.wizlords-race-intro-icon img {
.wizlords-class-compare {
display: block;
display: flex;
width: 100px;
justify-content: center;
height: 100px;
align-items: stretch;
object-fit: contain;
gap: 12px;
border: 0;
margin: 16px auto 22px;
background: transparent;
}
}


.wizlords-race-quote {
.wizlords-class-compare .wizlords-shared-classes {
position: relative;
margin: 0;
margin: 0;
padding: 0 34px;
min-width: 0;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-race-quote::before,
.wizlords-shared-classes a {
.wizlords-race-quote::after {
color: var(--wiz-link, #ff942d);
position: absolute;
text-decoration: none;
color: #555;
font-size: 42px;
line-height: 1;
}
}


.wizlords-race-quote::before {
.wizlords-shared-classes a:hover {
content: "\201C";
color: #ffd37a;
left: 0;
text-decoration: none;
top: -6px;
}
}


.wizlords-race-quote::after {
.wizlords-culture-classes {
content: "\201D";
margin-top: 12px;
right: 0;
font-weight: bold;
bottom: -18px;
}
}


.wizlords-race-quote-source {
.wizlords-culture-known-for,
margin-top: 8px;
.wizlords-culture-suggested-class {
text-align: right;
margin-top: 10px;
font-size: 12px;
line-height: 1.45;
font-style: normal;
font-weight: bold;
}
}


.wizlords-culture-grid {
.wizlords-culture-suggested-class a {
display: grid;
color: var(--wiz-link, #ff942d);
grid-template-columns: repeat(6, minmax(0, 1fr));
text-decoration: none;
gap: 14px;
margin: 18px auto 24px;
}
}


.wizlords-culture-card {
.wizlords-culture-class-note {
display: flex;
margin-top: 6px;
flex-direction: column;
line-height: 1.45;
grid-column: span 2;
min-height: 100%;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(1),
.wizlords-culture-card-body ul {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
margin: 4px 0 0;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
padding-left: 28px;
grid-column: 2 / span 2;
list-style: disc outside;
}
}


.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
.wizlords-culture-card-body li {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
display: list-item;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
margin: 0 0 3px;
grid-column: 4 / span 2;
}
}


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


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


.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
.wizlords-culture-list {
grid-column: 3 / span 2;
margin: 18px 0 24px;
}
}


.wizlords-culture-card-header {
.wizlords-culture-row {
padding: 16px 12px 12px;
padding: 20px 0 24px;
text-align: center;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
}
}


.wizlords-culture-card-header img {
.wizlords-culture-row-feature {
display: grid;
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
align-items: center;
gap: 22px;
margin: 10px 0 18px;
}
 
.wizlords-culture-row-icon img {
display: block;
display: block;
width: 250px;
width: 150px;
height: 250px;
height: 150px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
object-fit: contain;
border: 0;
border: 0;
Line 891: Line 855:
}
}


.wizlords-culture-card-title,
.wizlords-culture-row-divider {
.wizlords-culture-card-title a {
width: 1px;
color: var(--wiz-link, #ff942d);
height: 150px;
font-size: 16px;
background: var(--wiz-race-table-border-colour, #4d4d4d);
}
 
.wizlords-culture-row-title,
.wizlords-culture-row-title a {
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
font-weight: bold;
line-height: 1.25;
line-height: 1.3;
text-decoration: none;
text-decoration: none;
}
}


.wizlords-culture-card-body {
.wizlords-culture-row-description {
flex: 1 1 auto;
position: relative;
padding: 12px;
margin: 0;
background: #1f1e1e;
padding: 0 34px;
}
color: var(--wiz-text, #d2d2d2);
 
font-size: 16px;
.wizlords-culture-card-body p {
margin: 0 0 12px;
font-style: italic;
font-style: italic;
line-height: 1.55;
line-height: 1.6;
}
}


.wizlords-culture-separator {
.wizlords-culture-row-description::before,
width: 110px;
.wizlords-culture-row-description::after {
height: 1px;
position: absolute;
margin: 14px auto 12px;
color: #555;
background: var(--wiz-race-table-divider-colour, #9d7531);
font-size: 42px;
line-height: 1;
}
}


.wizlords-shared-classes {
.wizlords-culture-row-description::before {
display: table;
content: "\201C";
width: auto;
left: 0;
min-width: 330px;
top: -6px;
margin: 16px auto 22px;
padding: 10px 28px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-shared-classes-title {
.wizlords-culture-row-description::after {
margin-bottom: 5px;
content: "\201D";
color: var(--wiz-heading-colour, #f2ead7);
right: 0;
font-weight: bold;
bottom: -18px;
text-align: center;
}
}


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


.wizlords-shared-classes li {
.wizlords-culture-appearance img {
display: list-item;
display: block;
margin: 0 0 3px;
width: 300px;
margin-left: 18px;
height: 138px;
break-inside: avoid;
object-fit: cover;
border: 0;
background: transparent;
}
}


.wizlords-shared-classes.classes-8 ul {
.wizlords-culture-appearance-caption {
grid-template-rows: repeat(4, auto);
margin-top: 4px;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-shared-classes.classes-9 ul {
.wizlords-page-image {
grid-template-rows: repeat(5, auto);
box-sizing: border-box;
width: min(450px, 100%);
padding: 6px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #171717;
}
}


.wizlords-shared-classes.classes-4 ul {
.wizlords-page-image p {
grid-template-rows: repeat(4, auto);
margin: 0;
padding: 0;
}
}


.wizlords-shared-classes.classes-9-three ul {
.wizlords-page-image span,
grid-template-rows: repeat(3, auto);
.wizlords-page-image a {
display: block;
}
}


.wizlords-class-compare {
.wizlords-page-image.right {
display: flex;
float: right;
justify-content: center;
margin: 0 0 16px 24px;
align-items: stretch;
gap: 12px;
margin: 16px auto 22px;
}
}


.wizlords-class-compare .wizlords-shared-classes {
.wizlords-page-image.left {
margin: 0;
float: left;
min-width: 0;
margin: 0 24px 16px 0;
}
}


.wizlords-shared-classes a {
.wizlords-page-image img {
color: var(--wiz-link, #ff942d);
display: block;
text-decoration: 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-shared-classes a:hover {
.wizlords-page-image-caption {
color: #ffd37a;
margin-top: 7px;
text-decoration: none;
padding: 0 4px;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-culture-classes {
.wizlords-culture-row-classes {
margin-top: 12px;
color: var(--wiz-text, #d2d2d2);
font-weight: bold;
font-size: 14px;
}
}


.wizlords-culture-known-for,
.wizlords-culture-class-list {
.wizlords-culture-suggested-class {
display: grid;
margin-top: 10px;
grid-auto-flow: column;
line-height: 1.45;
grid-auto-columns: minmax(130px, max-content);
}
grid-template-rows: repeat(4, auto);
 
gap: 4px 18px;
.wizlords-culture-suggested-class a {
margin: 6px 0 0;
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
 
.wizlords-culture-class-note {
margin-top: 6px;
line-height: 1.45;
}
 
.wizlords-culture-card-body ul {
margin: 4px 0 0;
padding-left: 28px;
padding-left: 28px;
list-style: disc outside;
list-style: disc outside;
}
}


.wizlords-culture-card-body li {
.wizlords-culture-class-list li {
display: list-item;
display: list-item;
margin: 0 0 3px;
margin: 0;
padding: 0;
}
}


.wizlords-culture-card-body a,
.wizlords-culture-class-list li::marker {
.wizlords-culture-row-classes a {
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
}


.wizlords-culture-card-body a:hover,
/* Tablet and small-desktop layouts use a three-column grid. */
.wizlords-culture-row-classes a:hover {
@media (min-width: 600px) and (max-width: 1199px) {
color: #ffd37a;
.wiz-grid {
text-decoration: none;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
}


.wizlords-culture-list {
/* Phone layout uses two columns. */
margin: 18px 0 24px;
@media (max-width: 599px) {
.wiz-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
}


.wizlords-culture-row {
/* CLASS OVERVIEW PAGE */
padding: 20px 0 24px;
/* ------------------- */
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
.wizlords-classes-page {
max-width: 100%;
}
}


.wizlords-culture-row-feature {
.wizlords-classes-page ul {
display: grid;
list-style: disc outside;
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
padding-left: 28px;
align-items: center;
gap: 22px;
margin: 10px 0 18px;
}
}


.wizlords-culture-row-icon img {
.wizlords-classes-page li {
display: block;
display: list-item;
width: 150px;
height: 150px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-culture-row-divider {
.wizlords-class-category-table {
width: 1px;
width: 100%;
height: 150px;
min-width: 0;
background: var(--wiz-race-table-border-colour, #4d4d4d);
max-width: 640px;
margin: 18px auto 24px;
border: 0 !important;
background: #171717;
color: var(--wiz-text, #d2d2d2);
border-collapse: collapse;
table-layout: fixed;
}
 
.wizlords-class-category-table th,
.wizlords-class-category-table td {
box-sizing: border-box;
width: 33.333%;
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
vertical-align: top;
}
}


.wizlords-culture-row-title,
.wizlords-class-category-table th {
.wizlords-culture-row-title a {
padding: 8px 18px !important;
color: var(--wiz-heading, #e7e1d4);
background: #1f1e1e !important;
color: var(--wiz-heading, #e7e1d4) !important;
font-size: 18px;
font-size: 18px;
font-weight: bold;
text-align: center;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-culture-row-description {
.wizlords-class-category-icon {
position: relative;
margin: 0 0 6px;
margin: 0;
text-align: center;
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-icon img {
.wizlords-culture-row-description::after {
display: inline-block;
position: absolute;
width: 110px;
color: #555;
height: 110px;
font-size: 42px;
object-fit: contain;
line-height: 1;
}
}


.wizlords-culture-row-description::before {
.wizlords-class-category-table td {
content: "\201C";
padding: 8px 18px 10px 12px !important;
left: 0;
background: #171717 !important;
top: -6px;
}
}


.wizlords-culture-row-description::after {
.wizlords-class-category-table tr:first-child {
content: "\201D";
border-bottom: 0;
right: 0;
bottom: -18px;
}
}


.wizlords-culture-appearance {
.wizlords-class-category-table ul {
box-sizing: border-box;
margin: 0;
width: 300px;
padding-left: 22px;
padding: 4px;
list-style: disc outside;
border: 1px solid var(--wiz-race-table-divider-colour, #9d7531);
background: #171717;
}
}


.wizlords-culture-appearance img {
.wizlords-class-category-table li {
display: block;
display: list-item;
width: 300px;
margin: 0 0 3px;
height: 138px;
object-fit: cover;
border: 0;
background: transparent;
}
}


.wizlords-culture-appearance-caption {
.wizlords-class-category-name {
margin-top: 4px;
color: var(--wiz-link, #ff942d);
color: var(--wiz-text, #d2d2d2);
font-weight: bold;
font-size: 12px;
line-height: 1.3;
}
}


.wizlords-page-image {
.wizlords-class-category-table a,
box-sizing: border-box;
.wizlords-class-card a {
width: min(450px, 100%);
color: var(--wiz-link, #ff942d);
padding: 6px;
text-decoration: none;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #171717;
}
}


.wizlords-page-image p {
.wizlords-class-category-mobile {
margin: 0;
display: none;
padding: 0;
}
}


.wizlords-page-image span,
/* Very narrow phones: use explicit paired category rows instead of trying to
.wizlords-page-image a {
  re-map MediaWiki's desktop table, whose headers and lists are rendered in
display: block;
  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-page-image.right {
.wizlords-class-category-mobile {
float: right;
display: block;
margin: 0 0 16px 24px;
width: 100%;
}
max-width: 420px;
margin: 18px auto 24px;
border: 0 !important;
overflow: visible;
background: #171717;
color: var(--wiz-text, #d2d2d2);
}


.wizlords-page-image.left {
.wizlords-class-category-mobile-row {
float: left;
display: grid;
margin: 0 24px 16px 0;
grid-template-columns: 44% 56%;
}
align-items: stretch;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-bottom: 0;
}


.wizlords-page-image img {
.wizlords-class-category-mobile-row:last-child {
display: block;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
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 {
.wizlords-class-category-mobile-heading {
margin-top: 7px;
box-sizing: border-box;
padding: 0 4px;
padding: 8px 8px !important;
color: var(--wiz-text, #d2d2d2);
border-right: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
font-size: 12px;
background: #1f1e1e;
line-height: 1.3;
color: var(--wiz-heading, #e7e1d4);
}
font-size: 16px;
font-weight: bold;
text-align: center;
}


.wizlords-culture-row-classes {
.wizlords-class-category-mobile-list {
color: var(--wiz-text, #d2d2d2);
box-sizing: border-box;
font-size: 14px;
display: flex;
}
align-items: center;
padding: 8px 10px !important;
background: #171717;
}


.wizlords-culture-class-list {
.wizlords-class-category-mobile .wizlords-class-category-icon {
display: grid;
margin-bottom: 4px;
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-class-list li {
.wizlords-class-category-mobile .wizlords-class-category-icon img {
display: list-item;
width: 64px;
margin: 0;
height: auto;
padding: 0;
max-width: 100%;
}
}


.wizlords-culture-class-list li::marker {
.wizlords-class-category-mobile ul {
color: var(--wiz-text, #d2d2d2);
margin: 0;
}
padding-left: 18px;
list-style: disc outside;
}


/* Tablet and small-desktop layouts use a three-column grid. */
.wizlords-class-category-mobile li {
@media (min-width: 600px) and (max-width: 1199px) {
display: list-item;
.wiz-grid {
margin: 0 0 3px;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
}
}


/* Phone layout uses two columns. */
.wizlords-class-card-grid {
@media (max-width: 599px) {
display: grid;
.wiz-grid {
grid-template-columns: repeat(6, minmax(0, 1fr));
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
gap: 14px;
}
margin: 16px auto 24px;
}
}


/* CLASS OVERVIEW PAGE */
.wizlords-class-card {
/* ------------------- */
grid-column: span 2;
.wizlords-classes-page {
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
max-width: 100%;
background: #171717;
display: flex;
flex-direction: column;
scroll-margin-top: 90px;
}
}


.wizlords-classes-page ul {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
list-style: disc outside;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
padding-left: 28px;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
grid-column: 2 / span 2;
}
}


.wizlords-classes-page li {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
display: list-item;
.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 {
.wizlords-class-card-title {
width: 100%;
padding: 0 12px 10px;
min-width: 0;
color: var(--wiz-link, #ff942d);
max-width: 640px;
font-weight: bold;
margin: 18px auto 24px;
font-size: 18px;
border: 0 !important;
line-height: 1.25;
background: #171717;
text-align: center;
color: var(--wiz-text, #d2d2d2);
border-collapse: collapse;
table-layout: fixed;
}
}


.wizlords-class-category-table th,
.wizlords-class-card-icon {
.wizlords-class-category-table td {
padding: 18px 12px 8px;
box-sizing: border-box;
width: 33.333%;
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
vertical-align: top;
}
 
.wizlords-class-category-table th {
padding: 8px 18px !important;
background: #1f1e1e !important;
color: var(--wiz-heading, #e7e1d4) !important;
font-size: 18px;
text-align: center;
text-align: center;
}
}


.wizlords-class-category-icon {
.wizlords-class-card-icon img {
margin: 0 0 6px;
text-align: center;
}
 
.wizlords-class-category-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-mobile {
.wizlords-class-category-accordion-martial {
display: none;
--wiz-class-category-accent: #9d7531;
}
}


/* Very narrow phones: use explicit paired category rows instead of trying to
.wizlords-class-category-accordion-arcane {
  re-map MediaWiki's desktop table, whose headers and lists are rendered in
--wiz-class-category-accent: #d66be3;
  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-divine {
display: block;
--wiz-class-category-accent: #19c4eb;
width: 100%;
}
max-width: 420px;
margin: 18px auto 24px;
border: 0 !important;
overflow: visible;
background: #171717;
color: var(--wiz-text, #d2d2d2);
}


.wizlords-class-category-mobile-row {
.wizlords-class-category-accordion-heading {
display: grid;
display: flex;
grid-template-columns: 44% 56%;
align-items: center;
align-items: stretch;
gap: 8px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
margin: 0 0 4px;
border-bottom: 0;
padding-top: 4px;
}
padding-bottom: 2px;
border-bottom: 0;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 24px;
}
 
.wizlords-class-category-accordion .wizlords-class-card-grid {
margin-top: 4px;
margin-bottom: 12px;
}


.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);
font-style: italic;
}


.wizlords-class-category-mobile li {
.wizlords-magic-intro {
display: list-item;
display: flex;
margin: 0 0 3px;
align-items: center;
}
gap: 22px;
margin: 12px 0 18px;
}
}


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


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


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


.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
.wizlords-section-divider {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
width: 55%;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4) {
height: 1px;
grid-column: 4 / span 2;
margin: 22px auto 18px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-class-card-title {
/* SHARED STANDARD TABLE
padding: 0 12px 10px;
  ---------------------
color: var(--wiz-link, #ff942d);
  Opt-in colour and border treatment for ordinary custom wiki tables.
font-weight: bold;
  Add "wizlords-table" beside "wikitable" instead of overriding every
font-size: 18px;
  MediaWiki-generated wikitable. Component-specific classes continue to own
line-height: 1.25;
  specialised widths, alignment, captions, and collapsible behaviour. */
text-align: center;
.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 {
.wikitable.wizlords-table th,
padding: 18px 12px 8px;
.wikitable.wizlords-table td,
text-align: center;
.wizlords-table th,
.wizlords-table td {
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-icon img {
.wikitable.wizlords-table th,
display: inline-block;
.wizlords-table th {
width: 250px;
background: #1f1e1e !important;
height: 250px;
color: var(--wiz-heading, #e7e1d4) !important;
object-fit: contain;
}
}


.wizlords-class-card-body {
.wikitable.wizlords-magic-table,
padding: 12px;
.wizlords-magic-table {
background: #1f1e1e;
width: auto;
line-height: 1.5;
min-width: 520px;
flex: 1 1 auto;
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-summary {
.wikitable.wizlords-example-table,
font-style: italic;
.wizlords-example-table {
width: 100%;
max-width: 600px;
margin-left: 0;
margin-right: auto;
}
}


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


.wizlords-class-card-rules {
.wikitable.wizlords-example-table-full-heal th:first-child,
color: var(--wiz-text, #d2d2d2);
.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-card-rules div {
.wikitable.wizlords-example-table-full-heal th:nth-child(2),
margin: 0 0 4px;
.wikitable.wizlords-example-table-full-heal td:nth-child(2),
.wizlords-example-table-full-heal th:nth-child(2),
.wizlords-example-table-full-heal td:nth-child(2) {
width: 66%;
}
}


.wizlords-class-category-accordion {
.wikitable.wizlords-magic-table th,
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
.wikitable.wizlords-magic-table td,
margin: 5px 0 14px;
.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-martial {
.wikitable.wizlords-magic-table th,
--wiz-class-category-accent: #9d7531;
.wizlords-magic-table th {
background: #1f1e1e !important;
color: var(--wiz-heading, #e7e1d4) !important;
text-align: center;
}
}


.wizlords-class-category-accordion-arcane {
.wikitable.wizlords-reward-table,
--wiz-class-category-accent: #d66be3;
.wizlords-reward-table {
}
min-width: 0;
 
max-width: none;
.wizlords-class-category-accordion-divine {
width: auto;
--wiz-class-category-accent: #19c4eb;
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: 0 0 4px;
white-space: nowrap;
padding-top: 4px;
padding-bottom: 2px;
border-bottom: 0;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 24px;
}
}


.wizlords-class-category-accordion .wizlords-class-card-grid {
.wikitable.wizlords-reward-table th:nth-child(2),
margin-top: 4px;
.wikitable.wizlords-reward-table td:nth-child(2),
margin-bottom: 12px;
.wizlords-reward-table th:nth-child(2),
.wizlords-reward-table td:nth-child(2) {
text-align: center;
}
}


.wizlords-class-category-accordion-title {
@media (max-width: 899px) {
color: var(--wiz-heading, #e7e1d4);
.wikitable.wizlords-reward-table,
.wizlords-reward-table {
margin-left: auto;
margin-right: auto;
}
}
}


.wizlords-class-category-accordion-icon {
.wikitable.wizlords-example-table caption,
display: inline-flex;
.wizlords-example-table caption {
align-items: center;
color: var(--wiz-heading, #e7e1d4);
justify-content: center;
font-weight: bold;
width: 30px;
text-align: center;
height: 30px;
vertical-align: middle;
line-height: 1;
}
}


.wizlords-class-category-accordion-icon span,
.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wizlords-class-category-accordion-icon a {
.wizlords-example-table caption .mw-collapsible-toggle {
display: inline-flex;
color: var(--wiz-text, #d2d2d2) !important;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
line-height: 1;
}
}


.wizlords-class-category-accordion-icon img {
.wikitable.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
display: block;
.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
width: 28px !important;
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a,
height: 28px !important;
.wizlords-example-table caption .mw-collapsible-toggle a {
max-width: 28px !important;
color: var(--wiz-link, #ff942d) !important;
max-height: 28px !important;
object-fit: contain;
}
}


.wizlords-class-category-accordion-body {
.wikitable.wizlords-example-table th,
display: block;
.wikitable.wizlords-example-table td,
.wizlords-example-table th,
.wizlords-example-table td {
text-align: center;
}
}


/* MAGIC PAGE */
@media (max-width: 899px) {
/* ---------- */
.wikitable.wizlords-example-table,
.wizlords-magic-used-by {
.wizlords-example-table {
margin: 4px 0 14px;
min-width: 0;
padding-left: 18px;
width: 100%;
color: var(--wiz-text, #d2d2d2);
box-sizing: border-box;
font-style: italic;
table-layout: fixed;
}
max-width: 600px;
margin: 14px auto 18px;
border: 0 !important;
border-radius: 0;
}


.wizlords-magic-intro {
.wikitable.wizlords-example-table-full-heal,
display: flex;
.wizlords-example-table-full-heal {
align-items: center;
max-width: 500px;
gap: 22px;
}
margin: 12px 0 18px;
}


.wizlords-magic-intro-icon {
.wikitable.wizlords-example-table.mw-collapsed,
flex: 0 0 auto;
.wizlords-example-table.mw-collapsed {
}
background: transparent !important;
}


.wizlords-magic-intro-icon img {
.wikitable.wizlords-example-table caption,
display: block;
.wizlords-example-table caption {
width: 100px;
display: table-caption !important;
height: 100px;
caption-side: top;
object-fit: contain;
width: auto;
}
max-width: none;
 
box-sizing: border-box;
.wizlords-magic-quote {
padding: 0;
padding-left: 20px;
margin: 0 0 6px;
border-left: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border: 0 !important;
color: var(--wiz-text, #d2d2d2);
background: transparent !important;
font-style: italic;
white-space: nowrap;
line-height: 1.55;
text-align: center !important;
}
cursor: pointer;
}


.wizlords-section-divider {
.wikitable.wizlords-example-table.mw-collapsed caption::before,
width: 55%;
.wizlords-example-table.mw-collapsed caption::before {
height: 1px;
content: "";
margin: 22px auto 18px;
display: inline-block;
background: var(--wiz-race-table-divider-colour, #9d7531);
width: 8px;
}
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-magic-table,
.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before,
.wizlords-magic-table {
.wizlords-example-table:not(.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(10%) rotate(225deg);
}
transform-origin: 50% 50%;
}


.wikitable.wizlords-example-table,
.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wizlords-example-table {
.wizlords-example-table caption .mw-collapsible-toggle {
width: 100%;
display: none !important;
max-width: 600px;
}
margin-left: 0;
margin-right: auto;
}


.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;
color: var(--wiz-heading, #e7e1d4) !important;
text-align: center;
}
 
.wikitable.wizlords-reward-table,
.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;
}
 
.wikitable.wizlords-reward-table th,
.wikitable.wizlords-reward-table td,
.wizlords-reward-table th,
.wizlords-reward-table td {
white-space: nowrap;
white-space: nowrap;
}
}


.wikitable.wizlords-reward-table th:nth-child(2),
.wikitable.wizlords-reputation-table th:nth-child(1),
.wikitable.wizlords-reward-table td:nth-child(2),
.wikitable.wizlords-reputation-table td:nth-child(1),
.wizlords-reward-table th:nth-child(2),
.wikitable.wizlords-reputation-table th:nth-child(2),
.wizlords-reward-table td:nth-child(2) {
.wikitable.wizlords-reputation-table td:nth-child(2),
text-align: center;
.wizlords-reputation-table th:nth-child(1),
.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;
}
}


@media (max-width: 899px) {
.wikitable.wizlords-reputation-table th:nth-child(3),
.wikitable.wizlords-reward-table,
.wikitable.wizlords-reputation-table td:nth-child(3),
.wizlords-reward-table {
.wizlords-reputation-table th:nth-child(3),
margin-left: auto;
.wizlords-reputation-table td:nth-child(3) {
margin-right: auto;
text-align: left;
}
}
}


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


.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
@media (max-width: 899px) {
.wizlords-example-table caption .mw-collapsible-toggle {
.wikitable.wizlords-reputation-table,
color: var(--wiz-text, #d2d2d2) !important;
.wizlords-reputation-table {
}
width: 100%;
min-width: 0;
max-width: 680px;
margin-right: auto;
margin-left: 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-reputation-table th:nth-child(2),
.wikitable.wizlords-reputation-table td:nth-child(2),
.wizlords-reputation-table th:nth-child(2),
.wizlords-reputation-table td:nth-child(2) {
width: 26%;
text-align: center;
}


.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,
.wikitable.wizlords-reputation-table td:nth-child(3),
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a,
.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table caption .mw-collapsible-toggle a {
.wizlords-reputation-table td:nth-child(3) {
color: var(--wiz-link, #ff942d) !important;
width: 52%;
}
text-align: left;
}


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


@media (max-width: 899px) {
@media (max-width: 380px) {
.wikitable.wizlords-example-table,
.wikitable.wizlords-reputation-table th,
.wizlords-example-table {
.wikitable.wizlords-reputation-table td,
min-width: 0;
.wizlords-reputation-table th,
width: 100%;
.wizlords-reputation-table td {
box-sizing: border-box;
padding: 7px 5px !important;
table-layout: fixed;
font-size: 12px;
max-width: 600px;
line-height: 1.35;
margin: 14px auto 18px;
}
border: 0 !important;
 
border-radius: 0;
.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: 21%;
}
}


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


.wikitable.wizlords-example-table.mw-collapsed,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table.mw-collapsed {
.wikitable.wizlords-reputation-table td:nth-child(3),
background: transparent !important;
.wizlords-reputation-table th:nth-child(3),
.wizlords-reputation-table td:nth-child(3) {
width: 54%;
}
}
}


.wikitable.wizlords-example-table caption,
@media (min-width: 600px) and (max-width: 899px) {
.wizlords-example-table caption {
.wikitable.wizlords-reputation-table th:nth-child(1),
display: table-caption !important;
.wikitable.wizlords-reputation-table td:nth-child(1),
caption-side: top;
.wizlords-reputation-table th:nth-child(1),
width: auto;
.wizlords-reputation-table td:nth-child(1) {
max-width: none;
width: 18%;
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(2),
.wizlords-example-table.mw-collapsed caption::before {
.wikitable.wizlords-reputation-table td:nth-child(2),
content: "";
.wizlords-reputation-table th:nth-child(2),
display: inline-block;
.wizlords-reputation-table td:nth-child(2) {
width: 8px;
width: 22%;
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,
.wikitable.wizlords-reputation-table th:nth-child(3),
.wizlords-example-table:not(.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(10%) rotate(225deg);
transform-origin: 50% 50%;
}
}
}


.wikitable.wizlords-example-table caption .mw-collapsible-toggle,
.wizlords-indented-note {
.wizlords-example-table caption .mw-collapsible-toggle {
margin: 8px 0 14px 28px;
display: none !important;
color: var(--wiz-text, #d2d2d2);
}
}


.wikitable.wizlords-example-table th,
.wizlords-spellbook {
.wikitable.wizlords-example-table td,
margin: 18px 0 28px;
.wizlords-example-table th,
border: 1px solid var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
.wizlords-example-table td {
background: #1f1e1e;
box-sizing: border-box;
padding: 8px 6px !important;
white-space: normal;
overflow-wrap: anywhere;
word-break: normal;
}
}
}


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


.wikitable.wizlords-reputation-table,
.wizlords-spellbook-divine {
.wizlords-reputation-table {
--wiz-spellbook-colour: #089cc0;
width: 100%;
--wiz-spell-card-divider-colour: #19c4eb;
max-width: none;
}
}


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


.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%;
width: 80%;
height: 1px;
background: var(--wiz-spellbook-colour);
}
}


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


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


.wizlords-spellbook-bottom-toggle span,
.wizlords-servant-rules-title {
.wizlords-spellbook-bottom-toggle a {
padding: 12px 16px 4px;
color: var(--wiz-link, #ff942d) !important;
color: var(--wiz-spellbook-colour);
}
 
.wizlords-spellbook .mw-collapsible-content {
padding: 0 18px 20px;
}
 
.wizlords-spell-category-heading {
position: relative;
margin: 0 0 3px;
padding: 0;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-size: 18px;
font-weight: bold;
font-weight: bold;
line-height: 1.3;
line-height: 1.25;
text-align: center;
}
}


.wizlords-spell-category-description {
.wizlords-servant-rules-hint {
margin: 0 0 12px;
display: none;
padding: 0 16px 12px;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-style: italic;
font-style: italic;
font-weight: bold;
text-align: center;
}
 
.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
display: block;
}
}


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


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


.wizlords-spell-card-grid {
.wizlords-servant-rules-grid {
display: grid;
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
gap: 18px;
margin: 16px auto 26px;
padding: 0 16px 16px;
}
}


.wizlords-servant-rules {
.wizlords-servant-rules-section {
margin: 16px 0 18px;
line-height: 1.45;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-servant-rules-title {
.wizlords-servant-rules-section ul {
padding: 12px 16px 4px;
margin: 6px 0 0;
color: var(--wiz-spellbook-colour);
padding-left: 22px;
font-size: 18px;
list-style: disc outside;
font-weight: bold;
line-height: 1.25;
text-align: center;
}
}


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


.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
.wizlords-spell-card {
display: block;
grid-column: span 2;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-servant-rules:not(.mw-collapsed) .wizlords-servant-rules-hint {
.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1) {
display: none;
grid-column: 3 / span 2;
}
}


.wizlords-servant-rules > .mw-collapsible-toggle {
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
margin: 12px 16px 0 0;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
color: var(--wiz-text, #d2d2d2) !important;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3) {
grid-column: 2 / span 2;
}
}


.wizlords-servant-rules > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-servant-rules > .mw-collapsible-toggle a {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
color: var(--wiz-link, #ff942d) !important;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4) {
grid-column: 4 / span 2;
}
 
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4) {
grid-column: 2 / span 2;
}
 
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
grid-column: 4 / span 2;
}
}


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


.wizlords-servant-rules-section {
.wizlords-spell-card-meta {
padding: 0 12px;
line-height: 1.45;
line-height: 1.45;
}
}


.wizlords-servant-rules-section ul {
.wizlords-spell-card-meta ul {
margin: 6px 0 0;
margin: 4px 0 0;
padding-left: 22px;
padding-left: 22px;
list-style: disc outside;
list-style: disc outside;
}
}


.wizlords-servant-rules-section li {
.wizlords-spell-card-meta li {
display: list-item;
display: list-item;
margin: 0 0 3px;
margin: 0 0 3px;
}
}


.wizlords-spell-card {
.wizlords-spell-card-divider {
grid-column: span 2;
width: 55%;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
height: 1px;
background: #171717;
margin: 14px auto 12px;
color: var(--wiz-text, #d2d2d2);
background: var(--wiz-spell-card-divider-colour, var(--wiz-race-table-divider-colour, #9d7531));
}
}


.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1) {
.wizlords-spell-card-section {
grid-column: 3 / span 2;
padding: 0 12px 12px;
line-height: 1.45;
}
}


.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-section ul {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
margin: 6px 0 0;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3) {
padding-left: 22px;
grid-column: 2 / span 2;
list-style: disc outside;
}
}


.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-section li {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
display: list-item;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4) {
margin: 0 0 3px;
grid-column: 4 / span 2;
}
}


.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4) {
.wizlords-spell-card-body {
grid-column: 2 / span 2;
padding: 0 12px 14px;
line-height: 1.45;
}
}


.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
/* WIZLORDS NAVBOX */
grid-column: 4 / span 2;
/* --------------- */
.ww-navbox {
clear: both;
width: 100%;
margin: 24px auto 12px;
padding: 3px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: #1f1e1e;
color: var(--wiz-text, #d2d2d2);
font-size: 88%;
line-height: 1.5;
text-align: center;
box-sizing: border-box;
}
}


.wizlords-spell-card-title {
.ww-navbox-title {
padding: 12px;
padding: 4px 10px 5px;
color: var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
background: #1a1a1a;
font-size: 18px;
color: var(--wiz-link, #ff942d);
font-size: 16px;
font-weight: bold;
font-weight: bold;
line-height: 1.25;
line-height: 1.35;
text-align: center;
text-align: center;
}
}


.wizlords-spell-card-meta {
.ww-navbox > .mw-collapsible-toggle {
padding: 0 12px;
position: relative;
line-height: 1.45;
z-index: 2;
float: right;
margin: 4px 8px 0 0;
color: var(--wiz-text, #d2d2d2) !important;
font-weight: bold;
}
}


.wizlords-spell-card-meta ul {
.ww-navbox > .mw-collapsible-toggle .mw-collapsible-text,
margin: 4px 0 0;
.ww-navbox > .mw-collapsible-toggle a {
padding-left: 22px;
color: var(--wiz-link, #ff942d) !important;
list-style: disc outside;
text-decoration: none;
}
}


.wizlords-spell-card-meta li {
.ww-navbox > .mw-collapsible-content {
display: list-item;
display: flex;
margin: 0 0 3px;
flex-direction: column;
clear: both;
margin: 0;
padding: 0;
}
}


.wizlords-spell-card-divider {
.ww-navbox-row {
width: 55%;
display: flex;
height: 1px;
margin: 0;
margin: 14px auto 12px;
border-top: 2px solid var(--wiz-content-background, #222);
background: var(--wiz-spell-card-divider-colour, var(--wiz-race-table-divider-colour, #9d7531));
border-left: 2px solid var(--wiz-content-background, #222);
border-right: 2px solid var(--wiz-content-background, #222);
line-height: 1.5;
}
}


.wizlords-spell-card-section {
.ww-navbox-row:first-of-type {
padding: 0 12px 12px;
border-top: 2px solid var(--wiz-content-background, #222);
line-height: 1.45;
}
}


.wizlords-spell-card-section ul {
.ww-navbox-row:last-of-type {
margin: 6px 0 0;
border-bottom: 2px solid var(--wiz-content-background, #222);
padding-left: 22px;
list-style: disc outside;
}
}


.wizlords-spell-card-section li {
.ww-navbox-row:nth-child(odd) {
display: list-item;
background: #222;
margin: 0 0 3px;
}
}


.wizlords-spell-card-body {
.ww-navbox-row:nth-child(even) {
padding: 0 12px 14px;
background: #252525;
line-height: 1.45;
}
}


/* WIZLORDS NAVBOX */
.ww-navbox-group {
/* --------------- */
flex: 0 0 143px;
.ww-navbox {
width: 143px;
clear: both;
padding: 4px 10px;
width: 100%;
border-right: 2px solid var(--wiz-content-background, #222);
margin: 24px auto 12px;
background: #1a1a1a;
padding: 3px;
color: var(--wiz-link, #ff942d);
border: 1px solid var(--wiz-content-border, #ff942d);
font-weight: bold;
background: #1f1e1e;
text-align: right;
color: var(--wiz-text, #d2d2d2);
font-size: 88%;
line-height: 1.5;
text-align: center;
box-sizing: border-box;
box-sizing: border-box;
white-space: normal;
overflow-wrap: anywhere;
}
}


.ww-navbox-title {
.ww-navbox-list {
padding: 4px 10px 5px;
flex: 1;
background: #1a1a1a;
padding: 4px 10px;
color: var(--wiz-link, #ff942d);
text-align: left;
font-size: 16px;
box-sizing: border-box;
font-weight: bold;
background: inherit;
line-height: 1.35;
text-align: center;
}
}


.ww-navbox > .mw-collapsible-toggle {
.ww-navbox p {
position: relative;
margin: 0;
z-index: 2;
float: right;
margin: 4px 8px 0 0;
color: var(--wiz-text, #d2d2d2) !important;
font-weight: bold;
}
}


.ww-navbox > .mw-collapsible-toggle .mw-collapsible-text,
.ww-navbox > .mw-collapsible-content > p:empty,
.ww-navbox > .mw-collapsible-toggle a {
.ww-navbox > .mw-collapsible-content > p:has(> br:only-child) {
display: none;
}
 
.ww-navbox a {
color: var(--wiz-link, #ff942d) !important;
color: var(--wiz-link, #ff942d) !important;
font-weight: bold;
text-decoration: none;
text-decoration: none;
}
}


.ww-navbox > .mw-collapsible-content {
.ww-navbox a:hover {
display: flex;
color: #ffd37a !important;
flex-direction: column;
text-decoration: none;
clear: both;
margin: 0;
padding: 0;
}
}


.ww-navbox-row {
.wizlords-navbox-divider {
display: flex;
width: 90%;
margin: 0;
height: 1px;
border-top: 2px solid var(--wiz-content-background, #222);
margin: 16px auto 14px;
border-left: 2px solid var(--wiz-content-background, #222);
background: #9d7531;
border-right: 2px solid var(--wiz-content-background, #222);
line-height: 1.5;
}
}


.ww-navbox-row:first-of-type {
.ww-navbox-stack > .ww-navbox-title {
border-top: 2px solid var(--wiz-content-background, #222);
border-bottom: 1px solid #9d7531;
}
}


.ww-navbox-row:last-of-type {
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox {
border-bottom: 2px solid var(--wiz-content-background, #222);
margin: 0;
padding-top: 0;
padding-bottom: 0;
border-top: 0;
border-left: 0;
border-right: 0;
border-bottom: 0;
font-size: 100%;
}
}


.ww-navbox-row:nth-child(odd) {
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:first-child {
background: #222;
border-top: 0;
}
}


.ww-navbox-row:nth-child(even) {
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
background: #252525;
border-bottom: 0;
}
}


.ww-navbox-group {
/* The Player Guide is a desktop/tablet site index. Keep it out of the phone
flex: 0 0 143px;
  layout along with the divider that belongs to it. */
width: 143px;
@media screen and (max-width: 599px) {
padding: 4px 10px;
.ww-navbox-stack,
border-right: 2px solid var(--wiz-content-background, #222);
.wizlords-navbox-divider {
background: #1a1a1a;
display: none !important;
color: var(--wiz-link, #ff942d);
}
font-weight: bold;
text-align: right;
box-sizing: border-box;
white-space: normal;
overflow-wrap: anywhere;
}
}


.ww-navbox-list {
/* Phone and tablet card placement reset; the phone query below then reduces
flex: 1;
  these grids from two columns to one. */
padding: 4px 10px;
@media (max-width: 899px) {
text-align: left;
.wizlords-spellbooks-desktop {
box-sizing: border-box;
display: none;
background: inherit;
}
}


.ww-navbox p {
.wizlords-spellbooks-mobile {
margin: 0;
display: block;
}
}


.ww-navbox > .mw-collapsible-content > p:empty,
.wizlords-class-card-grid,
.ww-navbox > .mw-collapsible-content > p:has(> br:only-child) {
.wizlords-spell-card-grid {
display: none;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}


.ww-navbox a {
.wizlords-servant-rules-grid {
color: var(--wiz-link, #ff942d) !important;
grid-template-columns: repeat(2, minmax(0, 1fr));
font-weight: bold;
}
text-decoration: none;
}


.ww-navbox a:hover {
.wizlords-class-card,
color: #ffd37a !important;
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
text-decoration: none;
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
}
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4),
.wizlords-spell-card,
.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4),
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4),
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
grid-column: auto;
}


.wizlords-navbox-divider {
.wizlords-mobile-spellbook {
width: 90%;
margin: 18px 0 30px;
height: 1px;
}
margin: 16px auto 14px;
background: #9d7531;
}


.ww-navbox-stack > .ww-navbox-title {
.wizlords-mobile-spellbook-header {
border-bottom: 1px solid #9d7531;
position: relative;
}
display: flex;
align-items: center;
justify-content: center;
gap: 9px;
margin: 22px 0 10px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
cursor: pointer;
}


.ww-navbox-stack > .mw-collapsible-content > .ww-navbox {
.wizlords-mobile-spellbook-header::before {
margin: 0;
content: "";
padding-top: 0;
flex: 0 0 auto;
padding-bottom: 0;
width: 8px;
border-top: 0;
height: 8px;
border-left: 0;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
border-right: 0;
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
border-bottom: 0;
transform: translateY(-2px) rotate(45deg);
font-size: 100%;
transform-origin: 50% 50%;
}
}


.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:first-child {
.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header::before {
border-top: 0;
transform: translateY(2px) rotate(225deg);
}
 
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
border-bottom: 0;
}
 
/* Phone and tablet card placement reset; the phone query below then reduces
  these grids from two columns to one. */
@media (max-width: 899px) {
.wizlords-spellbooks-desktop {
display: none;
}
}


.wizlords-spellbooks-mobile {
.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header {
display: block;
border-bottom-color: var(--wiz-mobile-spellbook-accent, var(--wiz-content-border, #ff942d));
}
}


.wizlords-class-card-grid,
.wizlords-mobile-spellbook-header:focus {
.wizlords-spell-card-grid {
outline: 2px solid var(--wiz-content-border, #ff942d);
grid-template-columns: repeat(2, minmax(0, 1fr));
outline-offset: 3px;
}
}


.wizlords-servant-rules-grid {
.wizlords-mobile-spellbook-title {
grid-template-columns: repeat(2, minmax(0, 1fr));
flex: 0 1 auto;
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;
}
}


.wizlords-class-card,
.wizlords-mobile-spellbook-icon {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4),
.wizlords-spell-card,
.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4),
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4),
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
grid-column: auto;
}
 
.wizlords-mobile-spellbook {
margin: 18px 0 30px;
}
 
.wizlords-mobile-spellbook-header {
position: relative;
display: flex;
display: flex;
flex: 0 0 auto;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
gap: 9px;
width: 32px;
margin: 22px 0 10px;
height: 32px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
cursor: pointer;
}
}


.wizlords-mobile-spellbook-header::before {
.wizlords-mobile-spellbook-icon img {
content: "";
display: block;
flex: 0 0 auto;
width: 30px !important;
width: 8px;
height: 30px !important;
height: 8px;
max-width: 30px !important;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
max-height: 30px !important;
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
object-fit: contain;
transform: translateY(-2px) rotate(45deg);
transform-origin: 50% 50%;
}
}


.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header::before {
.wizlords-mobile-spellbook-body {
transform: translateY(2px) rotate(225deg);
display: none;
}
}


.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header {
.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-body {
border-bottom-color: var(--wiz-mobile-spellbook-accent, var(--wiz-content-border, #ff942d));
display: block;
}
}


.wizlords-mobile-spellbook-header:focus {
.wizlords-mobile-spellbook-collapse {
outline: 2px solid var(--wiz-content-border, #ff942d);
position: relative;
outline-offset: 3px;
display: flex;
}
align-items: center;
 
justify-content: center;
.wizlords-mobile-spellbook-title {
width: 100%;
flex: 0 1 auto;
min-height: 28px;
margin: 14px auto 0;
padding-bottom: 3px;
border-bottom: 1px solid var(--wiz-mobile-spellbook-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-size: 18px;
font-size: 24px;
font-weight: 700;
font-weight: 700;
line-height: 1.25;
line-height: 1.3;
text-align: center;
cursor: pointer;
}
}


.wizlords-mobile-spellbook-icon {
.wizlords-mobile-spellbook-collapse::before {
display: flex;
content: "";
flex: 0 0 auto;
width: 11px;
align-items: center;
height: 11px;
justify-content: center;
border-right: 2px solid currentColor;
width: 32px;
border-bottom: 2px solid currentColor;
height: 32px;
transform: translateY(4px) rotate(225deg);
transform-origin: 50% 50%;
}
}


.wizlords-mobile-spellbook-icon img {
.wizlords-mobile-spellbook-collapse:focus {
display: block;
outline: 2px solid var(--wiz-content-border, #ff942d);
width: 30px !important;
outline-offset: 3px;
height: 30px !important;
max-width: 30px !important;
max-height: 30px !important;
object-fit: contain;
}
}


.wizlords-mobile-spellbook-body {
.wizlords-mobile-spell-category {
display: none;
margin: 18px 0 22px;
}
}


.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-body {
.wizlords-mobile-spell-category-heading {
display: block;
box-sizing: border-box;
}
 
.wizlords-mobile-spellbook-collapse {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
width: 100%;
min-height: 28px;
max-width: 560px;
margin: 14px auto 0;
margin: 0 auto 4px;
padding-bottom: 3px;
border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-heading, #e7e1d4);
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-size: 18px;
font-weight: 700;
font-weight: 700;
line-height: 1.3;
line-height: 1.3;
cursor: pointer;
text-align: left;
}
}


.wizlords-mobile-spellbook-collapse::before {
.wizlords-mobile-spell-category-description {
content: "";
box-sizing: border-box;
width: 11px;
width: 100%;
height: 11px;
max-width: 560px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: translateY(4px) rotate(225deg);
transform-origin: 50% 50%;
}
 
.wizlords-mobile-spellbook-collapse:focus {
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 3px;
}
 
.wizlords-mobile-spell-category {
margin: 18px 0 22px;
}
 
.wizlords-mobile-spell-category-heading {
box-sizing: border-box;
width: 100%;
max-width: 560px;
margin: 0 auto 4px;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: 700;
line-height: 1.3;
text-align: left;
}
 
.wizlords-mobile-spell-category-description {
box-sizing: border-box;
width: 100%;
max-width: 560px;
margin: 0 auto 12px;
margin: 0 auto 12px;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
Line 2,437: Line 2,379:
}
}


/* 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 30px;
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;
flex-wrap: nowrap;
margin: 0 !important;
box-sizing: border-box;
object-fit: contain;
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 {
.skin-citizen .wizlords-culture-card-title {
display: contents;
position: relative;
margin: 0;
grid-row: 1;
padding: 0;
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.is-open
.skin-citizen .wizlords-culture-card-title::before {
.wizlords-class-category-accordion-heading {
content: "";
border-bottom-color: var(--wiz-class-category-accent);
position: absolute;
}
top: 50%;
 
left: 1px;
.skin-citizen .wizlords-class-category-accordion-heading::before {
width: 7px;
content: "";
height: 7px;
flex: 0 0 auto;
width: 8px;
height: 8px;
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;
min-width: 0;
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;
white-space: nowrap;
}
}


.skin-citizen .wizlords-class-category-accordion-icon {
.skin-citizen .wizlords-culture-card-body > p:first-of-type {
display: inline-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;
min-width: 32px;
font-style: italic;
line-height: 1;
line-height: 1.35;
vertical-align: middle;
}
 
.skin-citizen .wizlords-culture-card-body > :not(p:first-of-type),
.skin-citizen .wizlords-culture-card-body > p:not(:first-of-type) {
display: none;
}
}


.skin-citizen .wizlords-class-category-accordion-icon span,
.skin-citizen .wizlords-culture-card.is-open {
.skin-citizen .wizlords-class-category-accordion-icon a {
align-items: start;
display: inline-flex;
padding-bottom: 12px;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
line-height: 1;
}
}


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


.skin-citizen .wizlords-class-category-accordion-body {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > :not(p:first-of-type) {
display: none;
display: block;
grid-column: 1 / -1;
}
}


.skin-citizen .wizlords-class-category-accordion.is-open
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > p:not(:first-of-type) {
.wizlords-class-category-accordion-body {
display: block;
display: block;
grid-column: 1 / -1;
margin: 8px 0 0;
font-style: normal;
line-height: 1.45;
}
}


.wizlords-mobile-spell-card.is-open {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-classes,
align-content: start;
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-known-for,
padding-top: 24px;
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-suggested-class,
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-class-note {
margin-top: 8px;
line-height: 1.45;
}
}


.wizlords-mobile-spell-card:focus {
.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body ul {
outline: 2px solid var(--wiz-content-border, #ff942d);
display: block;
outline-offset: 2px;
grid-column: 1 / -1;
margin: 6px 0 0;
padding-left: 24px;
}
}


.wizlords-mobile-spell-card-icon {
.skin-citizen .wizlords-culture-card.is-open > .wizlords-available-classes-list {
grid-row: 1 / span 2;
grid-column: 1 / -1;
grid-column: 1;
align-self: center;
box-sizing: border-box;
width: 88px;
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 li {
display: block;
display: list-item;
width: 88px !important;
margin-bottom: 3px;
height: 88px !important;
max-width: 88px !important;
max-height: 88px !important;
object-fit: contain;
}
}


.wizlords-mobile-spell-card-title {
.skin-citizen .wizlords-shared-classes {
position: relative;
max-width: 560px;
grid-row: 1;
margin-right: auto;
grid-column: 2;
margin-left: auto;
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 {
/* Race Available Classes lists: compact responsive columns. */
content: "";
.skin-citizen .wizlords-available-classes-list {
position: absolute;
display: block !important;
top: 50%;
width: 100%;
left: 1px;
margin: 6px 0 0;
width: 7px;
padding-left: 22px;
height: 7px;
column-count: 1;
border-right: 2px solid var(--wiz-heading, #e7e1d4);
column-gap: 1.5em;
border-bottom: 2px solid var(--wiz-heading, #e7e1d4);
list-style: disc outside;
transform: translateY(-65%) rotate(45deg);
transform-origin: 50% 50%;
}
}


.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-title::before {
.skin-citizen .wizlords-culture-card .wizlords-available-classes-list {
transform: translateY(-35%) rotate(225deg);
display: none !important;
grid-column: 1 / -1;
width: auto;
min-width: 0;
max-width: 100%;
margin-top: 8px;
margin-right: 0;
margin-left: 0;
column-count: 1;
column-gap: 0;
}
}


.wizlords-mobile-spell-card-summary {
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list {
grid-row: 2;
display: block !important;
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;
}
}


.wizlords-mobile-spell-card-rules {
.skin-citizen .wizlords-available-classes-list.is-multicolumn {
display: none;
column-count: 2;
grid-column: 1 / -1;
margin-top: 10px;
padding: 10px 10px 2px;
border-top: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-text, #d2d2d2);
background: #171717;
line-height: 1.45;
}
}


.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-rules {
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list.is-multicolumn {
display: block;
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2px 18px;
column-count: auto;
}
}


.wizlords-mobile-spell-card-rules .wizlords-spell-card-meta,
.skin-citizen .wizlords-available-classes-list.is-drakeling-list {
.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-available-classes-list li {
width: 55%;
display: list-item;
height: 1px;
margin: 0 0 4px;
margin: 10px auto;
break-inside: avoid;
background: var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
page-break-inside: avoid;
}
 
.skin-citizen .wizlords-available-classes-list a {
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
}


.wizlords-mobile-servant-rules-divider {
.skin-citizen .wizlords-available-classes-list a:hover {
width: 100%;
color: #ffd37a;
max-width: 560px;
text-decoration: none;
height: 1px;
margin: 18px auto 14px;
background: rgba(255, 255, 255, 0.18);
}
}


.wizlords-mobile-servant-rules-card {
.skin-citizen .wizlords-shared-classes .wizlords-available-classes-list {
box-sizing: border-box;
width: auto;
width: 100%;
max-width: 100%;
max-width: 560px;
margin-right: auto;
margin: 0 auto 10px;
margin-left: auto;
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 {
/* Mobile/tablet class category accordions.
outline: 2px solid var(--wiz-content-border, #ff942d);
  These are custom controls inside the real "Classes" article section, so
outline-offset: 2px;
  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-title {
.skin-citizen .wizlords-class-category-accordion-martial {
--wiz-class-category-accent: #9d7531;
}
 
.skin-citizen .wizlords-class-category-accordion-arcane {
--wiz-class-category-accent: #d66be3;
}
 
.skin-citizen .wizlords-class-category-accordion-divine {
--wiz-class-category-accent: #19c4eb;
}
 
.skin-citizen .wizlords-class-category-accordion-heading {
position: relative;
position: relative;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
gap: 8px;
gap: 9px;
margin: 0 0 10px;
flex-wrap: nowrap;
padding: 0 18px 6px;
box-sizing: border-box;
border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, #d66be3);
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);
color: var(--wiz-heading, #e7e1d4);
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
cursor: pointer;
font-size: 20px;
font-weight: 700;
line-height: 1.25;
text-align: center;
}
}


.wizlords-mobile-servant-rules-title::before {
.skin-citizen .wizlords-class-category-accordion-heading > p {
display: contents;
margin: 0;
padding: 0;
}
 
.skin-citizen .wizlords-class-category-accordion.is-open
.wizlords-class-category-accordion-heading {
border-bottom-color: var(--wiz-class-category-accent);
}
 
.skin-citizen .wizlords-class-category-accordion-heading::before {
content: "";
content: "";
flex: 0 0 auto;
flex: 0 0 auto;
width: 7px;
width: 8px;
height: 7px;
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%;
}
 
.skin-citizen .wizlords-class-category-accordion.is-open
.wizlords-class-category-accordion-heading::before {
transform: translateY(2px) rotate(225deg);
}
 
.skin-citizen .wizlords-class-category-accordion-title {
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;
}
 
.skin-citizen .wizlords-class-category-accordion-icon {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
min-width: 32px;
line-height: 1;
vertical-align: middle;
}
 
.skin-citizen .wizlords-class-category-accordion-icon span,
.skin-citizen .wizlords-class-category-accordion-icon a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
line-height: 1;
}
 
.skin-citizen .wizlords-class-category-accordion-icon img {
display: block;
width: 30px !important;
height: 30px !important;
max-width: 30px !important;
max-height: 30px !important;
object-fit: contain;
}
 
.skin-citizen .wizlords-class-category-accordion-body {
display: none;
}
 
.skin-citizen .wizlords-class-category-accordion.is-open
.wizlords-class-category-accordion-body {
display: block;
}
 
.wizlords-mobile-spell-card.is-open {
align-content: start;
padding-top: 24px;
}
 
.wizlords-mobile-spell-card:focus {
outline: 2px solid var(--wiz-content-border, #ff942d);
outline-offset: 2px;
}
 
.wizlords-mobile-spell-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-mobile-spell-card-icon img {
display: block;
width: 88px !important;
height: 88px !important;
max-width: 88px !important;
max-height: 88px !important;
object-fit: contain;
}
 
.wizlords-mobile-spell-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-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 {
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-mobile-spell-card.is-open .wizlords-mobile-spell-card-title::before {
transform: translateY(-35%) rotate(225deg);
}
 
.wizlords-mobile-spell-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;
}
 
.wizlords-mobile-spell-card-rules {
display: none;
grid-column: 1 / -1;
margin-top: 10px;
padding: 10px 10px 2px;
border-top: 1px solid var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
color: var(--wiz-text, #d2d2d2);
background: #171717;
line-height: 1.45;
}
 
.wizlords-mobile-spell-card.is-open .wizlords-mobile-spell-card-rules {
display: block;
}
 
.wizlords-mobile-spell-card-rules .wizlords-spell-card-meta,
.wizlords-mobile-spell-card-rules .wizlords-spell-card-section {
padding: 0 0 10px;
}
 
.wizlords-mobile-spell-card-rules .wizlords-spell-card-divider {
width: 55%;
height: 1px;
margin: 10px auto;
background: var(--wiz-mobile-spell-accent, var(--wiz-content-border, #ff942d));
}
 
.wizlords-mobile-servant-rules-divider {
width: 100%;
max-width: 560px;
height: 1px;
margin: 18px auto 14px;
background: rgba(255, 255, 255, 0.18);
}
 
.wizlords-mobile-servant-rules-card {
box-sizing: border-box;
width: 100%;
max-width: 560px;
margin: 0 auto 10px;
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 {
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;
}
 
.wizlords-mobile-servant-rules-title::before {
content: "";
flex: 0 0 auto;
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);
Line 2,709: Line 2,885:


.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before {
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before {
transform: translateY(2px) rotate(225deg);
transform: translateY(2px) rotate(225deg);
}
}
 
 
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title {
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title {
margin-bottom: 10px;
margin-bottom: 10px;
}
}
 
 
.wizlords-mobile-servant-rules-content {
.wizlords-mobile-servant-rules-content {
display: none;
display: none;
}
}
 
 
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-content {
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-content {
display: block;
display: block;
}
}
 
 
.wizlords-mobile-servant-rules-content .wizlords-servant-rules-grid {
.wizlords-mobile-servant-rules-content .wizlords-servant-rules-grid {
display: grid;
display: grid;
grid-template-columns: 1fr;
grid-template-columns: 1fr;
gap: 12px;
gap: 12px;
padding: 0;
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;
}
}


.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section {
@media (min-width: 600px) and (max-width: 899px) {
line-height: 1.45;
.skin-citizen .wizlords-available-classes-list.is-multicolumn {
column-count: 3;
}
}


.wizlords-mobile-servant-rules-content .wizlords-servant-rules-section ul {
.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list.is-multicolumn {
margin: 6px 0 0;
grid-template-columns: repeat(3, minmax(0, 1fr));
padding-left: 22px;
column-count: auto;
}
}
 
@media (min-width: 900px) {
.wizlords-spellbooks-mobile {
display: none;
}
}


.wizlords-spellbooks-desktop {
.skin-citizen .wizlords-available-classes-list.is-drakeling-list {
display: block;
column-count: 2;
}
}
}
}

Latest revision as of 17:43, 19 July 2026

/*
 * Wizards & Warlords shared content styling.
 *
 * This file is loaded by every skin. Keep reusable article typography,
 * templates, cards, tables, navboxes, and other content components here.
 * Skin shells and navigation belong in the relevant skin stylesheet.
 */

/* ==========================================================================
   Responsive Layout Standard
   --------------------------------------------------------------------------
   Project-wide layout ranges:
   - Phone:                           0-599px
   - Tablet / large phone:          600-899px
   - Small desktop / landscape:    900-1199px
   - Full desktop:                    1200px+
   Component-specific queries should use these boundaries unless a documented
   intrinsic-size constraint requires an additional breakpoint.
   ========================================================================== */

/* ==========================================================================
   Shared Content Variables
   --------------------------------------------------------------------------
   Skin stylesheets may override these tokens, but shared components always
   have a stable dark-fantasy fallback.
   ========================================================================== */
:root {
	--wiz-content-background: #222;
	--wiz-panel-solid-background: #0f0f0f;
	--wiz-content-border: #ff942d;
	--wiz-text: #d2d2d2;
	--wiz-link: #ff942d;
	--wiz-heading: #e7e1d4;
}

/* ==========================================================================
   Shared Article Typography
   --------------------------------------------------------------------------
   These selectors are intentionally skin-neutral and lower-specificity than
   the current Vector compatibility rules. Vector therefore remains visually
   unchanged while Citizen receives the same article rhythm and colours.
   ========================================================================== */
.mw-body-content {
	color: var(--wiz-text);
	font-size: 14px;
	line-height: 1.6;
}

.mw-parser-output > ul,
.mw-parser-output > ol {
	margin: 8px 0 12px 28px;
	padding-left: 20px;
	text-align: left;
}

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

.mw-parser-output ul ul {
	margin: 4px 0 6px 22px;
	padding-left: 18px;
	list-style: disc outside;
}

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

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

.mw-parser-output ul ul > li {
	display: list-item;
	margin-bottom: 3px;
	list-style: disc outside;
}

.mw-parser-output li::marker {
	color: var(--wiz-text);
}

/* MediaWiki wraps generated headings in .mw-heading on current versions. */
.mw-parser-output .mw-heading {
	box-sizing: border-box;
	margin: 20px 0 10px;
	padding: 0;
	border-bottom: 0;
	color: var(--wiz-heading);
	text-align: left;
	text-decoration: none;
}

.mw-parser-output .mw-heading2 {
	margin-top: 21px;
	margin-bottom: 5px;
	border-bottom: 1px solid var(--wiz-content-border);
}

.mw-parser-output .mw-heading3 {
	margin-top: 5px;
	margin-bottom: 10px;
	padding-top: 8px;
}

.mw-parser-output .mw-heading4 {
	margin-top: 4px;
	margin-bottom: 10px;
	padding-top: 7px;
}

.mw-parser-output .mw-heading h2,
.mw-parser-output .mw-heading h3,
.mw-parser-output .mw-heading h4,
.mw-parser-output .mw-heading h5,
.mw-parser-output .mw-heading h6 {
	margin: 0;
	padding: 0;
	border-bottom: 0;
	color: var(--wiz-heading);
	text-align: left;
	text-decoration: none;
}

.mw-parser-output .mw-heading h2 {
	font-size: 24px;
	font-weight: normal;
	line-height: 30px;
}

.mw-parser-output .mw-heading h3 {
	font-size: 18px;
	font-weight: bold;
	line-height: 24px;
}

.mw-parser-output .mw-heading h4 {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6;
}

.mw-parser-output .mw-heading h5,
.mw-parser-output .mw-heading h6 {
	font-size: 15px;
	font-weight: bold;
	line-height: 21px;
}

.mw-parser-output .mw-heading .mw-headline,
.mw-parser-output .mw-heading a {
	border-bottom: 0;
	color: var(--wiz-heading);
	text-decoration: none;
}

.mw-parser-output .mw-heading .mw-editsection,
.mw-parser-output .mw-heading .mw-editsection a {
	color: var(--wiz-link);
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
}

/* Shared homepage navigation-list links. Descriptive text following each link
   remains normal weight because only the anchor itself is emphasized. */
.wizlords-mainpage-link-list a,
.wizlords-mainpage-whatislarp-list a {
	color: var(--wiz-link, #ff942d);
	font-weight: normal;
	text-decoration: none;
}

.wizlords-mainpage-link-list a:hover,
.wizlords-mainpage-whatislarp-list a:hover {
	color: #ffd37a;
	text-decoration: none;
}

/* Main Page banner.
   Desktop/small-desktop uses the full single-line parchment banner. Mobile and
   tablet use the transparent no-background version so the header sits cleanly
   inside Citizen's narrow layout. */
.page-banner {
	width: 100%;
	margin: 0 auto 24px;
	text-align: center;
}

.page-banner-desktop,
.page-banner-mobile {
	width: 100%;
}

.page-banner-desktop {
	display: block !important;
}

.page-banner-mobile {
	display: none !important;
}

.page-banner figure {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.page-banner img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.page-banner .mw-default-size,
.page-banner .mw-file-description,
.page-banner .mw-file-element {
	display: block;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 899px) {
	.page-banner {
		aspect-ratio: 300 / 141;
		margin-bottom: 0;
		background-image: url("/index.php/Special:Redirect/file/Wizlords_banner_nobg.png");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: contain;
	}

	.page-banner-desktop {
		display: none !important;
	}

	.page-banner-mobile {
		display: none !important;
	}
}

@media (min-width: 900px) {
	.page-banner {
		aspect-ratio: auto;
		background-image: none;
	}

	.page-banner-desktop {
		display: block !important;
	}

	.page-banner-mobile {
		display: none !important;
	}
}

/* Compatibility for an accidental nested-list wrapper on the Main Page:
 *
 * <ul>
 *   <ul class="wizlords-mainpage-whatislarp-list">...</ul>
 * </ul>
 *
 * The outer list otherwise adds a second layer of indentation. The preferred
 * markup is still a single classified <ul>.
 */
.mw-parser-output ul:has(> ul.wizlords-mainpage-whatislarp-list) {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.mw-parser-output
ul:has(> ul.wizlords-mainpage-whatislarp-list)
> ul.wizlords-mainpage-whatislarp-list {
	margin-left: 0 !important;
}

/* Hide the content of the TOC when the checkbox is checked. */
/* stylelint-disable-next-line selector-class-pattern */
.toctogglecheckbox:checked ~ ul {
	display: none;
}

.wiz-grid {
	outline: 5px solid red !important;
}

.wiz-grid-item {
	width: 100%;
}

.wiz-grid-item img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wiz-grid-text {
	margin-top: 8px;
}

/* Intro text shown only while a MediaWiki collapsible section is closed. */
.wizlords-collapsed-hint {
	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 {
	display: block;
}

.wizlords-collapsed-hint-section:not(.mw-collapsed) > .wizlords-collapsed-hint {
	display: none;
}

.wizlords-collapsed-hint-section ul {
	margin: 6px 0 12px;
	padding-left: 28px;
	list-style: disc outside;
}

.wizlords-collapsed-hint-section li {
	display: list-item;
	margin: 0 0 3px;
	list-style: disc outside;
}

.wizlords-collapsed-hint-section li::marker {
	color: var(--wiz-text, #d2d2d2);
}

/* Keeps a real wiki heading available for the TOC without showing it on the page. */
.wizlords-toc-only-heading {
	position: absolute;
	width: 1px;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
}

.wizlords-toc-only-heading .mw-heading,
.wizlords-toc-only-heading h2,
.wizlords-toc-only-heading h3,
.wizlords-toc-only-heading h4 {
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.wizlords-toc-only-heading .mw-editsection {
	display: none;
}

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

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

.wizlords-collapsible-section:has(+ .wizlords-toc-only-heading) {
	margin-bottom: 10px;
}

.wizlords-collapsible-section-title {
	padding: 0;
	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;
}

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

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

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

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

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

.wizlords-collapsible-section-divider {
	width: 80%;
	height: 1px;
	margin: 18px auto 14px;
	background: var(--wiz-race-table-divider-colour, #9d7531);
}

.wizlords-collapsible-section > .mw-collapsible-toggle {
	margin: 11px 0 0 0;
	color: var(--wiz-text, #d2d2d2) !important;
}

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

.wizlords-collapsible-section-bottom-toggle {
	margin: 8px 0 0;
	padding: 0;
	text-align: right;
	color: var(--wiz-text, #d2d2d2) !important;
	cursor: pointer;
}

.wizlords-collapsible-section-bottom-toggle span,
.wizlords-collapsible-section-bottom-toggle a {
	color: var(--wiz-link, #ff942d) !important;
}

/* RACE TABLE */
/* ---------- */
.wikitable.wizlords-race-table,
.wizlords-race-table {
	--wiz-race-table-border-width: 1px;
	--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);
}

.wikitable.wizlords-race-table tr,
.wizlords-race-table tr {
	border-color: var(--wiz-race-table-border-colour) !important;
}

.wikitable.wizlords-race-table th,
.wikitable.wizlords-race-table td,
.wizlords-race-table th,
.wizlords-race-table td {
	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 {
	color: var(--wiz-heading, #e7e1d4) !important;
	text-align: center;
	font-weight: bold;
}

.wikitable.wizlords-race-table td.race-name,
.wizlords-race-table td.race-name {
	background: #171717 !important;
	text-align: center;
	font-weight: bold;
	white-space: nowrap;
}

.wizlords-race-table .race-icon {
	display: block;
	width: 100px;
	height: 100px;
	margin: 0 auto 6px;
	object-fit: contain;
}

.wikitable.wizlords-race-table td.subculture,
.wizlords-race-table td.subculture {
	background: #171717 !important;
	text-align: center;
	font-weight: bold;
	vertical-align: middle;
}

.wizlords-race-table .subculture-icon {
	display: block;
	width: 45px;
	height: 45px;
	margin: 4px auto 4px;
	object-fit: contain;
}

.wizlords-race-table .race-bonus,
.wizlords-race-table .subculture-bonus {
	min-width: 280px;
}

.wizlords-race-table ul {
	margin: 0;
	padding-left: 20px;
	list-style: disc outside;
}

.wizlords-race-table li {
	display: list-item;
	margin: 0 0 3px;
	list-style: disc outside;
}

.wizlords-race-table li::marker {
	color: var(--wiz-text, #d2d2d2);
}

.wizlords-race-table .race-divider td {
	height: 8px;
	padding: 0;
	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-races-landing {
	max-width: 100%;
}

.wizlords-races-landing .race-note {
	margin: 14px 0 18px;
	font-style: italic;
}

.wizlords-races-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px 44px;
	margin: 26px auto 24px;
	max-width: 860px;
}

.wizlords-race-link {
	display: block;
	width: 120px;
	text-align: center;
	text-decoration: none;
}

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

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

.wizlords-race-link:hover img {
	filter: brightness(1.15);
	transform: translateY(-2px);
}

.wizlords-race-link:hover .wizlords-race-label,
.wizlords-race-link:hover .wizlords-race-label a {
	color: #ffd37a;
	text-decoration: none;
}

/* RACE DETAIL PAGES */
/* ----------------- */
.wizlords-race-page {
	max-width: 100%;
}

.hatnote,
.wizlords-race-page .hatnote {
	margin: 4px 0 18px;
	padding-left: 18px;
	color: var(--wiz-text, #d2d2d2);
	font-style: italic;
}

.hatnote a,
.wizlords-race-page .hatnote a {
	color: var(--wiz-link, #ff942d);
	text-decoration: none;
}

.wizlords-culture-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	margin: 18px auto 24px;
}

.wizlords-culture-card {
	display: flex;
	flex-direction: column;
	grid-column: span 2;
	min-height: 100%;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
	background: #171717;
}

.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(1),
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
	grid-column: 2 / span 2;
}

.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
	grid-column: 4 / span 2;
}

.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
	grid-column: 2 / span 2;
}

.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
	grid-column: 4 / span 2;
}

.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
	grid-column: 3 / span 2;
}

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

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

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

.wizlords-culture-card-body {
	flex: 1 1 auto;
	padding: 12px;
	background: #1f1e1e;
}

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

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

.wizlords-shared-classes {
	display: table;
	width: auto;
	min-width: 330px;
	margin: 16px auto 22px;
	padding: 10px 28px;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
	background: #171717;
}

.wizlords-shared-classes-title {
	margin-bottom: 5px;
	color: var(--wiz-heading-colour, #f2ead7);
	font-weight: bold;
	text-align: center;
}

.wizlords-shared-classes ul {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
	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 {
	display: list-item;
	margin: 0 0 3px;
	margin-left: 18px;
	break-inside: avoid;
}

.wizlords-shared-classes.classes-8 ul {
	grid-template-rows: repeat(4, auto);
}

.wizlords-shared-classes.classes-9 ul {
	grid-template-rows: repeat(5, auto);
}

.wizlords-shared-classes.classes-4 ul {
	grid-template-rows: repeat(4, auto);
}

.wizlords-shared-classes.classes-9-three ul {
	grid-template-rows: repeat(3, auto);
}

.wizlords-class-compare {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
	margin: 16px auto 22px;
}

.wizlords-class-compare .wizlords-shared-classes {
	margin: 0;
	min-width: 0;
}

.wizlords-shared-classes a {
	color: var(--wiz-link, #ff942d);
	text-decoration: none;
}

.wizlords-shared-classes a:hover {
	color: #ffd37a;
	text-decoration: none;
}

.wizlords-culture-classes {
	margin-top: 12px;
	font-weight: bold;
}

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

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

.wizlords-culture-class-note {
	margin-top: 6px;
	line-height: 1.45;
}

.wizlords-culture-card-body ul {
	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);
	text-decoration: none;
}

.wizlords-culture-card-body a:hover,
.wizlords-culture-row-classes a:hover {
	color: #ffd37a;
	text-decoration: none;
}

.wizlords-culture-list {
	margin: 18px 0 24px;
}

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

.wizlords-culture-row-feature {
	display: grid;
	grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
	align-items: center;
	gap: 22px;
	margin: 10px 0 18px;
}

.wizlords-culture-row-icon img {
	display: block;
	width: 150px;
	height: 150px;
	object-fit: contain;
	border: 0;
	background: transparent;
}

.wizlords-culture-row-divider {
	width: 1px;
	height: 150px;
	background: var(--wiz-race-table-border-colour, #4d4d4d);
}

.wizlords-culture-row-title,
.wizlords-culture-row-title a {
	color: var(--wiz-heading, #e7e1d4);
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3;
	text-decoration: none;
}

.wizlords-culture-row-description {
	position: relative;
	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-culture-row-description::after {
	position: absolute;
	color: #555;
	font-size: 42px;
	line-height: 1;
}

.wizlords-culture-row-description::before {
	content: "\201C";
	left: 0;
	top: -6px;
}

.wizlords-culture-row-description::after {
	content: "\201D";
	right: 0;
	bottom: -18px;
}

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

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

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

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

.wizlords-page-image p {
	margin: 0;
	padding: 0;
}

.wizlords-page-image span,
.wizlords-page-image a {
	display: block;
}

.wizlords-page-image.right {
	float: right;
	margin: 0 0 16px 24px;
}

.wizlords-page-image.left {
	float: left;
	margin: 0 24px 16px 0;
}

.wizlords-page-image img {
	display: block;
	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 {
	margin-top: 7px;
	padding: 0 4px;
	color: var(--wiz-text, #d2d2d2);
	font-size: 12px;
	line-height: 1.3;
}

.wizlords-culture-row-classes {
	color: var(--wiz-text, #d2d2d2);
	font-size: 14px;
}

.wizlords-culture-class-list {
	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-class-list li {
	display: list-item;
	margin: 0;
	padding: 0;
}

.wizlords-culture-class-list li::marker {
	color: var(--wiz-text, #d2d2d2);
}

/* 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. */
@media (max-width: 599px) {
	.wiz-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* CLASS OVERVIEW PAGE */
/* ------------------- */
.wizlords-classes-page {
	max-width: 100%;
}

.wizlords-classes-page ul {
	list-style: disc outside;
	padding-left: 28px;
}

.wizlords-classes-page li {
	display: list-item;
}

.wizlords-class-category-table {
	width: 100%;
	min-width: 0;
	max-width: 640px;
	margin: 18px auto 24px;
	border: 0 !important;
	background: #171717;
	color: var(--wiz-text, #d2d2d2);
	border-collapse: collapse;
	table-layout: fixed;
}

.wizlords-class-category-table th,
.wizlords-class-category-table td {
	box-sizing: border-box;
	width: 33.333%;
	min-width: 0;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
	vertical-align: top;
}

.wizlords-class-category-table th {
	padding: 8px 18px !important;
	background: #1f1e1e !important;
	color: var(--wiz-heading, #e7e1d4) !important;
	font-size: 18px;
	text-align: center;
}

.wizlords-class-category-icon {
	margin: 0 0 6px;
	text-align: center;
}

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

.wizlords-class-category-table td {
	padding: 8px 18px 10px 12px !important;
	background: #171717 !important;
}

.wizlords-class-category-table tr:first-child {
	border-bottom: 0;
}

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

.wizlords-class-category-table li {
	display: list-item;
	margin: 0 0 3px;
}

.wizlords-class-category-name {
	color: var(--wiz-link, #ff942d);
	font-weight: bold;
}

.wizlords-class-category-table a,
.wizlords-class-card a {
	color: var(--wiz-link, #ff942d);
	text-decoration: none;
}

.wizlords-class-category-mobile {
	display: none;
}

/* Very narrow phones: use explicit paired category rows instead of trying to
   re-map MediaWiki's desktop table, whose headers and lists are rendered in
   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 {
		display: block;
		width: 100%;
		max-width: 420px;
		margin: 18px auto 24px;
		border: 0 !important;
		overflow: visible;
		background: #171717;
		color: var(--wiz-text, #d2d2d2);
	}

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

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

	.wizlords-class-category-mobile-heading {
		box-sizing: border-box;
		padding: 8px 8px !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;
	}

	.wizlords-class-category-mobile-list {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		padding: 8px 10px !important;
		background: #171717;
	}

	.wizlords-class-category-mobile .wizlords-class-category-icon {
		margin-bottom: 4px;
	}

	.wizlords-class-category-mobile .wizlords-class-category-icon img {
		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-card {
	grid-column: span 2;
	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-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
	grid-column: 2 / span 2;
}

.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-card-title {
	padding: 0 12px 10px;
	color: var(--wiz-link, #ff942d);
	font-weight: bold;
	font-size: 18px;
	line-height: 1.25;
	text-align: center;
}

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

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

.wizlords-class-card-body {
	padding: 12px;
	background: #1f1e1e;
	line-height: 1.5;
	flex: 1 1 auto;
}

.wizlords-class-card-summary {
	font-style: italic;
}

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

.wizlords-class-card-rules {
	color: var(--wiz-text, #d2d2d2);
}

.wizlords-class-card-rules div {
	margin: 0 0 4px;
}

.wizlords-class-category-accordion {
	--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
	margin: 5px 0 14px;
}

.wizlords-class-category-accordion-martial {
	--wiz-class-category-accent: #9d7531;
}

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

.wizlords-class-category-accordion-divine {
	--wiz-class-category-accent: #19c4eb;
}

.wizlords-class-category-accordion-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	padding-top: 4px;
	padding-bottom: 2px;
	border-bottom: 0;
	color: var(--wiz-heading, #e7e1d4);
	font-size: 18px;
	font-weight: bold;
	line-height: 24px;
}

.wizlords-class-category-accordion .wizlords-class-card-grid {
	margin-top: 4px;
	margin-bottom: 12px;
}

.wizlords-class-category-accordion-title {
	color: var(--wiz-heading, #e7e1d4);
}

.wizlords-class-category-accordion-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	vertical-align: middle;
	line-height: 1;
}

.wizlords-class-category-accordion-icon span,
.wizlords-class-category-accordion-icon a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 1;
}

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

.wizlords-class-category-accordion-body {
	display: block;
}

/* MAGIC PAGE */
/* ---------- */
.wizlords-magic-used-by {
	margin: 4px 0 14px;
	padding-left: 18px;
	color: var(--wiz-text, #d2d2d2);
	font-style: italic;
}

.wizlords-magic-intro {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 12px 0 18px;
}

.wizlords-magic-intro-icon {
	flex: 0 0 auto;
}

.wizlords-magic-intro-icon img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: contain;
}

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

.wizlords-section-divider {
	width: 55%;
	height: 1px;
	margin: 22px auto 18px;
	background: var(--wiz-race-table-divider-colour, #9d7531);
}

/* SHARED STANDARD TABLE
   ---------------------
   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;
}

.wikitable.wizlords-table th,
.wikitable.wizlords-table td,
.wizlords-table th,
.wizlords-table td {
	padding: 8px 12px;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
	background: #171717 !important;
	color: var(--wiz-text, #d2d2d2) !important;
}

.wikitable.wizlords-table th,
.wizlords-table th {
	background: #1f1e1e !important;
	color: var(--wiz-heading, #e7e1d4) !important;
}

.wikitable.wizlords-magic-table,
.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);
}

.wikitable.wizlords-example-table,
.wizlords-example-table {
	width: 100%;
	max-width: 600px;
	margin-left: 0;
	margin-right: auto;
}

.wikitable.wizlords-example-table-full-heal,
.wizlords-example-table-full-heal {
	max-width: 500px;
}

.wikitable.wizlords-example-table-full-heal th:first-child,
.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%;
}

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

.wikitable.wizlords-magic-table th,
.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;
}

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

.wikitable.wizlords-reward-table,
.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;
}

.wikitable.wizlords-reward-table th,
.wikitable.wizlords-reward-table td,
.wizlords-reward-table th,
.wizlords-reward-table td {
	white-space: nowrap;
}

.wikitable.wizlords-reward-table th:nth-child(2),
.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;
}

@media (max-width: 899px) {
	.wikitable.wizlords-reward-table,
	.wizlords-reward-table {
		margin-left: auto;
		margin-right: auto;
	}
}

.wikitable.wizlords-example-table caption,
.wizlords-example-table caption {
	color: var(--wiz-heading, #e7e1d4);
	font-weight: bold;
	text-align: center;
}

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

.wikitable.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text,
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a,
.wizlords-example-table caption .mw-collapsible-toggle a {
	color: var(--wiz-link, #ff942d) !important;
}

.wikitable.wizlords-example-table th,
.wikitable.wizlords-example-table td,
.wizlords-example-table th,
.wizlords-example-table td {
	text-align: center;
}

@media (max-width: 899px) {
	.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;
	}

	.wikitable.wizlords-example-table-full-heal,
	.wizlords-example-table-full-heal {
		max-width: 500px;
	}

	.wikitable.wizlords-example-table.mw-collapsed,
	.wizlords-example-table.mw-collapsed {
		background: transparent !important;
	}

	.wikitable.wizlords-example-table caption,
	.wizlords-example-table caption {
		display: table-caption !important;
		caption-side: top;
		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-example-table.mw-collapsed caption::before,
	.wizlords-example-table.mw-collapsed caption::before {
		content: "";
		display: inline-block;
		width: 8px;
		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-example-table:not(.mw-collapsed) caption::before {
		content: "";
		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-example-table caption .mw-collapsible-toggle {
		display: none !important;
	}

	.wikitable.wizlords-example-table th,
	.wikitable.wizlords-example-table td,
	.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;
	}
}

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

.wikitable.wizlords-reputation-table,
.wizlords-reputation-table {
	width: 100%;
	max-width: none;
}

.wikitable.wizlords-reputation-table.mw-collapsed,
.wizlords-reputation-table.mw-collapsed {
	width: 520px;
	min-width: 520px;
	max-width: 100%;
}

.wikitable.wizlords-reputation-table caption,
.wizlords-reputation-table caption {
	white-space: nowrap;
}

.wikitable.wizlords-reputation-table th:nth-child(1),
.wikitable.wizlords-reputation-table td:nth-child(1),
.wikitable.wizlords-reputation-table th:nth-child(2),
.wikitable.wizlords-reputation-table td:nth-child(2),
.wizlords-reputation-table th:nth-child(1),
.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),
.wikitable.wizlords-reputation-table td:nth-child(3),
.wizlords-reputation-table th:nth-child(3),
.wizlords-reputation-table td:nth-child(3) {
	text-align: left;
}

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

@media (max-width: 899px) {
	.wikitable.wizlords-reputation-table,
	.wizlords-reputation-table {
		width: 100%;
		min-width: 0;
		max-width: 680px;
		margin-right: auto;
		margin-left: 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-reputation-table th:nth-child(2),
	.wikitable.wizlords-reputation-table td:nth-child(2),
	.wizlords-reputation-table th:nth-child(2),
	.wizlords-reputation-table td:nth-child(2) {
		width: 26%;
		text-align: center;
	}

	.wikitable.wizlords-reputation-table th:nth-child(3),
	.wikitable.wizlords-reputation-table td:nth-child(3),
	.wizlords-reputation-table th:nth-child(3),
	.wizlords-reputation-table td:nth-child(3) {
		width: 52%;
		text-align: left;
	}

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

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

	.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: 21%;
	}

	.wikitable.wizlords-reputation-table th:nth-child(2),
	.wikitable.wizlords-reputation-table td:nth-child(2),
	.wizlords-reputation-table th:nth-child(2),
	.wizlords-reputation-table td:nth-child(2) {
		width: 25%;
	}

	.wikitable.wizlords-reputation-table th:nth-child(3),
	.wikitable.wizlords-reputation-table td:nth-child(3),
	.wizlords-reputation-table th:nth-child(3),
	.wizlords-reputation-table td:nth-child(3) {
		width: 54%;
	}
}

@media (min-width: 600px) and (max-width: 899px) {
	.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: 18%;
	}

	.wikitable.wizlords-reputation-table th:nth-child(2),
	.wikitable.wizlords-reputation-table td:nth-child(2),
	.wizlords-reputation-table th:nth-child(2),
	.wizlords-reputation-table td:nth-child(2) {
		width: 22%;
	}

	.wikitable.wizlords-reputation-table th:nth-child(3),
	.wikitable.wizlords-reputation-table td:nth-child(3),
	.wizlords-reputation-table th:nth-child(3),
	.wizlords-reputation-table td:nth-child(3) {
		width: 60%;
	}
}

.wizlords-indented-note {
	margin: 8px 0 14px 28px;
	color: var(--wiz-text, #d2d2d2);
}

.wizlords-spellbook {
	margin: 18px 0 28px;
	border: 1px solid var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
	background: #1f1e1e;
}

.wizlords-spellbook-arcane {
	--wiz-spellbook-colour: #c141d3;
	--wiz-spell-card-divider-colour: #d66be3;
}

.wizlords-spellbook-divine {
	--wiz-spellbook-colour: #089cc0;
	--wiz-spell-card-divider-colour: #19c4eb;
}

.wizlords-spellbook-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	color: var(--wiz-heading, #e7e1d4);
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

.wizlords-spellbook-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.wizlords-spellbook-title-icon img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.wizlords-spellbook > .mw-collapsible-toggle {
	margin: 14px 18px 0 0;
	color: var(--wiz-text, #d2d2d2) !important;
}

.wizlords-spellbook > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-spellbook > .mw-collapsible-toggle a {
	color: var(--wiz-link, #ff942d) !important;
}

.wizlords-spellbook-bottom-toggle {
	margin: 16px 0 0;
	padding: 0;
	text-align: right;
	color: var(--wiz-text, #d2d2d2) !important;
	cursor: pointer;
}

.wizlords-spellbook-bottom-toggle span,
.wizlords-spellbook-bottom-toggle a {
	color: var(--wiz-link, #ff942d) !important;
}

.wizlords-spellbook .mw-collapsible-content {
	padding: 0 18px 20px;
}

.wizlords-spell-category-heading {
	position: relative;
	margin: 0 0 3px;
	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);
	font-style: italic;
	font-weight: bold;
}

.wizlords-spell-card-grid + .wizlords-spell-category-heading {
	margin-top: 0;
	padding-top: 26px;
}

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

.wizlords-spell-card-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	margin: 16px auto 26px;
}

.wizlords-servant-rules {
	margin: 16px 0 18px;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
	background: #171717;
	color: var(--wiz-text, #d2d2d2);
}

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

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

.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
	display: block;
}

.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;
	list-style: disc outside;
}

.wizlords-servant-rules-section li {
	display: list-item;
	margin: 0 0 3px;
}

.wizlords-spell-card {
	grid-column: span 2;
	border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
	background: #171717;
	color: var(--wiz-text, #d2d2d2);
}

.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1) {
	grid-column: 3 / span 2;
}

.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3) {
	grid-column: 2 / span 2;
}

.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4) {
	grid-column: 4 / span 2;
}

.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4) {
	grid-column: 2 / span 2;
}

.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
	grid-column: 4 / span 2;
}

.wizlords-spell-card-title {
	padding: 12px;
	color: var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
	font-size: 18px;
	font-weight: bold;
	line-height: 1.25;
	text-align: center;
}

.wizlords-spell-card-meta {
	padding: 0 12px;
	line-height: 1.45;
}

.wizlords-spell-card-meta ul {
	margin: 4px 0 0;
	padding-left: 22px;
	list-style: disc outside;
}

.wizlords-spell-card-meta li {
	display: list-item;
	margin: 0 0 3px;
}

.wizlords-spell-card-divider {
	width: 55%;
	height: 1px;
	margin: 14px auto 12px;
	background: var(--wiz-spell-card-divider-colour, var(--wiz-race-table-divider-colour, #9d7531));
}

.wizlords-spell-card-section {
	padding: 0 12px 12px;
	line-height: 1.45;
}

.wizlords-spell-card-section ul {
	margin: 6px 0 0;
	padding-left: 22px;
	list-style: disc outside;
}

.wizlords-spell-card-section li {
	display: list-item;
	margin: 0 0 3px;
}

.wizlords-spell-card-body {
	padding: 0 12px 14px;
	line-height: 1.45;
}

/* WIZLORDS NAVBOX */
/* --------------- */
.ww-navbox {
	clear: both;
	width: 100%;
	margin: 24px auto 12px;
	padding: 3px;
	border: 1px solid var(--wiz-content-border, #ff942d);
	background: #1f1e1e;
	color: var(--wiz-text, #d2d2d2);
	font-size: 88%;
	line-height: 1.5;
	text-align: center;
	box-sizing: border-box;
}

.ww-navbox-title {
	padding: 4px 10px 5px;
	background: #1a1a1a;
	color: var(--wiz-link, #ff942d);
	font-size: 16px;
	font-weight: bold;
	line-height: 1.35;
	text-align: center;
}

.ww-navbox > .mw-collapsible-toggle {
	position: relative;
	z-index: 2;
	float: right;
	margin: 4px 8px 0 0;
	color: var(--wiz-text, #d2d2d2) !important;
	font-weight: bold;
}

.ww-navbox > .mw-collapsible-toggle .mw-collapsible-text,
.ww-navbox > .mw-collapsible-toggle a {
	color: var(--wiz-link, #ff942d) !important;
	text-decoration: none;
}

.ww-navbox > .mw-collapsible-content {
	display: flex;
	flex-direction: column;
	clear: both;
	margin: 0;
	padding: 0;
}

.ww-navbox-row {
	display: flex;
	margin: 0;
	border-top: 2px solid var(--wiz-content-background, #222);
	border-left: 2px solid var(--wiz-content-background, #222);
	border-right: 2px solid var(--wiz-content-background, #222);
	line-height: 1.5;
}

.ww-navbox-row:first-of-type {
	border-top: 2px solid var(--wiz-content-background, #222);
}

.ww-navbox-row:last-of-type {
	border-bottom: 2px solid var(--wiz-content-background, #222);
}

.ww-navbox-row:nth-child(odd) {
	background: #222;
}

.ww-navbox-row:nth-child(even) {
	background: #252525;
}

.ww-navbox-group {
	flex: 0 0 143px;
	width: 143px;
	padding: 4px 10px;
	border-right: 2px solid var(--wiz-content-background, #222);
	background: #1a1a1a;
	color: var(--wiz-link, #ff942d);
	font-weight: bold;
	text-align: right;
	box-sizing: border-box;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ww-navbox-list {
	flex: 1;
	padding: 4px 10px;
	text-align: left;
	box-sizing: border-box;
	background: inherit;
}

.ww-navbox p {
	margin: 0;
}

.ww-navbox > .mw-collapsible-content > p:empty,
.ww-navbox > .mw-collapsible-content > p:has(> br:only-child) {
	display: none;
}

.ww-navbox a {
	color: var(--wiz-link, #ff942d) !important;
	font-weight: bold;
	text-decoration: none;
}

.ww-navbox a:hover {
	color: #ffd37a !important;
	text-decoration: none;
}

.wizlords-navbox-divider {
	width: 90%;
	height: 1px;
	margin: 16px auto 14px;
	background: #9d7531;
}

.ww-navbox-stack > .ww-navbox-title {
	border-bottom: 1px solid #9d7531;
}

.ww-navbox-stack > .mw-collapsible-content > .ww-navbox {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	font-size: 100%;
}

.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:first-child {
	border-top: 0;
}

.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
	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;
	}
}

/* Phone and tablet card placement reset; the phone query below then reduces
   these grids from two columns to one. */
@media (max-width: 899px) {
	.wizlords-spellbooks-desktop {
		display: none;
	}

	.wizlords-spellbooks-mobile {
		display: block;
	}

	.wizlords-class-card-grid,
	.wizlords-spell-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wizlords-servant-rules-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wizlords-class-card,
	.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
	.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
	.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
	.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
	.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3),
	.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4),
	.wizlords-spell-card,
	.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1),
	.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
	.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
	.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
	.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
	.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3),
	.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4),
	.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4),
	.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
		grid-column: auto;
	}

	.wizlords-mobile-spellbook {
		margin: 18px 0 30px;
	}

	.wizlords-mobile-spellbook-header {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
		margin: 22px 0 10px;
		padding-bottom: 6px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
		cursor: pointer;
	}

	.wizlords-mobile-spellbook-header::before {
		content: "";
		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%;
	}

	.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header::before {
		transform: translateY(2px) rotate(225deg);
	}

	.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-header {
		border-bottom-color: var(--wiz-mobile-spellbook-accent, var(--wiz-content-border, #ff942d));
	}

	.wizlords-mobile-spellbook-header:focus {
		outline: 2px solid var(--wiz-content-border, #ff942d);
		outline-offset: 3px;
	}

	.wizlords-mobile-spellbook-title {
		flex: 0 1 auto;
		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;
	}

	.wizlords-mobile-spellbook-icon {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
	}

	.wizlords-mobile-spellbook-icon img {
		display: block;
		width: 30px !important;
		height: 30px !important;
		max-width: 30px !important;
		max-height: 30px !important;
		object-fit: contain;
	}

	.wizlords-mobile-spellbook-body {
		display: none;
	}

	.wizlords-mobile-spellbook.is-open .wizlords-mobile-spellbook-body {
		display: block;
	}

	.wizlords-mobile-spellbook-collapse {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 28px;
		margin: 14px auto 0;
		padding-bottom: 3px;
		border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, var(--wiz-content-border, #ff942d));
		color: var(--wiz-heading, #e7e1d4);
		font-size: 18px;
		font-weight: 700;
		line-height: 1.3;
		cursor: pointer;
	}

	.wizlords-mobile-spellbook-collapse::before {
		content: "";
		width: 11px;
		height: 11px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(4px) rotate(225deg);
		transform-origin: 50% 50%;
	}

	.wizlords-mobile-spellbook-collapse:focus {
		outline: 2px solid var(--wiz-content-border, #ff942d);
		outline-offset: 3px;
	}

	.wizlords-mobile-spell-category {
		margin: 18px 0 22px;
	}

	.wizlords-mobile-spell-category-heading {
		box-sizing: border-box;
		width: 100%;
		max-width: 560px;
		margin: 0 auto 4px;
		color: var(--wiz-heading, #e7e1d4);
		font-size: 18px;
		font-weight: 700;
		line-height: 1.3;
		text-align: left;
	}

	.wizlords-mobile-spell-category-description {
		box-sizing: border-box;
		width: 100%;
		max-width: 560px;
		margin: 0 auto 12px;
		color: var(--wiz-text, #d2d2d2);
		font-size: 14px;
		font-style: italic;
		line-height: 1.45;
	}

	.wizlords-mobile-spell-card {
		--wiz-mobile-spell-accent: #9a3dae;
		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%;
		max-width: 560px;
		min-height: 150px;
		margin: 0 auto 10px;
		padding: 8px 9px;
		border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
		background: #1f1e1e;
		cursor: pointer;
	}

	.wizlords-mobile-spellbook-arcane .wizlords-mobile-spell-card {
		--wiz-mobile-spell-accent: #d66be3;
	}

	.wizlords-mobile-spellbook-divine .wizlords-mobile-spell-card {
		--wiz-mobile-spell-accent: #19c4eb;
	}

	.wizlords-mobile-spellbook-arcane {
		--wiz-mobile-spellbook-accent: #d66be3;
	}

	.wizlords-mobile-spellbook-divine {
		--wiz-mobile-spellbook-accent: #19c4eb;
	}

	/* Citizen mobile/tablet race culture cards.
	   Desktop keeps the original grid; below 900px, culture/clan/subtype
	   cards become compact expandable rows using the existing page markup. */
	.skin-citizen .wizlords-culture-grid {
		display: block;
		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-culture-card:focus {
		outline: 2px solid var(--wiz-content-border, #ff942d);
		outline-offset: 2px;
	}

	.skin-citizen .wizlords-culture-card-header,
	.skin-citizen .wizlords-culture-card-body {
		display: contents;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.skin-citizen .wizlords-culture-card-header > :not(.wizlords-culture-card-title) {
		grid-row: 1 / span 2;
		grid-column: 1;
		align-self: center;
		justify-self: center;
	}

	.skin-citizen .wizlords-culture-card-header img {
		display: block;
		width: 88px !important;
		height: 88px !important;
		max-width: 88px !important;
		max-height: 88px !important;
		margin: 0 !important;
		object-fit: contain;
	}

	.skin-citizen .wizlords-culture-card-title {
		position: relative;
		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-culture-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%;
	}

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

	.skin-citizen .wizlords-culture-card-title a {
		color: var(--wiz-heading, #e7e1d4);
		text-decoration: none;
	}

	.skin-citizen .wizlords-culture-card-body > p:first-of-type {
		grid-row: 2;
		grid-column: 2;
		min-width: 0;
		margin: 0;
		color: var(--color-base, #d8d3c8);
		font-size: 13px;
		font-style: italic;
		line-height: 1.35;
	}

	.skin-citizen .wizlords-culture-card-body > :not(p:first-of-type),
	.skin-citizen .wizlords-culture-card-body > p:not(:first-of-type) {
		display: none;
	}

	.skin-citizen .wizlords-culture-card.is-open {
		align-items: start;
		padding-bottom: 12px;
	}

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

	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > :not(p:first-of-type) {
		display: block;
		grid-column: 1 / -1;
	}

	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body > p:not(:first-of-type) {
		display: block;
		grid-column: 1 / -1;
		margin: 8px 0 0;
		font-style: normal;
		line-height: 1.45;
	}

	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-classes,
	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-known-for,
	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-suggested-class,
	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-class-note {
		margin-top: 8px;
		line-height: 1.45;
	}

	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body ul {
		display: block;
		grid-column: 1 / -1;
		margin: 6px 0 0;
		padding-left: 24px;
	}

	.skin-citizen .wizlords-culture-card.is-open > .wizlords-available-classes-list {
		grid-column: 1 / -1;
	}

	.skin-citizen .wizlords-culture-card.is-open .wizlords-culture-card-body li {
		display: list-item;
		margin-bottom: 3px;
	}

	.skin-citizen .wizlords-shared-classes {
		max-width: 560px;
		margin-right: auto;
		margin-left: auto;
	}

	/* Race Available Classes lists: compact responsive columns. */
	.skin-citizen .wizlords-available-classes-list {
		display: block !important;
		width: 100%;
		margin: 6px 0 0;
		padding-left: 22px;
		column-count: 1;
		column-gap: 1.5em;
		list-style: disc outside;
	}

	.skin-citizen .wizlords-culture-card .wizlords-available-classes-list {
		display: none !important;
		grid-column: 1 / -1;
		width: auto;
		min-width: 0;
		max-width: 100%;
		margin-top: 8px;
		margin-right: 0;
		margin-left: 0;
		column-count: 1;
		column-gap: 0;
	}

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

	.skin-citizen .wizlords-available-classes-list.is-multicolumn {
		column-count: 2;
	}

	.skin-citizen .wizlords-culture-card.is-open .wizlords-available-classes-list.is-multicolumn {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 18px;
		column-count: auto;
	}

	.skin-citizen .wizlords-available-classes-list.is-drakeling-list {
		column-count: 2;
	}

	.skin-citizen .wizlords-available-classes-list li {
		display: list-item;
		margin: 0 0 4px;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.skin-citizen .wizlords-available-classes-list a {
		color: var(--wiz-link, #ff942d);
		text-decoration: none;
	}

	.skin-citizen .wizlords-available-classes-list a:hover {
		color: #ffd37a;
		text-decoration: none;
	}

	.skin-citizen .wizlords-shared-classes .wizlords-available-classes-list {
		width: auto;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}

	/* Mobile/tablet class category accordions.
	   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;
	}

	.skin-citizen .wizlords-class-category-accordion-martial {
		--wiz-class-category-accent: #9d7531;
	}

	.skin-citizen .wizlords-class-category-accordion-arcane {
		--wiz-class-category-accent: #d66be3;
	}

	.skin-citizen .wizlords-class-category-accordion-divine {
		--wiz-class-category-accent: #19c4eb;
	}

	.skin-citizen .wizlords-class-category-accordion-heading {
		position: relative;
		display: flex;
		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;
	}

	.skin-citizen .wizlords-class-category-accordion.is-open
	.wizlords-class-category-accordion-heading {
		border-bottom-color: var(--wiz-class-category-accent);
	}

	.skin-citizen .wizlords-class-category-accordion-heading::before {
		content: "";
		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%;
	}

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

	.skin-citizen .wizlords-class-category-accordion-title {
		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;
	}

	.skin-citizen .wizlords-class-category-accordion-icon {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		min-width: 32px;
		line-height: 1;
		vertical-align: middle;
	}

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

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

	.skin-citizen .wizlords-class-category-accordion-body {
		display: none;
	}

	.skin-citizen .wizlords-class-category-accordion.is-open
	.wizlords-class-category-accordion-body {
		display: block;
	}

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

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

	.wizlords-mobile-spell-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-mobile-spell-card-icon img {
		display: block;
		width: 88px !important;
		height: 88px !important;
		max-width: 88px !important;
		max-height: 88px !important;
		object-fit: contain;
	}

	.wizlords-mobile-spell-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-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 {
		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-mobile-spell-card.is-open .wizlords-mobile-spell-card-title::before {
		transform: translateY(-35%) rotate(225deg);
	}

	.wizlords-mobile-spell-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;
	}

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

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

	.wizlords-mobile-spell-card-rules .wizlords-spell-card-meta,
	.wizlords-mobile-spell-card-rules .wizlords-spell-card-section {
		padding: 0 0 10px;
	}

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

	.wizlords-mobile-servant-rules-divider {
		width: 100%;
		max-width: 560px;
		height: 1px;
		margin: 18px auto 14px;
		background: rgba(255, 255, 255, 0.18);
	}

	.wizlords-mobile-servant-rules-card {
		box-sizing: border-box;
		width: 100%;
		max-width: 560px;
		margin: 0 auto 10px;
		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 {
		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;
	}

	.wizlords-mobile-servant-rules-title::before {
		content: "";
		flex: 0 0 auto;
		width: 7px;
		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;
}