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

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(71 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 189: Line 181:
}
}


/* Compatibility for an accidental nested-list wrapper on the Main Page:
/* Main Page banner.
*
  Desktop/small-desktop uses the full single-line parchment banner. Mobile and
* <ul>
  tablet use the transparent no-background version so the header sits cleanly
*  <ul class="wizlords-mainpage-whatislarp-list">...</ul>
  inside Citizen's narrow layout. */
* </ul>
.page-banner {
*
width: 100%;
* The outer list otherwise adds a second layer of indentation. The preferred
margin: 0 auto 24px;
* markup is still a single classified <ul>.
text-align: center;
*/
.mw-parser-output ul:has(> ul.wizlords-mainpage-whatislarp-list) {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
}


.mw-parser-output
.page-banner-desktop,
ul:has(> ul.wizlords-mainpage-whatislarp-list)
.page-banner-mobile {
> ul.wizlords-mainpage-whatislarp-list {
width: 100%;
margin-left: 0 !important;
}
}


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


.wiz-grid {
.page-banner-mobile {
outline: 5px solid red !important;
display: none !important;
}
}


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


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


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


/* TOC PAGE DIV */
@media (max-width: 899px) {
/* ------------ */
.page-banner {
/* Wrap __TOC__ in <div class="toc-page">...</div> to float it right. */
aspect-ratio: 300 / 141;
.toc-page #toc,
margin-bottom: 0;
.toc-page .toc {
background-image: url("/index.php/Special:Redirect/file/Wizlords_banner_nobg.png");
float: right;
background-repeat: no-repeat;
width: max-content;
background-position: center center;
min-width: 220px;
background-size: contain;
max-width: 320px;
}
margin: 0 0 16px 24px;
 
clear: right;
.page-banner-desktop {
font-size: 0.95em;
display: none !important;
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);
}


.toc-page #toc:has(.toctogglecheckbox:checked),
.page-banner-mobile {
.toc-page .toc:has(.toctogglecheckbox:checked) {
display: none !important;
width: fit-content;
}
min-width: 0;
padding: 12px 16px;
}
}


.toc-page #toc .toctitle,
@media (min-width: 900px) {
.toc-page .toc .toctitle {
.page-banner {
margin: 0 0 10px;
aspect-ratio: auto;
color: var(--wiz-text, #d2d2d2);
background-image: none;
text-align: center;
}
}


.toc-page #toc:has(.toctogglecheckbox:checked) .toctitle,
.page-banner-desktop {
.toc-page .toc:has(.toctogglecheckbox:checked) .toctitle {
display: block !important;
margin: 0;
}
line-height: 1.4;
}


.toc-page #toc .toctitle h2,
.page-banner-mobile {
.toc-page .toc .toctitle h2 {
display: none !important;
display: inline;
}
margin: 0;
padding: 0;
border: 0;
color: var(--wiz-text, #d2d2d2);
font-size: 14px;
font-weight: bold;
line-height: 1.4;
}
}


.toc-page #toc .toctoggle,
/* Compatibility for an accidental nested-list wrapper on the Main Page:
.toc-page .toc .toctoggle {
*
color: var(--wiz-text, #d2d2d2);
* <ul>
font-size: 12px;
*  <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;
}
}


.toc-page #toc .toctoggle a,
.mw-parser-output
.toc-page .toc .toctoggle a {
ul:has(> ul.wizlords-mainpage-whatislarp-list)
color: var(--wiz-link, #ff942d);
> ul.wizlords-mainpage-whatislarp-list {
text-decoration: none;
margin-left: 0 !important;
}
}


.toc-page #toc ul,
/* Hide the content of the TOC when the checkbox is checked. */
.toc-page .toc ul {
/* stylelint-disable-next-line selector-class-pattern */
margin: 0;
.toctogglecheckbox:checked ~ ul {
padding: 0;
display: none;
list-style: none;
}
}


.toc-page #toc li,
.wiz-grid {
.toc-page .toc li {
outline: 5px solid red !important;
display: block;
margin: 0;
padding: 0;
list-style: none;
line-height: 1.35;
}
}


.toc-page #toc > ul > li,
.wiz-grid-item {
.toc-page .toc > ul > li {
width: 100%;
padding: 2px 0;
}
}


.toc-page #toc li ul,
.wiz-grid-item img {
.toc-page .toc li ul {
display: block;
margin-left: 12px;
width: 100%;
padding-left: 10px;
height: auto;
border-left: 1px dotted var(--wiz-content-border, #ff942d);
border: 0;
background: transparent;
box-shadow: none;
}
}


.toc-page #toc li li,
.wiz-grid-text {
.toc-page .toc li li {
margin-top: 8px;
margin-left: 0;
padding: 2px 0;
border-left: 0;
}
}


.toc-page #toc .toclevel-3,
/* Intro text shown only while a MediaWiki collapsible section is closed. */
.toc-page #toc .toclevel-4,
.wizlords-collapsed-hint {
.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,
.toc-page .toc .tocnumber {
display: none;
display: none;
}
margin: 0;
 
padding: 6px 0 6px;
.toc-page #toc a,
color: var(--wiz-text, #d2d2d2);
.toc-page .toc a {
font-style: italic;
color: var(--wiz-link, #ff942d);
text-decoration: none;
}
 
.toc-page #toc a:hover,
.toc-page .toc a:hover {
color: #ffd37a;
text-decoration: none;
}
 
/* 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;
}
}


Line 664: Line 611:
}
}


.hatnote,
.wizlords-race-page .hatnote {
.wizlords-race-page .hatnote {
margin: 4px 0 18px;
margin: 4px 0 18px;
Line 671: Line 619:
}
}


.toc-page .hatnote {
.hatnote a,
margin: 14px 0 10px;
padding-left: 18px;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
}
 
.toc-page .hatnote + h2,
.toc-page .hatnote + .mw-heading2 {
margin-top: 12px !important;
}
 
.wizlords-race-page .hatnote a {
.wizlords-race-page .hatnote a {
color: var(--wiz-link, #ff942d);
color: var(--wiz-link, #ff942d);
Line 688: Line 625:
}
}


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


.wizlords-race-intro {
.wizlords-culture-card {
display: flex;
display: flex;
align-items: center;
flex-direction: column;
gap: 28px;
grid-column: span 2;
margin: 18px 0 24px;
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-race-intro-icon {
.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
flex: 0 0 auto;
.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-race-intro-icon img {
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
display: block;
grid-column: 2 / span 2;
width: 100px;
height: 100px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-race-quote {
.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
position: relative;
grid-column: 4 / span 2;
margin: 0;
padding: 0 34px;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-race-quote::before,
.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
.wizlords-race-quote::after {
grid-column: 3 / span 2;
position: absolute;
color: #555;
font-size: 42px;
line-height: 1;
}
}


.wizlords-race-quote::before {
.wizlords-culture-card-header {
content: "\201C";
padding: 16px 12px 12px;
left: 0;
text-align: center;
top: -6px;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
}
}


.wizlords-race-quote::after {
.wizlords-culture-card-header img {
content: "\201D";
display: block;
right: 0;
width: 250px;
bottom: -18px;
height: 250px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-race-quote-source {
.wizlords-culture-card-title,
margin-top: 8px;
.wizlords-culture-card-title a {
text-align: right;
color: var(--wiz-link, #ff942d);
font-size: 12px;
font-size: 16px;
font-style: normal;
font-weight: bold;
font-weight: bold;
line-height: 1.25;
text-decoration: none;
}
}


.wizlords-culture-grid {
.wizlords-culture-card-body {
display: grid;
flex: 1 1 auto;
grid-template-columns: repeat(6, minmax(0, 1fr));
padding: 12px;
gap: 14px;
background: #1f1e1e;
margin: 18px auto 24px;
}
}


.wizlords-culture-card {
.wizlords-culture-card-body p {
display: flex;
margin: 0 0 12px;
flex-direction: column;
font-style: italic;
grid-column: span 2;
line-height: 1.55;
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-separator {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(1),
width: 110px;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(3) {
height: 1px;
grid-column: 2 / span 2;
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-culture-grid.cultures-2 .wizlords-culture-card:nth-child(2),
.wizlords-shared-classes {
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(2),
display: table;
.wizlords-culture-grid.cultures-4 .wizlords-culture-card:nth-child(4) {
width: auto;
grid-column: 4 / span 2;
min-width: 330px;
margin: 16px auto 22px;
padding: 10px 28px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
}
}


.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(4) {
.wizlords-shared-classes-title {
grid-column: 2 / span 2;
margin-bottom: 5px;
color: var(--wiz-heading-colour, #f2ead7);
font-weight: bold;
text-align: center;
}
}


.wizlords-culture-grid.cultures-5 .wizlords-culture-card:nth-child(5) {
.wizlords-shared-classes ul {
grid-column: 4 / span 2;
display: grid;
}
grid-auto-flow: column;
 
grid-template-rows: repeat(5, auto);
.wizlords-culture-grid.cultures-7 .wizlords-culture-card:nth-child(7) {
grid-auto-columns: max-content;
grid-column: 3 / span 2;
column-gap: 42px;
width: max-content;
margin: 2px auto 0;
padding-left: 0;
list-style: disc outside;
}
}


.wizlords-culture-card-header {
.wizlords-shared-classes li {
padding: 16px 12px 12px;
display: list-item;
text-align: center;
margin: 0 0 3px;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
margin-left: 18px;
break-inside: avoid;
}
}


.wizlords-culture-card-header img {
.wizlords-shared-classes.classes-8 ul {
display: block;
grid-template-rows: repeat(4, auto);
width: 250px;
height: 250px;
max-width: 100%;
margin: 0 auto 10px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-culture-card-title,
.wizlords-shared-classes.classes-9 ul {
.wizlords-culture-card-title a {
grid-template-rows: repeat(5, auto);
color: var(--wiz-link, #ff942d);
font-size: 16px;
font-weight: bold;
line-height: 1.25;
text-decoration: none;
}
}


.wizlords-culture-card-body {
.wizlords-shared-classes.classes-4 ul {
flex: 1 1 auto;
grid-template-rows: repeat(4, auto);
padding: 12px;
background: #1f1e1e;
}
}


.wizlords-culture-card-body p {
.wizlords-shared-classes.classes-9-three ul {
margin: 0 0 12px;
grid-template-rows: repeat(3, auto);
font-style: italic;
line-height: 1.55;
}
}


.wizlords-culture-separator {
.wizlords-class-compare {
width: 110px;
display: flex;
height: 1px;
justify-content: center;
margin: 14px auto 12px;
align-items: stretch;
background: var(--wiz-race-table-divider-colour, #9d7531);
gap: 12px;
margin: 16px auto 22px;
}
}


.wizlords-shared-classes {
.wizlords-class-compare .wizlords-shared-classes {
display: table;
margin: 0;
width: auto;
min-width: 0;
min-width: 330px;
}
margin: 16px auto 22px;
 
padding: 10px 28px;
.wizlords-shared-classes a {
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
color: var(--wiz-link, #ff942d);
background: #171717;
text-decoration: none;
}
 
.wizlords-shared-classes a:hover {
color: #ffd37a;
text-decoration: none;
}
}


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


.wizlords-shared-classes ul {
.wizlords-culture-known-for,
display: grid;
.wizlords-culture-suggested-class {
grid-auto-flow: column;
margin-top: 10px;
grid-template-rows: repeat(5, auto);
line-height: 1.45;
grid-auto-columns: max-content;
column-gap: 42px;
width: max-content;
margin: 2px auto 0;
padding-left: 0;
list-style: disc outside;
}
}


.wizlords-shared-classes li {
.wizlords-culture-suggested-class 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 {
.wizlords-culture-class-note {
grid-template-rows: repeat(4, auto);
margin-top: 6px;
line-height: 1.45;
}
}


.wizlords-shared-classes.classes-9 ul {
.wizlords-culture-card-body ul {
grid-template-rows: repeat(5, auto);
margin: 4px 0 0;
padding-left: 28px;
list-style: disc outside;
}
}


.wizlords-shared-classes.classes-4 ul {
.wizlords-culture-card-body li {
grid-template-rows: repeat(4, auto);
display: list-item;
margin: 0 0 3px;
}
}


.wizlords-shared-classes.classes-9-three ul {
.wizlords-culture-card-body a,
grid-template-rows: repeat(3, auto);
.wizlords-culture-row-classes a {
}
 
.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);
color: var(--wiz-link, #ff942d);
text-decoration: none;
text-decoration: none;
}
}


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


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


.wizlords-culture-known-for,
.wizlords-culture-row {
.wizlords-culture-suggested-class {
padding: 20px 0 24px;
margin-top: 10px;
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
line-height: 1.45;
}
}


.wizlords-culture-suggested-class a {
.wizlords-culture-row-feature {
color: var(--wiz-link, #ff942d);
display: grid;
text-decoration: none;
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
align-items: center;
gap: 22px;
margin: 10px 0 18px;
}
}


.wizlords-culture-class-note {
.wizlords-culture-row-icon img {
margin-top: 6px;
display: block;
line-height: 1.45;
width: 150px;
height: 150px;
object-fit: contain;
border: 0;
background: transparent;
}
}


.wizlords-culture-card-body ul {
.wizlords-culture-row-divider {
margin: 4px 0 0;
width: 1px;
padding-left: 28px;
height: 150px;
list-style: disc outside;
background: var(--wiz-race-table-border-colour, #4d4d4d);
}
}


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


.wizlords-culture-card-body a:hover,
.wizlords-culture-row-description {
.wizlords-culture-row-classes a:hover {
position: relative;
color: #ffd37a;
margin: 0;
text-decoration: none;
padding: 0 34px;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-culture-list {
.wizlords-culture-row-description::before,
margin: 18px 0 24px;
.wizlords-culture-row-description::after {
position: absolute;
color: #555;
font-size: 42px;
line-height: 1;
}
}


.wizlords-culture-row {
.wizlords-culture-row-description::before {
padding: 20px 0 24px;
content: "\201C";
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
left: 0;
top: -6px;
}
}


.wizlords-culture-row-feature {
.wizlords-culture-row-description::after {
display: grid;
content: "\201D";
grid-template-columns: 150px 1px minmax(0, 1fr) 300px;
right: 0;
align-items: center;
bottom: -18px;
gap: 22px;
margin: 10px 0 18px;
}
}


.wizlords-culture-row-icon img {
.wizlords-culture-appearance {
display: block;
box-sizing: border-box;
width: 150px;
width: 300px;
height: 150px;
padding: 4px;
object-fit: contain;
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;
border: 0;
background: transparent;
background: transparent;
}
}


.wizlords-culture-row-divider {
.wizlords-culture-appearance-caption {
width: 1px;
margin-top: 4px;
height: 150px;
color: var(--wiz-text, #d2d2d2);
background: var(--wiz-race-table-border-colour, #4d4d4d);
font-size: 12px;
}
 
.wizlords-culture-row-title,
.wizlords-culture-row-title a {
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 1.3;
line-height: 1.3;
text-decoration: none;
}
}


.wizlords-culture-row-description {
.wizlords-page-image {
position: relative;
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;
margin: 0;
padding: 0 34px;
padding: 0;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
}


.wizlords-culture-row-description::before,
.wizlords-page-image span,
.wizlords-culture-row-description::after {
.wizlords-page-image a {
position: absolute;
display: block;
color: #555;
font-size: 42px;
line-height: 1;
}
}


.wizlords-culture-row-description::before {
.wizlords-page-image.right {
content: "\201C";
float: right;
left: 0;
margin: 0 0 16px 24px;
top: -6px;
}
}


.wizlords-culture-row-description::after {
.wizlords-page-image.left {
content: "\201D";
float: left;
right: 0;
margin: 0 24px 16px 0;
bottom: -18px;
}
}


.wizlords-culture-appearance {
.wizlords-page-image img {
display: block;
box-sizing: border-box;
box-sizing: border-box;
width: 300px;
width: 100%;
padding: 4px;
aspect-ratio: 2 / 1;
border: 1px solid var(--wiz-race-table-divider-colour, #9d7531);
height: auto;
background: #171717;
}
 
.wizlords-culture-appearance img {
display: block;
width: 300px;
height: 138px;
object-fit: cover;
object-fit: cover;
border: 0;
border: 1px solid var(--wiz-content-border, #ff942d);
background: transparent;
background: transparent;
}
}


.wizlords-culture-appearance-caption {
.wizlords-page-image-caption {
margin-top: 4px;
margin-top: 7px;
padding: 0 4px;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
font-size: 12px;
Line 1,050: Line 971:
}
}


.wizlords-page-image {
.wizlords-culture-row-classes {
box-sizing: border-box;
color: var(--wiz-text, #d2d2d2);
width: min(450px, 100%);
font-size: 14px;
padding: 6px;
}
border: 1px solid var(--wiz-content-border, #ff942d);
 
background: #171717;
.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-page-image p {
.wizlords-culture-class-list li {
display: list-item;
margin: 0;
margin: 0;
padding: 0;
padding: 0;
}
}


.wizlords-page-image span,
.wizlords-culture-class-list li::marker {
.wizlords-page-image a {
color: var(--wiz-text, #d2d2d2);
display: block;
}
}


.wizlords-page-image.right {
/* Tablet and small-desktop layouts use a three-column grid. */
float: right;
@media (min-width: 600px) and (max-width: 1199px) {
margin: 0 0 16px 24px;
.wiz-grid {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
}


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


.wizlords-page-image img {
/* CLASS OVERVIEW PAGE */
display: block;
/* ------------------- */
box-sizing: border-box;
.wizlords-classes-page {
width: 100%;
max-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-classes-page ul {
margin-top: 7px;
list-style: disc outside;
padding: 0 4px;
padding-left: 28px;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.3;
}
}


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


.wizlords-culture-class-list li::marker {
.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);
color: var(--wiz-text, #d2d2d2);
border-collapse: collapse;
table-layout: fixed;
}
}


/* Tablet and small-desktop layouts use a three-column grid. */
.wizlords-class-category-table th,
@media (min-width: 600px) and (max-width: 1199px) {
.wizlords-class-category-table td {
.wiz-grid {
box-sizing: border-box;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
width: 33.333%;
}
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
vertical-align: top;
}
}


/* Phone layout uses two columns. */
.wizlords-class-category-table th {
@media (max-width: 599px) {
padding: 8px 18px !important;
.wiz-grid {
background: #1f1e1e !important;
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
color: var(--wiz-heading, #e7e1d4) !important;
}
font-size: 18px;
text-align: center;
}
}


/* CLASS OVERVIEW PAGE */
.wizlords-class-category-icon {
/* ------------------- */
margin: 0 0 6px;
.wizlords-classes-page {
text-align: center;
max-width: 100%;
}
}


.wizlords-classes-page ul {
.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;
list-style: disc outside;
padding-left: 28px;
}
}


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


.wizlords-class-category-table {
.wizlords-class-category-name {
width: 100%;
color: var(--wiz-link, #ff942d);
min-width: 0;
font-weight: bold;
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 a,
.wizlords-class-category-table td {
.wizlords-class-card a {
box-sizing: border-box;
color: var(--wiz-link, #ff942d);
width: 33.333%;
text-decoration: none;
min-width: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
vertical-align: top;
}
}


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


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


.wizlords-class-category-table td {
.wizlords-class-category-mobile-row {
padding: 8px 18px 10px 12px !important;
display: grid;
background: #171717 !important;
grid-template-columns: 44% 56%;
}
align-items: stretch;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-bottom: 0;
}


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


.wizlords-class-category-table ul {
.wizlords-class-category-mobile-heading {
margin: 0;
box-sizing: border-box;
padding-left: 22px;
padding: 8px 8px !important;
list-style: disc outside;
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-table li {
.wizlords-class-category-mobile-list {
display: list-item;
box-sizing: border-box;
margin: 0 0 3px;
display: flex;
}
align-items: center;
 
padding: 8px 10px !important;
.wizlords-class-category-name {
background: #171717;
color: var(--wiz-link, #ff942d);
}
font-weight: bold;
}


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


.wizlords-class-category-mobile {
.wizlords-class-category-mobile .wizlords-class-category-icon img {
display: none;
width: 64px;
}
height: auto;
 
max-width: 100%;
/* 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 {
.wizlords-class-category-mobile ul {
display: block;
margin: 0;
width: 100%;
padding-left: 18px;
max-width: 420px;
list-style: disc outside;
margin: 18px auto 24px;
border: 0 !important;
overflow: visible;
background: #171717;
color: var(--wiz-text, #d2d2d2);
}
}


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


.wizlords-class-category-mobile-row:last-child {
.wizlords-class-card-grid {
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
display: grid;
}
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 14px;
margin: 16px auto 24px;
}


.wizlords-class-category-mobile-heading {
.wizlords-class-card {
box-sizing: border-box;
grid-column: span 2;
padding: 8px 8px !important;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-right: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
background: #1f1e1e;
display: flex;
color: var(--wiz-heading, #e7e1d4);
flex-direction: column;
font-size: 16px;
scroll-margin-top: 90px;
font-weight: bold;
}
text-align: center;
}


.wizlords-class-category-mobile-list {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
box-sizing: border-box;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
display: flex;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
align-items: center;
grid-column: 2 / span 2;
padding: 8px 10px !important;
}
background: #171717;
}


.wizlords-class-category-mobile .wizlords-class-category-icon {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
margin-bottom: 4px;
.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-mobile .wizlords-class-category-icon img {
.wizlords-class-card-title {
width: 64px;
padding: 0 12px 10px;
height: auto;
color: var(--wiz-link, #ff942d);
max-width: 100%;
font-weight: bold;
}
font-size: 18px;
line-height: 1.25;
text-align: center;
}


.wizlords-class-category-mobile ul {
.wizlords-class-card-icon {
margin: 0;
padding: 18px 12px 8px;
padding-left: 18px;
text-align: center;
list-style: disc outside;
}
}


.wizlords-class-category-mobile li {
.wizlords-class-card-icon img {
display: list-item;
display: inline-block;
margin: 0 0 3px;
width: 250px;
}
height: 250px;
object-fit: contain;
}
}


.wizlords-class-card-grid {
.wizlords-class-card-body {
display: grid;
padding: 12px;
grid-template-columns: repeat(6, minmax(0, 1fr));
background: #1f1e1e;
gap: 14px;
line-height: 1.5;
margin: 16px auto 24px;
flex: 1 1 auto;
}
}


.wizlords-class-card {
.wizlords-class-card-summary {
grid-column: span 2;
font-style: italic;
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-divider {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(1),
width: 55%;
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(3) {
height: 1px;
grid-column: 2 / span 2;
margin: 14px auto 12px;
background: var(--wiz-race-table-divider-colour, #9d7531);
}
}


.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
.wizlords-class-card-rules {
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(2),
color: var(--wiz-text, #d2d2d2);
.wizlords-class-card-grid.cards-4 .wizlords-class-card:nth-child(4) {
grid-column: 4 / span 2;
}
}


.wizlords-class-card-title {
.wizlords-class-card-rules div {
padding: 0 12px 10px;
margin: 0 0 4px;
color: var(--wiz-link, #ff942d);
font-weight: bold;
font-size: 18px;
line-height: 1.25;
text-align: center;
}
}


.wizlords-class-card-icon {
.wizlords-class-category-accordion {
padding: 18px 12px 8px;
--wiz-class-category-accent: var(--wiz-content-border, #ff942d);
text-align: center;
margin: 5px 0 14px;
}
}


.wizlords-class-card-icon img {
.wizlords-class-category-accordion-martial {
display: inline-block;
--wiz-class-category-accent: #9d7531;
width: 250px;
height: 250px;
object-fit: contain;
}
}


.wizlords-class-card-body {
.wizlords-class-category-accordion-arcane {
padding: 12px;
--wiz-class-category-accent: #d66be3;
background: #1f1e1e;
line-height: 1.5;
flex: 1 1 auto;
}
}


.wizlords-class-card-summary {
.wizlords-class-category-accordion-divine {
font-style: italic;
--wiz-class-category-accent: #19c4eb;
}
}


.wizlords-class-card-divider {
.wizlords-class-category-accordion-heading {
width: 55%;
display: flex;
height: 1px;
align-items: center;
margin: 14px auto 12px;
gap: 8px;
background: var(--wiz-race-table-divider-colour, #9d7531);
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-card-rules {
.wizlords-class-category-accordion .wizlords-class-card-grid {
color: var(--wiz-text, #d2d2d2);
margin-top: 4px;
margin-bottom: 12px;
}
}


.wizlords-class-card-rules div {
.wizlords-class-category-accordion-title {
margin: 0 0 4px;
color: var(--wiz-heading, #e7e1d4);
}
}


/* MAGIC PAGE */
.wizlords-class-category-accordion-icon {
/* ---------- */
display: inline-flex;
.wizlords-magic-used-by {
align-items: center;
margin: 4px 0 14px;
justify-content: center;
padding-left: 18px;
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);
color: var(--wiz-text, #d2d2d2);
font-style: italic;
font-style: italic;
Line 1,418: Line 1,365:
}
}


.wikitable.wizlords-magic-table,
/* SHARED STANDARD TABLE
.wizlords-magic-table {
  ---------------------
width: auto;
  Opt-in colour and border treatment for ordinary custom wiki tables.
min-width: 520px;
  Add "wizlords-table" beside "wikitable" instead of overriding every
max-width: 680px;
  MediaWiki-generated wikitable. Component-specific classes continue to own
margin: 16px 0 18px;
  specialised widths, alignment, captions, and collapsible behaviour. */
.wikitable.wizlords-table,
.wizlords-table {
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important;
border-collapse: collapse;
border-collapse: collapse;
background: #171717;
background: #171717 !important;
color: var(--wiz-text, #d2d2d2);
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%;
}
}


Line 1,451: Line 1,455:
max-width: none;
max-width: none;
width: auto;
width: auto;
margin-left: 0;
margin-right: auto;
border: 0 !important;
border-radius: 0;
box-shadow: none;
outline: 0;
}
}


Line 1,465: Line 1,475:
.wizlords-reward-table td:nth-child(2) {
.wizlords-reward-table td:nth-child(2) {
text-align: center;
text-align: center;
}
@media (max-width: 899px) {
.wikitable.wizlords-reward-table,
.wizlords-reward-table {
margin-left: auto;
margin-right: auto;
}
}
}


Line 1,493: Line 1,511:
}
}


.wikitable.wizlords-reputation-table,
@media (max-width: 899px) {
.wizlords-reputation-table {
.wikitable.wizlords-example-table,
width: 100%;
.wizlords-example-table {
max-width: none;
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-reputation-table.mw-collapsed,
.wikitable.wizlords-example-table-full-heal,
.wizlords-reputation-table.mw-collapsed {
.wizlords-example-table-full-heal {
width: 520px;
max-width: 500px;
min-width: 520px;
}
max-width: 100%;
}


.wikitable.wizlords-reputation-table caption,
.wikitable.wizlords-example-table.mw-collapsed,
.wizlords-reputation-table caption {
.wizlords-example-table.mw-collapsed {
white-space: nowrap;
background: transparent !important;
}
}


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


.wikitable.wizlords-reputation-table th:nth-child(3),
.wikitable.wizlords-example-table.mw-collapsed caption::before,
.wikitable.wizlords-reputation-table td:nth-child(3),
.wizlords-example-table.mw-collapsed caption::before {
.wizlords-reputation-table th:nth-child(3),
content: "";
.wizlords-reputation-table td:nth-child(3) {
display: inline-block;
text-align: left;
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%;
}


.wizlords-indented-note {
.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before,
margin: 8px 0 14px 28px;
.wizlords-example-table:not(.mw-collapsed) caption::before {
color: var(--wiz-text, #d2d2d2);
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%;
}


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


.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 {
box-sizing: border-box;
padding: 8px 6px !important;
white-space: normal;
overflow-wrap: anywhere;
word-break: normal;
}
}
}


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


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


.wizlords-spellbook-title-icon {
.wikitable.wizlords-reputation-table.mw-collapsed,
display: inline-flex;
.wizlords-reputation-table.mw-collapsed {
align-items: center;
width: 520px;
justify-content: center;
min-width: 520px;
width: 40px;
max-width: 100%;
height: 40px;
}
}


.wizlords-spellbook-title-icon img {
.wikitable.wizlords-reputation-table caption,
display: block;
.wizlords-reputation-table caption {
width: 40px;
white-space: nowrap;
height: 40px;
object-fit: contain;
}
}


.wizlords-spellbook > .mw-collapsible-toggle {
.wikitable.wizlords-reputation-table th:nth-child(1),
margin: 14px 18px 0 0;
.wikitable.wizlords-reputation-table td:nth-child(1),
color: var(--wiz-text, #d2d2d2) !important;
.wikitable.wizlords-reputation-table th:nth-child(2),
}
.wikitable.wizlords-reputation-table td:nth-child(2),
 
.wizlords-reputation-table th:nth-child(1),
.wizlords-spellbook > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-reputation-table td:nth-child(1),
.wizlords-spellbook > .mw-collapsible-toggle a {
.wizlords-reputation-table th:nth-child(2),
color: var(--wiz-link, #ff942d) !important;
.wizlords-reputation-table td:nth-child(2) {
width: 120px;
white-space: nowrap;
}
}


.wizlords-spellbook-bottom-toggle {
.wikitable.wizlords-reputation-table th:nth-child(3),
margin: 16px 0 0;
.wikitable.wizlords-reputation-table td:nth-child(3),
padding: 0;
.wizlords-reputation-table th:nth-child(3),
text-align: right;
.wizlords-reputation-table td:nth-child(3) {
color: var(--wiz-text, #d2d2d2) !important;
text-align: left;
cursor: pointer;
}
}


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


.wizlords-spellbook .mw-collapsible-content {
@media (max-width: 899px) {
padding: 0 18px 20px;
.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;
}


.wizlords-spell-category-heading {
.wikitable.wizlords-reputation-table th:nth-child(1),
position: relative;
.wikitable.wizlords-reputation-table td:nth-child(1),
margin: 0 0 3px;
.wizlords-reputation-table th:nth-child(1),
padding: 0;
.wizlords-reputation-table td:nth-child(1) {
color: var(--wiz-heading, #e7e1d4);
width: 22%;
font-size: 18px;
text-align: center;
font-weight: bold;
}
line-height: 1.3;
 
}
.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;
}


.wizlords-spell-category-description {
.wikitable.wizlords-reputation-table th:nth-child(3),
margin: 0 0 12px;
.wizlords-reputation-table th:nth-child(3) {
color: var(--wiz-text, #d2d2d2);
text-align: center;
font-style: italic;
}
font-weight: bold;
}
}


.wizlords-spell-card-grid + .wizlords-spell-category-heading {
@media (max-width: 380px) {
margin-top: 0;
.wikitable.wizlords-reputation-table th,
padding-top: 26px;
.wikitable.wizlords-reputation-table td,
}
.wizlords-reputation-table th,
.wizlords-reputation-table td {
padding: 7px 5px !important;
font-size: 12px;
line-height: 1.35;
}


.wizlords-spell-card-grid + .wizlords-spell-category-heading::before {
.wikitable.wizlords-reputation-table th:nth-child(1),
content: "";
.wikitable.wizlords-reputation-table td:nth-child(1),
position: absolute;
.wizlords-reputation-table th:nth-child(1),
top: 0;
.wizlords-reputation-table td:nth-child(1) {
left: 10%;
width: 21%;
width: 80%;
}
height: 1px;
 
background: var(--wiz-spellbook-colour);
.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%;
}
}
}


.wizlords-spell-card-grid {
@media (min-width: 600px) and (max-width: 899px) {
display: grid;
.wikitable.wizlords-reputation-table th:nth-child(1),
grid-template-columns: repeat(6, minmax(0, 1fr));
.wikitable.wizlords-reputation-table td:nth-child(1),
gap: 14px;
.wizlords-reputation-table th:nth-child(1),
margin: 16px auto 26px;
.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-servant-rules {
.wizlords-indented-note {
margin: 16px 0 18px;
margin: 8px 0 14px 28px;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
background: #171717;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
}
}


.wizlords-servant-rules-title {
.wizlords-spellbook {
padding: 12px 16px 4px;
margin: 18px 0 28px;
color: var(--wiz-spellbook-colour);
border: 1px solid var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
font-size: 18px;
background: #1f1e1e;
font-weight: bold;
line-height: 1.25;
text-align: center;
}
}


.wizlords-servant-rules-hint {
.wizlords-spellbook-arcane {
display: none;
--wiz-spellbook-colour: #c141d3;
padding: 0 16px 12px;
--wiz-spell-card-divider-colour: #d66be3;
color: var(--wiz-text, #d2d2d2);
font-style: italic;
text-align: center;
}
}


.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
.wizlords-spellbook-divine {
display: block;
--wiz-spellbook-colour: #089cc0;
--wiz-spell-card-divider-colour: #19c4eb;
}
}


.wizlords-servant-rules:not(.mw-collapsed) .wizlords-servant-rules-hint {
.wizlords-spellbook-title {
display: none;
display: flex;
}
align-items: center;
 
justify-content: center;
.wizlords-servant-rules > .mw-collapsible-toggle {
gap: 10px;
margin: 12px 16px 0 0;
padding: 14px 18px;
color: var(--wiz-text, #d2d2d2) !important;
color: var(--wiz-heading, #e7e1d4);
font-size: 24px;
font-weight: bold;
text-align: center;
}
}


.wizlords-servant-rules > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-spellbook-title-icon {
.wizlords-servant-rules > .mw-collapsible-toggle a {
display: inline-flex;
color: var(--wiz-link, #ff942d) !important;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
}
}


.wizlords-servant-rules-grid {
.wizlords-spellbook-title-icon img {
display: grid;
display: block;
grid-template-columns: repeat(4, minmax(0, 1fr));
width: 40px;
gap: 18px;
height: 40px;
padding: 0 16px 16px;
object-fit: contain;
}
}


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


.wizlords-servant-rules-section ul {
.wizlords-spellbook > .mw-collapsible-toggle .mw-collapsible-text,
margin: 6px 0 0;
.wizlords-spellbook > .mw-collapsible-toggle a {
padding-left: 22px;
color: var(--wiz-link, #ff942d) !important;
list-style: disc outside;
}
}


.wizlords-servant-rules-section li {
.wizlords-spellbook-bottom-toggle {
display: list-item;
margin: 16px 0 0;
margin: 0 0 3px;
padding: 0;
text-align: right;
color: var(--wiz-text, #d2d2d2) !important;
cursor: pointer;
}
}


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


.wizlords-spell-card-grid.cards-1 .wizlords-spell-card:nth-child(1) {
.wizlords-spellbook .mw-collapsible-content {
grid-column: 3 / span 2;
padding: 0 18px 20px;
}
}


.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
.wizlords-spell-category-heading {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
position: relative;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3) {
margin: 0 0 3px;
grid-column: 2 / span 2;
padding: 0;
color: var(--wiz-heading, #e7e1d4);
font-size: 18px;
font-weight: bold;
line-height: 1.3;
}
}


.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
.wizlords-spell-category-description {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
margin: 0 0 12px;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4) {
color: var(--wiz-text, #d2d2d2);
grid-column: 4 / span 2;
font-style: italic;
font-weight: bold;
}
}


.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4) {
.wizlords-spell-card-grid + .wizlords-spell-category-heading {
grid-column: 2 / span 2;
margin-top: 0;
padding-top: 26px;
}
}


.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
.wizlords-spell-card-grid + .wizlords-spell-category-heading::before {
grid-column: 4 / span 2;
content: "";
}
position: absolute;
 
top: 0;
.wizlords-spell-card-title {
left: 10%;
padding: 12px;
width: 80%;
color: var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
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-size: 18px;
font-weight: bold;
font-weight: bold;
Line 1,748: Line 1,882:
}
}


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


.wizlords-spell-card-meta ul {
.wizlords-servant-rules.mw-collapsed .wizlords-servant-rules-hint {
margin: 4px 0 0;
display: block;
padding-left: 22px;
list-style: disc outside;
}
}


.wizlords-spell-card-meta li {
.wizlords-servant-rules:not(.mw-collapsed) .wizlords-servant-rules-hint {
display: list-item;
display: none;
margin: 0 0 3px;
}
}


.wizlords-spell-card-divider {
.wizlords-servant-rules > .mw-collapsible-toggle {
width: 55%;
margin: 12px 16px 0 0;
height: 1px;
color: var(--wiz-text, #d2d2d2) !important;
margin: 14px auto 12px;
background: var(--wiz-spell-card-divider-colour, var(--wiz-race-table-divider-colour, #9d7531));
}
}


.wizlords-spell-card-section {
.wizlords-servant-rules > .mw-collapsible-toggle .mw-collapsible-text,
padding: 0 12px 12px;
.wizlords-servant-rules > .mw-collapsible-toggle a {
line-height: 1.45;
color: var(--wiz-link, #ff942d) !important;
}
}


.wizlords-spell-card-section ul {
.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;
margin: 6px 0 0;
padding-left: 22px;
padding-left: 22px;
Line 1,782: Line 1,925:
}
}


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


.wizlords-spell-card-body {
.wizlords-spell-card {
padding: 0 12px 14px;
grid-column: span 2;
line-height: 1.45;
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 NAVBOX */
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(1),
/* --------------- */
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(1),
.ww-navbox {
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(3) {
clear: both;
grid-column: 2 / span 2;
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 {
.wizlords-spell-card-grid.cards-2 .wizlords-spell-card:nth-child(2),
padding: 4px 10px 5px;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(2),
background: #1a1a1a;
.wizlords-spell-card-grid.cards-4 .wizlords-spell-card:nth-child(4) {
color: var(--wiz-link, #ff942d);
grid-column: 4 / span 2;
font-size: 16px;
font-weight: bold;
line-height: 1.35;
text-align: center;
}
}


.ww-navbox > .mw-collapsible-toggle {
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(4) {
position: relative;
grid-column: 2 / span 2;
z-index: 2;
}
float: right;
 
margin: 4px 8px 0 0;
.wizlords-spell-card-grid.cards-5 .wizlords-spell-card:nth-child(5) {
color: var(--wiz-text, #d2d2d2) !important;
grid-column: 4 / span 2;
font-weight: bold;
}
}


.ww-navbox > .mw-collapsible-toggle .mw-collapsible-text,
.wizlords-spell-card-title {
.ww-navbox > .mw-collapsible-toggle a {
padding: 12px;
color: var(--wiz-link, #ff942d) !important;
color: var(--wiz-spellbook-colour, var(--wiz-link, #ff942d));
text-decoration: none;
font-size: 18px;
font-weight: bold;
line-height: 1.25;
text-align: center;
}
}


.ww-navbox > .mw-collapsible-content {
.wizlords-spell-card-meta {
display: flex;
padding: 0 12px;
flex-direction: column;
line-height: 1.45;
clear: both;
margin: 0;
padding: 0;
}
}


.ww-navbox-row {
.wizlords-spell-card-meta ul {
display: flex;
margin: 4px 0 0;
margin: 0;
padding-left: 22px;
border-top: 2px solid var(--wiz-content-background, #222);
list-style: disc outside;
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 {
.wizlords-spell-card-meta li {
border-top: 2px solid var(--wiz-content-background, #222);
display: list-item;
margin: 0 0 3px;
}
}


.ww-navbox-row:last-of-type {
.wizlords-spell-card-divider {
border-bottom: 2px solid var(--wiz-content-background, #222);
width: 55%;
height: 1px;
margin: 14px auto 12px;
background: var(--wiz-spell-card-divider-colour, var(--wiz-race-table-divider-colour, #9d7531));
}
}


.ww-navbox-row:nth-child(odd) {
.wizlords-spell-card-section {
background: #222;
padding: 0 12px 12px;
line-height: 1.45;
}
}


.ww-navbox-row:nth-child(even) {
.wizlords-spell-card-section ul {
background: #252525;
margin: 6px 0 0;
padding-left: 22px;
list-style: disc outside;
}
}


.ww-navbox-group {
.wizlords-spell-card-section li {
flex: 0 0 143px;
display: list-item;
width: 143px;
margin: 0 0 3px;
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 {
.wizlords-spell-card-body {
flex: 1;
padding: 0 12px 14px;
padding: 4px 10px;
line-height: 1.45;
text-align: left;
box-sizing: border-box;
background: inherit;
}
}


.ww-navbox p {
/* WIZLORDS NAVBOX */
margin: 0;
/* --------------- */
}
.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 > .mw-collapsible-content > p:empty,
.ww-navbox-title {
.ww-navbox > .mw-collapsible-content > p:has(> br:only-child) {
padding: 4px 10px 5px;
display: none;
background: #1a1a1a;
color: var(--wiz-link, #ff942d);
font-size: 16px;
font-weight: bold;
line-height: 1.35;
text-align: center;
}
}


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


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


.wizlords-navbox-divider {
.ww-navbox > .mw-collapsible-content {
width: 90%;
display: flex;
height: 1px;
flex-direction: column;
margin: 16px auto 14px;
clear: both;
background: #9d7531;
margin: 0;
padding: 0;
}
}


.ww-navbox-stack > .ww-navbox-title {
.ww-navbox-row {
border-bottom: 1px solid #9d7531;
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-stack > .mw-collapsible-content > .ww-navbox {
.ww-navbox-row:first-of-type {
margin: 0;
border-top: 2px solid var(--wiz-content-background, #222);
padding-top: 0;
}
padding-bottom: 0;
 
border-top: 0;
.ww-navbox-row:last-of-type {
border-left: 0;
border-bottom: 2px solid var(--wiz-content-background, #222);
border-right: 0;
border-bottom: 0;
font-size: 100%;
}
}


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


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


/* Phone and tablet card placement reset; the phone query below then reduces
.ww-navbox-group {
  these grids from two columns to one. */
flex: 0 0 143px;
@media (max-width: 899px) {
width: 143px;
.wizlords-class-card-grid,
padding: 4px 10px;
.wizlords-spell-card-grid {
border-right: 2px solid var(--wiz-content-background, #222);
grid-template-columns: repeat(2, minmax(0, 1fr));
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;
}


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


.wizlords-class-card,
.ww-navbox > .mw-collapsible-content > p:empty,
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(4),
.ww-navbox > .mw-collapsible-content > p:has(> br:only-child) {
.wizlords-class-card-grid.cards-5 .wizlords-class-card:nth-child(5),
display: none;
.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;
}
}
}


/* Phone card layout. */
.ww-navbox a {
@media (max-width: 599px) {
color: var(--wiz-link, #ff942d) !important;
.wizlords-class-card-grid,
font-weight: bold;
.wizlords-spell-card-grid {
text-decoration: none;
grid-template-columns: 1fr;
}
}


.wizlords-servant-rules-grid {
.ww-navbox a:hover {
grid-template-columns: 1fr;
color: #ffd37a !important;
}
text-decoration: none;
}


.wizlords-class-card-grid {
.wizlords-navbox-divider {
display: block;
width: 90%;
margin: 12px 0 20px;
height: 1px;
}
margin: 16px auto 14px;
 
background: #9d7531;
.wizlords-class-card {
}
position: relative;
 
display: grid;
.ww-navbox-stack > .ww-navbox-title {
grid-template-columns: 104px minmax(0, 1fr);
border-bottom: 1px solid #9d7531;
grid-template-rows: auto auto;
}
gap: 0 12px;
 
box-sizing: border-box;
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox {
width: 100%;
margin: 0;
margin: 0 0 10px;
padding-top: 0;
padding: 8px;
padding-bottom: 0;
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d);
border-top: 0;
background: #1f1e1e;
border-left: 0;
cursor: pointer;
border-right: 0;
}
border-bottom: 0;
 
font-size: 100%;
.wizlords-class-card:focus {
}
outline: 2px solid var(--wiz-content-border, #ff942d);
 
outline-offset: 2px;
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:first-child {
}
border-top: 0;
 
}
.wizlords-class-card-icon {
 
grid-row: 1 / span 2;
.ww-navbox-stack > .mw-collapsible-content > .ww-navbox:last-child {
grid-column: 1;
border-bottom: 0;
align-self: start;
}
padding: 0;
 
text-align: center;
/* 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) {
.wizlords-class-card-icon img {
.ww-navbox-stack,
width: 100px;
.wizlords-navbox-divider {
height: 100px;
display: none !important;
object-fit: contain;
}
}
}
 
 
.wizlords-class-card-title {
/* Phone and tablet card placement reset; the phone query below then reduces
position: relative;
  these grids from two columns to one. */
grid-row: 1;
@media (max-width: 899px) {
grid-column: 2;
.wizlords-spellbooks-desktop {
align-self: end;
display: none;
margin: 0 0 5px;
}
padding: 0 22px 5px 18px;
 
border-bottom: 1px solid var(--wiz-class-accent, var(--wiz-content-border, #ff942d));
.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);
color: var(--wiz-heading, #e7e1d4);
font-family: Georgia, 'Times New Roman', serif;
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 24px;
font-size: 20px;
font-weight: bold;
font-weight: 700;
line-height: 1.1;
line-height: 1.25;
text-align: left;
text-align: left;
}
}
Line 2,065: Line 3,056:
margin: 0;
margin: 0;
color: var(--wiz-text, #d2d2d2);
color: var(--wiz-text, #d2d2d2);
font-family: Georgia, 'Times New Roman', serif;
font-family: Roboto, Roboto-fallback, system-ui, -apple-system, sans-serif;
font-size: 14px;
font-size: 13px;
font-style: italic;
font-style: italic;
font-weight: 400;
line-height: 1.35;
line-height: 1.35;
display: block;
overflow: visible;
}
.wizlords-class-card.is-open .wizlords-class-card-summary {
display: block;
overflow: visible;
}
}


Line 2,100: Line 3,099:
--wiz-class-accent: #33b6cf;
--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;
}
}