MediaWiki:Common.css: Difference between revisions

From MB Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
mNo edit summary
ย 
(247 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.class { }/* needed for some reason for the @imports to work */
/*************************************๐ŸŽฎ**************************************
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  *
ย  ย  ย  โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—ย 
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  COMMON.CSS (vA0.1)ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย 
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  โœฆ M*n* B**** โœฆย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย 
ย  ย  ย  โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ย 
ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  *
*******************************************************************************/


/* Imports caching */
/*
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Colors.css&action=raw&ctype=text/css");
*This page contains the entire stylesheet for the MB Wiki.
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Module:Documentation.css&action=raw&ctype=text/css");
*We urge you "not to edit" this page "directly".
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css");
*Some of the code inherited from coralisland.wiki.
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Infobox.css&action=raw&ctype=text/css");
*Any functional issue please report to our wiki-team at the official discord channel
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Tables.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:MessageBox.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Icons.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Cards.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Tabbers.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Mobile.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Recipe.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Modal.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:AceEditor.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");
ย 
/* CSS placed here will be applied to all skins */
ย 
/******************************************************************************************
********************************* Start user-edit variables *******************************
******************************************************************************************/


/*****************************************
*Imports will be starting below this very line;
****** START BASIC DESIGN VARIABLES ******
----------------------------------------*/
:root {
--wiki-sidebar-heading-font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
--wiki-body-font-family: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
--wiki-content-firstheading-font-family: 'Bebas Neue', 'Montserrat', sans-serif;
--wiki-content-border-radius: 2px;
--wiki-sidebar-border-radius: 4px;
}
/*----------------------------------------
******* END BASIC DESIGN VARIABLES *******
*****************************************/
ย 
/*****************************************
****** START BASIC COLOR VARIABLES *******
----------------------------------------*/
:root,
/* Begin light styles, delete from here to "end light styles" if you don't want your wiki to support any light themes (remove from [[Mediawiki:Theme-definitions]] too, or ask wiki.gg staff for help doing this) */
/* FYI: .view- will affect any theme marked |kind=light, */
/* individual themes are prefixed with .theme- insteadย  */
.view-light {
/**********************
* Probably edit these * [ LIGHT VIEW ]
***********************/
--wiki-body-background-color: #F8F4E9 ;
--wiki-body-background-image: url(filepath://FGS-Wiki-background-light.png);
ย 
--wiki-content-background-color: #FDFDF8;
--wiki-content-background-opacity: 95%;
--wiki-content-border-color: #D4C9B8;
--wiki-content-link-color: #8B5A3C;
/* [ LIGHT VIEW ] */
--wiki-accent-color: #4A6B2F;
--wiki-accent-label-color: #ffffff;
--wiki-accent-link-color: #3A2619;
ย 
--wiki-icon-to-link-filter: invert(20%) sepia(93%) saturate(2141%) hue-rotate(210deg) brightness(83%) contrast(103%); /* put your --wiki-content-link-color into https://mrpie5.gitlab.io/css-filter-generator/ */
/**/
ย  /**********************
ย  ย  * Mainbox Header Colors - Light Theme *
ย  ย  ***********************/
ย  ย  --mainbox-header-bg: #2E5C3A;
ย  ย  --mainbox-header-text: #FFFFFF;
ย  ย  --mainbox-header-border: #1E3A27;
}
ย 
/* end light styles */
ย 
/* Begin dark styles, delete from here to "end dark styles" if you don't want your wiki to support any dark themes (remove it from [[Mediawiki:Theme-definitions]] too, or ask wiki.gg staff for help doing this) */
/* FYI: .view- will affect any theme marked |kind=dark, */
/* individual themes are prefixed with .theme- insteadย  */
.view-dark {
/**********************
* Probably edit these * [ DARK VIEW ]
***********************/
--wiki-body-background-color: #1A120B;
--wiki-body-background-image: url(filepath://FGS-Wiki-background-dark.png);
--wiki-content-background-color: #25180F;
--wiki-content-background-opacity: 95%;
--wiki-content-border-color: #3A2C1F;
--wiki-content-link-color: #D4A76A;
/* [ DARK VIEW ] */
--wiki-accent-color: #9BCF7B;
--wiki-accent-label-color: #1A120B;
--wiki-accent-link-color: #C8B299;
--wiki-icon-to-link-filter: invert(60%) sepia(70%) saturate(3715%) hue-rotate(206deg) brightness(101%) contrast(97%); /* put your --wiki-content-link-color into https://mrpie5.gitlab.io/css-filter-generator/ */
/**/
ย  ย  /**********************
ย  ย  * Mainbox Header Colors - Dark Theme *
ย  ย  ***********************/
ย  ย  --mainbox-header-bg: #E14A1C;
ย  ย  --mainbox-header-text: #1A120B;
ย  ย  --mainbox-header-border: #B33715;
}
ย 
/* End dark styles */
ย 
/*----------------------------------------
******* END BASIC COLOR VARIABLES ********
*****************************************/
ย 
/*****************************************
**** START ADVANCED COLOR VARIABLES ******
----------------------------------------*/
ย 
:root,
.view-light {
/*******************
* Maybe edit these * [ LIGHT VIEW ]
********************/
--wiki-body-background-position: top center;
--wiki-body-background-size: cover;
--wiki-body-background-repeat: no-repeat;
--wiki-body-background-attachment: fixed;
ย 
--wiki-content-background-color--secondary: color-mix(in srgb, var(--wiki-content-background-color) 80%, var(--wiki-content-dynamic-color));
--wiki-content-text-color: #2D2D2D;
--wiki-content-link-color--visited: color-mix(in srgb, var(--wiki-content-link-color) 95%, #734C32);
--wiki-content-link-color--hover: #2E5C3A;
--wiki-content-redlink-color: #A80000;
ย 
--wiki-content-heading-color: #1A1A1A;
/* Slightly darker for better hierarchy */
--wiki-content-heading-border-color: var(--wiki-content-border-color);
ย 
/* [ LIGHT VIEW ] */
--wiki-navigation-background-color: #3A2619;
--wiki-navigation-border-color: var(--wiki-navigation-selected-border-color);
--wiki-navigation-text-color: #F5F0E6;
--wiki-navigation-selected-background-color: #4A3D32;
--wiki-navigation-selected-border-color: #E14A1C;
--wiki-navigation-selected-text-color: #FFFFFF;
ย 
/* [ LIGHT VIEW ] */
--wiki-neutral-color: var(--wiki-content-text-mix-color);
--wiki-alert-color: #A80015;
--wiki-warning-color: #9B542A;
--wiki-success-color: #0A6529;
/**/
/***********************************
* Likely do not need to edit these *ย  [ LIGHT VIEW ]
************************************/
--wiki-body-dynamic-color: #000000;
--wiki-body-dynamic-color--inverted: #ffffff;
--wiki-body-dynamic-color--secondary: #333333;
--wiki-body-dynamic-color--secondary--inverted: #cccccc;
ย 
--wiki-content-border-color--secondary: color-mix(in srgb, var(--wiki-content-border-color) 50%, transparent);
--wiki-content-border-color--accent: color-mix(in srgb, var(--wiki-accent-color) 50%, transparent);
--wiki-content-link-label-color: #ffffff;
--wiki-content-dynamic-color: #000000;
--wiki-content-dynamic-color--inverted: #ffffff;
--wiki-content-dynamic-color--secondary: #333333;
--wiki-content-dynamic-color--secondary--inverted: #cccccc;
/* [ LIGHT VIEW ] */
--wiki-alert-label-color: #ffffff;
--wiki-warning-label-color: #ffffff;
--wiki-success-label-color: #ffffff;
ย 
--wiki-icon-general-filter: ; /* do not set this to none, ignore the "unexpected token" error */
/**/
}
ย 
.view-dark {
/*******************
* Maybe edit these * [ DARK VIEW ]
********************/
--wiki-body-background-position: top center;
--wiki-body-background-size: cover;
--wiki-body-background-repeat: no-repeat;
--wiki-body-background-attachment: fixed;
ย 
--wiki-content-background-color--secondary: color-mix(in srgb, var(--wiki-content-background-color) 96%, var(--wiki-content-dynamic-color));
--wiki-content-text-color: #E8E6E1;
--wiki-content-link-color--visited: color-mix(in srgb, var(--wiki-content-link-color) 95%, #B8860B);
--wiki-content-link-color--hover: #FF6B35;
--wiki-content-redlink-color: #FF6B5B;
ย 
--wiki-content-heading-color: var(--wiki-content-text-color);
--wiki-content-heading-border-color: var(--wiki-content-border-color);
ย 
/* [ DARK VIEW ] */
--wiki-navigation-background-color: #1A120B;
--wiki-navigation-border-color: var(--wiki-navigation-selected-border-color);
--wiki-navigation-text-color: #E8E6E1;
--wiki-navigation-selected-background-color: #2D1F14;
--wiki-navigation-selected-border-color: #FF7B45;
--wiki-navigation-selected-text-color: #FFFFFF;
ย 
/* [ DARK VIEW ] */
--wiki-neutral-color: var(--wiki-content-text-mix-color);
--wiki-alert-color: #FF6B7A;
--wiki-warning-color: #E17D35;
--wiki-success-color: #15B845;
/**/
ย 
/***********************************
* Likely do not need to edit these * [ DARK VIEW ]
************************************/
--wiki-body-dynamic-color: #ffffff;
--wiki-body-dynamic-color--inverted: #000000;
--wiki-body-dynamic-color--secondary: #cccccc;
--wiki-body-dynamic-color--secondary--inverted: #333333;
ย 
--wiki-content-border-color--secondary: color-mix(in srgb, var(--wiki-content-border-color) 50%, transparent);
--wiki-content-border-color--accent: color-mix(in srgb, var(--wiki-accent-color) 50%, transparent);
--wiki-content-link-label-color: #000;
--wiki-content-dynamic-color: #ffffff;
--wiki-content-dynamic-color--inverted: #000000;
--wiki-content-dynamic-color--secondary: #cccccc;
--wiki-content-dynamic-color--secondary--inverted: #333333;
/* [ DARK VIEW ] */
--wiki-alert-label-color: #000000;
--wiki-warning-label-color: #000000;
--wiki-success-label-color: #000000;
ย 
--wiki-icon-general-filter: invert(100%);
}
ย 
/*----------------------------------------
***** END ADVANCED COLOR VARIABLES *******
*****************************************/
ย 
/*****************************************
**** START ADVANCED DESIGN VARIABLES *****
----------------------------------------*/
ย 
:root {
/***********************
ย  start logo position
----------------------*/
--wiki-is-top-logo: 0; /* 1 = center logo at the top of the page; 0 = logo at the top left of the page */
--wiki-logo-file-width: 160; /* Width of the image file in px. Put a number without the letters `px`. */
--wiki-logo-file-height: 160; /* Height of the image file in px. Put a number without the letters `px`. */
--wiki-logo-height: calc(var(--wiki-logo-file-height)*1px); /* Valid only when --wiki-is-top-logo is 1. The height the logo should be shown */
--wiki-logo-margin: 15px; /* the width of margin below the logo. When --wiki-is-top-logo is 1, this is also the default value of --wiki-top-spacing */
/*-----------------------
ย  end logo position
***********************/
--wiki-is-navigation-inside-content: 0; /* 0 = default navigation tabs layout; 1 = navigation tabs inside content box */
ย 
--wiki-body-font-family: sans-serif;
--wiki-content-firstheading-font-family: var(--wiki-content-heading-font-family); /* only apply to the main title of article */
ย 
/****** the following length variables must have units specified even if 0, ignore the warning *****/
--wiki-content-border-width: 1px;
--wiki-sidebar-width: 10em; /* width of sidebar(#mw-panel) */
--wiki-sidebar-portal-spacing: 2px;
--wiki-sidebar-border-width: var(--wiki-content-border-width);
--wiki-navigation-border-radius: 6px; /* border radius of tabs */
ย 
/*******************
* Maybe edit these * [ DESIGN ]
********************/
--wiki-logo-filter: none;
/****** the following length variables must have units specified even if 0, ignore the warning *****/
--wiki-content-border-top-radius: var(--wiki-content-border-radius);
--wiki-content-border-style: solid;
--wiki-content-border-image: none;
--wiki-content-backdrop-filter: none;
--wiki-page-content-max-width: 9999px; /* max width of sidebar+gap+content, must be a length value. A huge value can be used to indicate no limit, e.g. 99999px */
--wiki-gap-between-sidebar-and-content: 1em; /* gap between sidebar(#mw-panel) and content(#content) */
--wiki-sidebar-font-size: 0.75em; /* please use em or rem for this */
--wiki-sidebar-line-height: 1.125;
--wiki-sidebar-heading-font-size: 0.75em; /* please use em or rem for this */
--wiki-sidebar-margin: 0em;
--wiki-sidebar-list-item-padding: 0.25em 0.25rem;
--wiki-sidebar-list-padding: 0.25rem;
--wiki-sidebar-list-item-background--hover: none; /* background of hover item */
ย 
--wiki-navigation-font-size: 0.8125em; /* please use em or rem for this */
--wiki-navigation-font-weight: normal;
--wiki-navigation-text-transform: none;
--wiki-navigation-height: 2.75rem; /* height of navigation area,include spacing above tabs */
--wiki-navigation-left-spacing: calc( (1 - var(--wiki-is-navigation-inside-content))*var(--wiki-content-border-radius) + var(--wiki-is-navigation-inside-content) * 0.5rem );
--wiki-navigation-right-spacing: calc( var(--wiki-is-navigation-inside-content) * 0.5rem );
--wiki-navigation-box-background-color: var(--wiki-content-background-color);
--wiki-navigation-box-background-opacity: calc(var(--wiki-content-background-opacity)*0.8*var(--wiki-is-navigation-inside-content));
--wiki-navigation-box-background: color-mix(in srgb, var(--wiki-navigation-box-background-color) var(--wiki-navigation-box-background-opacity), transparent); /* usually only needed when --wiki-is-navigation-inside-content is 1 */
--wiki-navigation-box-border-image: none; /* usually only needed when --wiki-is-navigation-inside-content is 1 */
--wiki-navigation-box-backdrop-filter: none; /* usually only needed when --wiki-is-navigation-inside-content is 1 */
--wiki-navigation-selected-backdrop-filter: var(--wiki-content-backdrop-filter);ย  /* usually only needed when --wiki-is-navigation-inside-content is 0 */
--wiki-navigation-backdrop-filter: var(--wiki-navigation-selected-backdrop-filter);ย  /* usually only needed when --wiki-is-navigation-inside-content is 0 */
/* nav tabs style. The vector gradient is default.
* If you want to customize the style of tabs, it's easier to start with the following settings:
*ย  ย  --wiki-navigation-background-image: none;
*ย  ย  --wiki-navigation-selected-background-image: none;
*ย  ย  --wiki-navigation-selected-border-width: calc( (1 - var(--wiki-is-navigation-inside-content))*var(--wiki-content-border-width) + var(--wiki-is-navigation-inside-content) * 1px );
*ย  ย  --wiki-navigation-selected-border-bottom-background: none;
*ย  ย  --wiki-navigation-tab-spacing: 0.25em;
*ย  ย  --wiki-navigation-tab-padding-top: 0.5em;
*ย  ย  --wiki-navigation-tab-padding-bottom: 0.5em;
*/
--wiki-navigation-tab-spacing: -1px; /* width of the space between tabs, can be a negative number, in which case adjacent tabs will overlapย  */
--wiki-navigation-tab-padding-top: 1.25em;
--wiki-navigation-tab-padding-x: 0.75em;
--wiki-navigation-tab-padding-bottom: 4px;
--wiki-navigation-selected-border-width: 0px; /* border width of selected tabs */
--wiki-navigation-border-width: var(--wiki-navigation-selected-border-width); /* border width of normal tabs */
--wiki-navigation-border-image: none;
--wiki-navigation-selected-border-image: var(--wiki-navigation-border-image);
--wiki-navigation-background-image: linear-gradient(to bottom,transparent 0,var(--wiki-content-border-color) 100%), linear-gradient(to bottom,transparent 0,var(--wiki-content-border-color) 100%), linear-gradient(to top,var(--wiki-navigation-background-color) 0,var(--wiki-navigation-selected-background-color) 100%);
--wiki-navigation-background-repeat: no-repeat, no-repeat, repeat-x;
--wiki-navigation-background-position: left bottom, right bottom, left bottom;
--wiki-navigation-background-size:ย  1px 100%, 1px 100%, 100%;
--wiki-navigation-selected-background-image: linear-gradient(to bottom,transparent 0,var(--wiki-content-border-color) 100%), linear-gradient(to bottom,transparent 0,var(--wiki-content-border-color) 100%);
--wiki-navigation-selected-background-repeat: no-repeat, no-repeat;
--wiki-navigation-selected-background-position: left bottom, right bottom;
--wiki-navigation-selected-background-size:ย  1px 100%, 1px 100%;
--wiki-navigation-selected-border-bottom-background: linear-gradient(to right, var(--wiki-content-border-color) 0, var(--wiki-content-border-color) 1px, transparent 1px), linear-gradient(to left, var(--wiki-content-border-color) 0, var(--wiki-content-border-color) 1px, transparent 1px);
/* affects the dropdown menu under More */
--wiki-navigation-dropdown-text-color: var(--wiki-navigation-text-color);
--wiki-navigation-dropdown-text-color--hover: var(--wiki-navigation-dropdown-text-color);
--wiki-navigation-dropdown-font-size: var(--wiki-navigation-font-size); /* please use em or rem for this */
--wiki-navigation-dropdown-border-width: 1px;
--wiki-navigation-dropdown-border-radius: var(--wiki-navigation-border-radius);
--wiki-navigation-dropdown-padding: 0.25em; /* padding of the dropdown menu box */
--wiki-navigation-dropdown-item-padding: 0.625em; /* padding of each dropdown menu items */
--wiki-navigation-dropdown-item-background--hover: none; /* background of hover item */
--wiki-navigation-dropdown-border-image: none;
--wiki-navigation-dropdown-backdrop-filter: none;
--wiki-navigation-dropdown-box-shadow: none; /* box shadow */
/* styles of the footer */
--wiki-spacing-before-footer: 0px;
--wiki-footer-border-image: none;
ย 
/* padding on body element */
--wiki-top-spacing: calc(var(--wiki-is-top-logo)*var(--wiki-logo-margin) + (1 - var(--wiki-is-top-logo))*1em); /* extra spacing below wiki.gg netbar */
--wiki-left-spacing: 1em;
--wiki-right-spacing: 1em;
--wiki-bottom-spacing: 2em;
ย 
/* end design variables */
}
ย 
/*----------------------------------------
***** END ADVANCED DESIGN VARIABLES ******
*****************************************/
ย 
ย 
/*******************************
**** START SHARED VARIABLES ****
**** tl;dr: don't edit this ****
********************************/
/*
These variables are rarely touched, usually inherit other variables, and are shared on all themes.
In 99% of cases none of these are ever edited, and you should only be doing so if you have a very clear vision,
understand what you are doing, and *know* that what you are trying to do is not accomplished by changing
another variable in the above sections.
Since these are by default shared across all themes, if you support multiple themes you'll probably want to
separate the variables you want to modify here into .view-x blocks like above. If you don't understand
what that means or how to do that then you probably shouldn't be modifying this section.
*/
*/
:root {
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');
--wiki-content-border-bottom-width: var(--wiki-content-border-width);
--wiki-content-border-bottom-style: var(--wiki-content-border-style);
--wiki-content-border-bottom-color: var(--wiki-content-border-color);
--wiki-content-text-mix-color: color-mix(in srgb, var(--wiki-content-background-color), var(--wiki-content-text-color) 62%);
--wiki-content-text-mix-color-95: color-mix(in srgb, var(--wiki-content-background-color) 95%, var(--wiki-content-text-color));
--wiki-content-text-color--hover: var(--wiki-content-text-color);
ย 
/* heading */
--wiki-content-heading-border-bottom-width: 1px;
--wiki-content-heading-border-style: solid;
--wiki-content-heading-font-weight: bold;
--wiki-content-heading-font-style: normal;
--wiki-content-heading-text-transform: none;
--wiki-content-heading-line-height: normal;
--wiki-content-heading-text-shadow: none;
/* first heading (h1) */
--wiki-content-firstheading-border-bottom-width: var(--wiki-content-heading-border-bottom-width);
--wiki-content-firstheading-border-style: var(--wiki-content-heading-border-style);
--wiki-content-firstheading-border-color: var(--wiki-content-heading-border-color);
--wiki-content-firstheading-font-weight: var(--wiki-content-heading-font-weight);
--wiki-content-firstheading-font-style: var(--wiki-content-heading-font-style);
--wiki-content-firstheading-text-transform: var(--wiki-content-heading-text-transform);
--wiki-content-firstheading-line-height: var(--wiki-content-heading-line-height);
--wiki-content-firstheading-color: var(--wiki-content-heading-color);
--wiki-content-firstheading-text-shadow: none;
/* sub-heading (h3, h4, h5, h6) */
--wiki-content-subheading-border-bottom-width: 0px;
--wiki-content-subheading-border-style: var(--wiki-content-heading-border-style);
--wiki-content-subheading-border-color: var(--wiki-content-heading-border-color);
--wiki-content-subheading-font-family: var(--wiki-body-font-family);
--wiki-content-subheading-font-weight: bold;
--wiki-content-subheading-font-style: normal;
--wiki-content-subheading-text-transform: none;
--wiki-content-subheading-line-height: var(--wiki-content-heading-line-height);
--wiki-content-subheading-color: var(--wiki-content-heading-color);
--wiki-content-subheading-text-shadow: none;
/* heading size */
--wiki-content-firstheading-font-size: 1.8em;
--wiki-content-heading-h2-font-size: 1.5em;
--wiki-content-heading-h3-font-size: 1.2em;
--wiki-content-heading-h4-font-size: 114%;
--wiki-content-heading-h5-font-size: 108%;
--wiki-content-heading-h6-font-size: 100%;
ย 
--wiki-content-toc-background: var(--wiki-content-background-color--secondary);
--wiki-content-toc-border-width: 1px;
--wiki-content-toc-border-style: solid;
--wiki-content-toc-border-color: var(--wiki-content-border-color);
--wiki-content-toc-border-radius: 0px;
--wiki-content-toc-border-image: none;
--wiki-content-toc-box-shadow: 0 0.1em 0.2em #000000;
ย 
--wiki-content-catlinks-background: var(--wiki-content-background-color--secondary);
--wiki-content-catlinks-border-width: 1px;
--wiki-content-catlinks-border-style: solid;
--wiki-content-catlinks-border-color: var(--wiki-content-border-color);
--wiki-content-catlinks-border-radius: 0px;
--wiki-content-catlinks-border-image: none;
--wiki-content-catlinks-box-shadow: none;
ย 
--wiki-content-filetoc-background: var(--wiki-content-background-color--secondary);
--wiki-content-filetoc-border-width: 1px;
--wiki-content-filetoc-border-style: solid;
--wiki-content-filetoc-border-color: var(--wiki-content-border-color);
--wiki-content-filetoc-border-radius: 0px;
--wiki-content-filetoc-border-image: none;
--wiki-content-filetoc-box-shadow: none;
ย 
--wiki-logo-offset-x: 0px;
--wiki-logo-offset-y: 0px;
--wiki-sidebar-padding: 0px;
--wiki-sidebar-background-color: var(--wiki-content-background-color);
--wiki-sidebar-background-opacity: var(--wiki-content-background-opacity);
--wiki-sidebar-background-image: none;
--wiki-sidebar-background-position: center;
--wiki-sidebar-background-repeat: repeat;
--wiki-sidebar-background-size: auto;
--wiki-sidebar-box-shadow: none;
--wiki-sidebar-filter: none;
--wiki-sidebar-backdrop-filter: var(--wiki-content-backdrop-filter);
--wiki-sidebar-border-color: var(--wiki-content-border-color);
--wiki-sidebar-border-style: solid;
--wiki-sidebar-border-image: none;
--wiki-sidebar-link-color: var(--wiki-content-link-color);
--wiki-sidebar-link-color--hover: var(--wiki-content-link-color--hover);
--wiki-sidebar-heading-color: var(--wiki-content-heading-color);
--wiki-sidebar-heading-font-weight: normal;
--wiki-sidebar-heading-font-style: normal;
--wiki-sidebar-heading-text-transform: none;
--wiki-sidebar-heading-line-height: normal;
--wiki-sidebar-heading-padding: 0.5rem 0.25rem 0.5rem 0.5rem;
--wiki-sidebar-heading-margin: 0px 0px -0.5rem 0px;
--wiki-sidebar-heading-background: none;
--wiki-sidebar-heading-border-image: none;
--wiki-sidebar-heading-text-shadow: none;
--wiki-sidebar-list-background: none;
--wiki-sidebar-list-border-image: none;
--wiki-sidebar-list-margin: 0px;
--wiki-sidebar-list-item-background: none;
--wiki-sidebar-list-item-border-image: none;
--wiki-sidebar-list-item-background--hover: none;
--wiki-sidebar-list-item-border-image--hover: none;
--wiki-sidebar-list-item-spacing: 0px;
--wiki-sidebar-icon-to-link-filter: var(--wiki-icon-to-link-filter);
--wiki-sidebar-offset: 0px; /* Vertical offset */
--wiki-sidebar-box-padding: 0px;
--wiki-sidebar-box-background: none;
--wiki-sidebar-box-border: 0px;
--wiki-sidebar-box-border-image: none;
--wiki-accent-color--hover: color-mix(in srgb, var(--wiki-accent-color) 90%, var(--wiki-accent-label-color));
ย 
--wiki-footer-border-width: var(--wiki-content-border-width);
--wiki-footer-border-style: var(--wiki-content-border-style);
--wiki-footer-border-color: var(--wiki-content-border-color);
--wiki-footer-background-color: var(--wiki-content-background-color);
--wiki-footer-background-opacity: var(--wiki-content-background-opacity);
--wiki-footer-backdrop-filter: var(--wiki-content-backdrop-filter);
--wiki-footer-text-color: var(--wiki-content-text-color);
--wiki-footer-link-color: var(--wiki-content-link-color);
--wiki-footer-link-color--hover: var(--wiki-content-link-color--hover);
--wiki-footer-border-radius: var(--wiki-content-border-radius);
ย 
--wiki-navigation-background-opacity: var(--wiki-navigation-selected-background-opacity);
--wiki-navigation-background-color--hover: var(--wiki-navigation-background-color);
--wiki-navigation-background-opacity--hover: var(--wiki-navigation-background-opacity);
--wiki-navigation-background-image--hover: var(--wiki-navigation-background-image);
--wiki-navigation-background-position--hover: var(--wiki-navigation-background-position);
--wiki-navigation-background-repeat--hover: var(--wiki-navigation-background-repeat);
--wiki-navigation-background-size--hover: var(--wiki-navigation-background-size);
--wiki-navigation-text-color--hover: var(--wiki-content-link-color--hover);
--wiki-navigation-transform--hover: none;
--wiki-navigation-selected-border-style: solid;
--wiki-navigation-selected-background-opacity: var(--wiki-content-background-opacity);
--wiki-navigation-border-style: solid;
--wiki-navigation-border-color--hover: var(--wiki-navigation-border-color);
--wiki-navigation-border-image--hover: var(--wiki-navigation-border-image);
--wiki-navigation-border-bottom-color: var(--wiki-navigation-selected-border-color);
--wiki-navigation-border-bottom-style: var(--wiki-navigation-selected-border-style);
--wiki-navigation-border-bottom-width: calc(var(--wiki-is-navigation-inside-content, 0) * var(--wiki-navigation-selected-border-width, 1px) + (1 - var(--wiki-is-navigation-inside-content, 0)) * var(--wiki-content-border-width, 1px));
--wiki-navigation-icon-size: 1em;
--wiki-navigation-tab-padding-x--icon: var(--wiki-navigation-tab-padding-x);
--wiki-navigation-bottom-spacing: 0px; /* If you change this to greater than 0px, you should usually change the value of --wiki-navigation-selected-border-bottom-background to var(--wiki-navigation-border-bottom-color) */
ย 
--wiki-navigation-dropdown-background-color: var(--wiki-content-background-color);
--wiki-navigation-dropdown-background-opacity: var(--wiki-content-background-opacity);
--wiki-navigation-dropdown-border-color: var(--wiki-navigation-border-color);
--wiki-navigation-dropdown-offset: 0px; /* vertical offset */
ย 
--wiki-navigation-search-background-color: var(--wiki-content-background-color--secondary);
--wiki-navigation-search-background-image: none;
--wiki-navigation-search-background-position: 0;
--wiki-navigation-search-background-size: auto;
--wiki-navigation-search-background-repeat: repeat;
--wiki-navigation-search-backdrop-filter: none;
--wiki-navigation-search-border-color: var(--wiki-navigation-border-color);
--wiki-navigation-search-border-color--hover: var(--wiki-accent-color);
--wiki-navigation-search-border-style: solid;
--wiki-navigation-search-border-width: 1px;
--wiki-navigation-search-border-radius: 4px;
--wiki-navigation-search-border-image: none;
--wiki-navigation-search-border-image--hover: var(--wiki-navigation-search-border-image);
--wiki-navigation-search-box-shadow: none;
--wiki-navigation-search-box-shadow--hover: var(--wiki-navigation-search-box-shadow);
--wiki-navigation-search-text-color: var(--wiki-content-text-color);
--wiki-navigation-search-font-size: var(--wiki-navigation-font-size);
--wiki-navigation-search-height: 2em;
--wiki-navigation-search-button-color: currentColor;
--wiki-navigation-search-button-color--hover: var(--wiki-navigation-search-button-color);
--wiki-navigation-search-button-color-opacity: 80%;
--wiki-navigation-search-button-color-opacity--hover: 95%;
--wiki-navigation-search-bottom-spacing: 3px;
--wiki-navigation-search-highlight-background-color: color-mix(in srgb, var(--wiki-accent-color) 5%, transparent);
--wiki-navigation-gap-between-left-and-right: calc(max(0px, var(--wiki-navigation-tab-spacing))); /* minimum width between #left-navigation and #right-navigation before tabs start to collapse */
}
ย 
/*** mobile adjustments ***/
@media screen and (max-width: 720px) {
body.has-vector-mobile-menu{
--wiki-sidebar-offset: 0px; /* Vertical offset */
--wiki-sidebar-margin: 0px;
--wiki-sidebar-heading-background: none;
--wiki-sidebar-heading-border-image: none;
--wiki-sidebar-heading-margin: 0px 0px -0.5em 0px;
--wiki-sidebar-list-margin: 0px;
--wiki-sidebar-list-background: none;
--wiki-sidebar-list-border-image: none;
--wiki-sidebar-list-item-background: none;
--wiki-sidebar-list-item-border-image: none;
--wiki-sidebar-list-item-background--hover: none;
--wiki-sidebar-list-item-border-image--hover: none;
--wiki-sidebar-list-item-spacing: 0px;
--wiki-sidebar-line-height: 1.125;
--wiki-sidebar-background-opacity: 100%;
--wiki-navigation-search-border-width: 1px;
--wiki-logo-offset-x: 0px;
--wiki-logo-offset-y: 0px;
}
}




/*****************************
**** END SHARED VARIABLES ****
******************************/


/******************************************************************************************
/* ============================================
********************************* End user-edit variables *********************************
ย  ALL @IMPORTS MUST BE AT THE VERY TOP
******************************************************************************************/
ย  ============================================ */


/******************************
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Colors.css&action=raw&ctype=text/css");
* Fallback for older browsers *
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Module:Documentation.css&action=raw&ctype=text/css");
* DONT EDIT THISย  ย  ย  ย  ย  ย  ย  *
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css");
*******************************/
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Infobox.css&action=raw&ctype=text/css");
@supports not (color:color-mix(in srgb, #000, transparent)) {
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Tables.css&action=raw&ctype=text/css");
.view-dark,
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MessageBox.css&action=raw&ctype=text/css");
.view-light,
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css");ย 
:root {
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");
--wiki-content-text-mix-color: var(--wiki-content-text-color);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Icons.css&action=raw&ctype=text/css");
--wiki-content-text-mix-color-95: var(--wiki-content-background-color);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css");
--wiki-content-background-color--secondary: var(--wiki-content-dynamic-color--secondary--inverted);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Cards.css&action=raw&ctype=text/css");
--wiki-content-border-color--secondary: var(--wiki-content-border-color);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Tabbers.css&action=raw&ctype=text/css");
--wiki-content-border-color--accent: var(--wiki-accent-color);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Mobile.css&action=raw&ctype=text/css");
--wiki-accent-color--hover: var(--wiki-accent-color);
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Recipe.css&action=raw&ctype=text/css");
--wiki-navigation-search-highlight-background-color: transparent;
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Modal.css&action=raw&ctype=text/css");
}
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:AceEditor.css&action=raw&ctype=text/css");
}
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");


/*****************************
/* ============================================
* End older browser fallback *
ย  TOKEN ROOT ARCHITECTURE
******************************/
ย  ============================================ */


/*****************************
/* โœฆ THEME MANA (LIGHT) - DEFAULT โœฆ */
*ย  ย  PortableInfoboxesย  ย  ย  *
******************************/
:root {
:root {
--pi-background: var(--wiki-content-background-color);
ย  ย  /* 1. Core Color Palette */
--pi-secondary-background: var(--wiki-accent-color);
ย  ย  --color-primary: #88eee0;
--pi-secondary-background-label: var(--wiki-accent-label-color);
ย  ย  --color-secondary: #d9ffe9;
--pi-border-color: color-mix(in srgb, var(--pi-secondary-background) 50%, transparent);
ย  ย  --color-accent: #87b4b7;
ย  ย 
ย  ย  /* 2. Semantic Backgrounds */
ย  ย  --theme-body-bg: var(--color-secondary);
ย  ย  --theme-card-bg: rgba(255, 255, 255, 0.85); ย 
ย  ย  --theme-card-bg-hover: #ffffff;
ย  ย 
ย  ย  /* 3. Semantic Text Colors */
ย  ย  --theme-text-primary: #1a2b3c;
ย  ย  --theme-text-muted: #4a5b6c;
ย  ย  --theme-heading-color: #0d1b2a;
ย  ย 
ย  ย  /* 4. Borders & Interactive Elements */
ย  ย  --theme-border-color: var(--color-accent);
ย  ย  --theme-border-color-rgb: 135, 180, 183;
ย  ย  --theme-link-color: #006b75;
ย  ย  --theme-link-hover: #004a52;
ย  ย 
ย  ย  /* 5. Structures */
ย  ย  --radius-sm: 4px;
ย  ย  --radius-md: 8px;
ย  ย  --radius-lg: 12px;
ย  ย  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
ย  ย 
ย  ย  /* Main Page Layout Layout */
ย  ย  --main-page-layout--desktop: 'banner banner banner' 'about about updates' 'starts starts starts' 'items items items' 'characters characters characters' 'enemies enemies enemies' 'area area area';
ย  ย  --main-page-layout--tablet: 'banner banner' 'about updates' 'starts starts' 'items items' 'characters characters' 'enemies enemies' 'area area';
ย  ย  --main-page-layout--mobile: 'banner' 'about' 'updates' 'starts' 'items' 'characters' 'enemies' 'area';
}
}


.portable-infobox .pi-title,
/* โœฆ THEME BREAK (DARK) - TOGGLE โœฆ */
.portable-infobox .pi-header {
html.theme-break {
text-align: center;
ย  ย  /* 1. Core Color Palette */
font-size: 2em;
ย  ย  --color-primary: #12435e;
background: color-mix(in srgb, var(--pi-secondary-background) 75%, transparent);
ย  ย  --color-secondary: #0e344d;
color: var(--pi-secondary-background-label);
ย  ย  --color-accent: #7ff6e3;
ย  ย 
ย  ย  /* 2. Semantic Backgrounds */
ย  ย  --theme-body-bg: var(--color-secondary);
ย  ย  --theme-card-bg: var(--color-primary);
ย  ย  --theme-card-bg-hover: #164f6f;
ย  ย 
ย  ย  /* 3. Semantic Text Colors */
ย  ย  --theme-text-primary: #eaeef2;
ย  ย  --theme-text-muted: #87b4b7;
ย  ย  --theme-heading-color: #ffffff;
ย  ย 
ย  ย  /* 4. Borders & Interactive Elements */
ย  ย  --theme-border-color: var(--color-accent);
ย  ย  --theme-border-color-rgb: 127, 246, 227;
ย  ย  --theme-link-color: var(--color-accent);
ย  ย  --theme-link-hover: #aafff0;
ย  ย 
ย  ย  /* 5. Structures */
ย  ย  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.3);
}
}
/* ============================================
ย  BASE LAYOUT & STRUCTURAL RESET
ย  ============================================ */


.portable-infobox .pi-data,
/* 1. Universal Box Sizing */
.portable-infobox .pi-group {
*, *::before, *::after {
background: var(--wiki-content-background-color--secondary);
ย  ย  box-sizing: border-box;
}
}


.portable-infobox .pi-image {
/* 2. MediaWiki Body & Container Reset */
padding: 8px;
body {
ย  ย  background-color: var(--theme-body-bg) !important;
ย  ย  color: var(--theme-text-primary);
ย  ย  font-family: 'Fredoka', sans-serif;
ย  ย  transition: background-color 0.3s ease, color 0.3s ease;
}
}


.pi-image-thumbnail {
/* Stripping native MediaWiki container stylesย  */
max-width: 100%;
.mw-body, #content {
}
ย ย  ย  background: transparent !important;
.pi-image img {
ย ย  ย  border: none !important;
ย ย  ย  width: 128px;
ย ย  ย  color: var(--theme-text-primary);
ย ย  ย  height: 141px;
ย ย  ย  display: block;
ย  ย  margin: 0 auto; ย 
}
}


.pi-caption {
/* 3. Typography Normalization */
color: var(--wiki-content-text-mix-color);
h1, h2, h3, h4, h5, h6 {
ย  ย  color: var(--theme-heading-color);
ย  ย  margin-top: 0;
ย  ย  font-weight: 600;
}
}


.pi-section-navigation .pi-section-tab.pi-section-active,
/* Remove MediaWiki's harsh default underline on H1/H2 */
.pi-section-navigation .pi-section-tab.current,
.mw-body h1, .mw-body h2 {
.pi-media-collection .pi-tab-link.current {
ย  ย  border-bottom: 2px solid var(--theme-border-color); ย 
background: var(--pi-secondary-background);
ย  ย  padding-bottom: 0.25em;
color: var(--pi-secondary-background-label);
}
}


.pi-collapse > .pi-item:first-child {
/* 4. Hyperlink Standardization */
cursor: pointer;
a {
ย  ย  color: var(--theme-link-color);
ย  ย  text-decoration: none;
ย  ย  transition: color 0.2s ease;
}
}


/* overqualify these to overwrite normal content heading styles */
a:hover, a:focus {
.mw-body .portable-infobox h2,
ย  ย  color: var(--theme-link-hover);
.mw-body .portable-infobox h3 {
ย  ย  text-decoration: underline;
border-bottom: 0;
font-family: inherit;
font-weight: 700;
margin: 0;
}
/* Portable Infobox Style */
.infobox-right,
.infobox-enemy {
ย  float: right;
ย  clear: right;
ย  width: 300px;
ย  max-width: 100%;
ย  margin: 0 0 1em 1em;
ย  display: block;
ย  background: var(--body-light);
ย  border: 1px solid var(--body-border);
ย  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
ย  word-break: break-word;
}
}


.infobox-right .pi-title,
a:visited {
.infobox-enemy .pi-title {
ย ย  ย  color: var(--theme-link-color); ย 
ย  text-align: center;
ย  font-size: 2em;
ย  background: color-mix(
ย  ย  in srgb,
ย  ย  var(--pi-secondary-background) 75%,
ย ย  ย  transparent
ย  );
ย  color: var(--pi-secondary-background-label);
ย  padding: 12px;
ย  margin: 0;
ย  border-radius: 5px 5px 0 0;
}
}


.infobox-right .pi-data,
/* 5. Responsive Media & Selection */
.infobox-enemy .pi-data {
img, video {
ย  background: var(--wiki-content-background-color--secondary);
ย  ย  max-width: 100%;
ย  padding: 10px 15px;
ย  ย  height: auto;
}
}


.infobox-right .pi-data:nth-child(even),
::selection {
.infobox-enemy .pi-data:nth-child(even) {
ย  ย  background: var(--color-primary);
ย  background: var(--pi-background);
ย  ย  color: #000; ย 
}
}
@media (max-width: 768px) {
::-moz-selection {
ย  .infobox-right,
ย ย  ย  background: var(--color-primary);
ย  .infobox-enemy {
ย ย  ย  color: #000;
ย ย  ย  float: none;
ย  ย  margin: 1em auto;
ย ย  ย  width: 90%;
ย  ย  max-width: 300px;
ย  }
}
}


/*****************************
/* ============================================
*ย  End PortableInfoboxes ย  *
ย ย  BASE LAYOUT (MAPPED TO TOKENS)
******************************/
ย  ============================================ */
/*******************
html, body {
* Main page layout *
ย ย  ย  background-color: var(--theme-body-bg) !important;
********************/
ย ย  ย  background-image: none !important; ย 
.banner-links a {
ย ย  ย  color: var(--theme-text-primary);
ย ย  ย  color: #FFFFFF !important;
ย  ย  transition: background-color 0.3s ease, color 0.3s ease; ย 
ย ย  ย  text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
ย ย  ย  font-weight: 600 !important;
}
#mp-container {
display: grid;
gap: 10px;
clear:both; /* for .mw-indicators combined with NOTITLE */
}
}


@media screen and (max-width: 990px) {
.mw-body {
/* for mobile screens */
ย  ย  margin-top: -1px;
#mp-container {
ย  ย  border: 1px solid var(--theme-border-color);
grid-template-areas:var(--main-page-layout--mobile);
ย  ย  border-radius: var(--radius-sm);
grid-template-columns:var(--main-page-layout-columns--mobile, 100%);
ย  ย  background-color: transparent;
}
ย 
.mp-box.mp-hide-on-mobile {
display: none;
}
}
}


@media screen and (min-width: 990px) and (max-width: 1350px) {
/* Hide default elements */
/* for narrow screens, between 990px and 1350px */
.mobileHide, .mobile-only, .no-desktop {
#mp-container {
ย  ย  display: none !important;
grid-template-areas:var(--main-page-layout--tablet);
grid-template-columns:var(--main-page-layout-columns--tablet, 1fr 1fr);
}
ย 
.mp-box.mp-hide-on-tablet {
display: none;
}
}
}


@media screen and (min-width: 1350px) {
/* Fix for hidden H1 on main page */
/* for all other screens, 1350px and wider */
body.page-Main_Page.action-view h1.firstHeading,
#mp-container {
body.page-Main_Page.action-submit h1.firstHeading {
grid-template-areas:var(--main-page-layout--desktop);
ย  ย  display: none;
grid-template-columns:var(--main-page-layout-columns--desktop, 2fr 1fr 2fr);
}
ย 
.mp-box.mp-hide-on-desktop {
display: none;
}
}
}


.mp-box {
/* ============================================
position: relative;
ย  MAIN PAGE GRID LAYOUT
display: flex;
ย  ============================================ */
flex-flow: column nowrap;
#mp-container {
width: 100%;
box-sizing: border-box;
background: color-mix(in srgb, var(--wiki-content-background-color--secondary) 25%, transparent);
border: 0px solid var(--wiki-content-border-color);
border-radius: 8px;
overflow: hidden;
padding: 0px;
}
ย 
.mp-body {
height: 100%;
display: flex;
padding: 0.5em;
flex-flow: column nowrap;
}
ย 
.mp-box.centered-content .mp-body {
height: 100%;
display: flex;
flex-flow: column nowrap;
justify-content: space-evenly;
}
ย 
.mp-box.has-floating-image {
display: block;
}
ย 
.mp-box.has-floating-image .mp-body {
height: unset;
display: block;
}
ย 
.mp-box.header-only {
border-bottom-width:0px;
}
ย 
.mp-box.header-only .mp-body {
display:none;
}
ย 
.mp-box.missing .mw-inputbox-input {
/* max-width doesn't override the input element's 'size' property, but that property does work as a max-width itself, so we can set width:100% for the same effect */
width:100% !important;
}
ย 
/* overqualified to override normal heading styles */
.mw-body .mp-box h2 {
text-align: center;
font-weight: bold;
font-family: var(--wiki-content-heading-font-family);
overflow: initial;
border: 1px solid #F15A22;
border-radius: 2px;
font-size: 150%;
ย  ย  margin: 0.5em auto 0 auto;
padding: 12px 20px;
color: var(--wiki-content-heading-color);
background: var(--wiki-content-background-color);
box-shadow:
0 0 10px rgba(241, 90, 34, 0.3), /*glow*/
0 0 20px rgba(241, 90, 34, 0.2), /*glow*/
0 0 30px rgba(241, 90, 34, 0.1); /*glow*/
display: inline-block;
width: fit-content;
max-width: 100%;
justify-content: center;
}
ย 
#mp-box-welcome {
text-align: center;
position: relative;
overflow: hidden;
}
ย 
#mp-box-welcome h2 {
font-size: 200%;
}
ย 
#mp-welcome {
display: flex;
flex-flow: column nowrap;
position: relative;
height: 100%;
z-index: 2;
box-sizing: border-box;
}
ย 
#mp-welcome .welcome-subtitle {
ย  ย  background: rgba(26, 18, 11, 0.6);
ย  ย  backdrop-filter: blur(2px);
ย  ย  padding: 0.5em 1em;
ย  ย  border-radius: 6px;
ย  ย  display: inline-block;
}
#mp-welcome p[style*="color:#FFFFFF"] {
ย  ย  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 12px rgba(0,0,0,0.6) !important;
}
#mp-banner {
position: absolute;
width: 100%;
height: 100%;
filter: blur(0px);
z-index: -1;
background: url(filepath://Funguys_Swarm_Banner.png) top center/cover no-repeat;
background-size: cover;
background-repeat: no-repeat;
background-position: top center;
}
ย 
.view-dark #mp-banner {
filter: blur(0px) brightness(65%) contrast(120%);
}
ย 
.view-light #mp-banner {
filter: blur(0px) brightness(90%) contrast(120%);
}
/*Edit for template FGS wiki*/
/* Notes Styling */
.notes-container {
ย  display: inline-block;
ย  background: none;
ย  border-left: 4px solid #36c;
ย  padding: 4px 8px;
ย  margin: 0 0 10px 0;
ย  font-style: italic;
ย  font-size: 0.95em;
ย  width: auto;
ย  max-width: 100%;
ย  box-sizing: border-box;
ย  vertical-align: middle;
}
ย 
ย 
/* Quotes Styling */
.quotes-box {
ย  border: 1px solid #434242;
ย  border-left: 8px solid #eab759 !important;
ย  border-radius: 2px;
ย  padding: 15px;
ย  margin: 1em 0 1.5em;
ย  font-family: serif;
ย  font-size: 1em;
ย  width: 50%;
ย  max-width: 450px;
ย  line-height: 1.5em;
ย  background: rgba(255, 255, 255, 0.05);
ย  margin-left: 200px;
ย  display: flex;
ย  flex-direction: row;
}
ย 
.quotes-box blockquote {
ย  margin: 0;
ย  font-style: italic;
ย  text-align: center;
}
ย 
ย 
.quotes-box blockquote {
ย  ย  margin: 0;
ย  ย  font-style: italic;
}
/* Wrap Content */
.content-wrapper {
ย  vertical-align: top;
ย  align-items: flex-start;
}
.content-wrapper::after {
ย  content: "";
ย  display: table;
ย  clear: both;
}
/* Contents Left */
.contents-left {
ย  float: left;
ย  width: 65%;
ย  margin-right: 5%;
ย  margin-bottom: 20px;
}
/* Mainbox Styling V001*/
/* Global Main Box ItemList Style Settings */
.mainbox-itemlist {
ย  ย  margin-bottom: 0;
ย  ย  height: 100%;
}
ย 
.mainbox-header {
ย  ย  padding: 12px;
ย  ย  font-weight: bold;
ย  ย  text-align: center;
ย  ย  border: 1px solid var(--mainbox-header-border, #A0522D);
ย  ย  background-color: var(--mainbox-header-bg, #8B4513);
ย  ย  color: var(--mainbox-header-text, #FFFFFF);
ย  ย  margin-bottom: 1px;
}
ย 
.mainbox-links {
ย ย  ย  display: grid;
ย ย  ย  display: grid;
ย ย  ย  grid-template-columns: 1fr;
ย ย  ย  gap: 2rem;
ย ย  ย  gap: 1px;
ย ย  ย  padding: 1rem;
ย ย  ย  border: 1px solid #A0522D;
ย ย  ย  max-width: 1400px;
ย ย  ย  height: calc(100% - 50px); ย 
ย ย  ย  margin: 0 auto;
}
}


.mainbox-link {
/* Desktop Layout */
ย ย  ย  padding: 6px;
@media (min-width: 1024px) {
ย  ย  text-align: center;
ย ย  ย  #mp-container {
ย  ย  border: none;
ย  ย  ย  ย  grid-template-areas: var(--main-page-layout--desktop);
ย  ย  color: var(--wiki-content-link-color);
ย  ย  ย  ย  grid-template-columns: repeat(3, 1fr);
ย  ย  }
}
}


.mainbox-link:hover {
/* Tablet Layout */
ย  ย  background-color: color-mix(in srgb, var(--wiki-content-link-color--hover) 15%, transparent);
@media (min-width: 768px) and (max-width: 1023px) {
ย ย  ย  color: var(--wiki-content-link-color--hover);
ย ย  ย  #mp-container {
ย  ย  border-left: 3px solid var(--wiki-content-link-color--hover);
ย  ย  ย  ย  grid-template-areas: var(--main-page-layout--tablet);
ย  ย  padding-left: 8px;
ย  ย  ย  ย  grid-template-columns: repeat(2, 1fr);
ย  ย  transform: translateX(2px);
ย ย  ย  }
ย ย  ย  font-weight: 600;
}
}


.mainbox-grid-layout {
/* Mobile Layout */
ย  ย  display: grid;
@media (max-width: 767px) {
ย  ย  grid-template-columns: repeat(4, 1fr); ย 
ย  ย  #mp-container {
ย  ย  gap: 8px;
ย  ย  ย  ย  grid-template-areas: var(--main-page-layout--mobile);
ย ย  ย  width: 100%;
ย  ย  ย  ย  grid-template-columns: 1fr;
ย  ย  ย  ย  gap: 1rem;
ย ย  ย  }
}
}


.mainbox-grid-layout > .mainbox-itemlist {
/* MP Box styling */
ย ย  ย  display: flex;
.mp-box {
ย  ย  flex-direction: column;
ย ย  ย  animation: fadeInUp 0.5s ease forwards;
}
ย ย  ย  opacity: 0;
.mainbox-links-horizontal {
ย  ย  border: 1px solid #8B4513;
ย ย  ย  padding: 8px;
ย  ย  text-align: center;
}
}


.mainbox-links-horizontal .mainbox-link {
/* Staggered animations */
ย  ย  display: inline-block;
.mp-box:nth-child(1) { animation-delay: 0.05s; }
ย  ย  padding: 8px 12px;
.mp-box:nth-child(2) { animation-delay: 0.1s; }
ย  ย  text-align: center;
.mp-box:nth-child(3) { animation-delay: 0.15s; }
ย  ย  border: none;
.mp-box:nth-child(4) { animation-delay: 0.2s; }
ย  ย  margin: 4px;
.mp-box:nth-child(5) { animation-delay: 0.25s; }
ย  ย  color: var(--wiki-content-link-color);
.mp-box:nth-child(6) { animation-delay: 0.3s; }
}
.mp-box:nth-child(7) { animation-delay: 0.35s; }
.mp-box:nth-child(8) { animation-delay: 0.4s; }


.mainbox-links-horizontal .mainbox-link:hover {
@keyframes fadeInUp {
ย ย  ย  background-color: color-mix(in srgb, var(--wiki-content-link-color--hover) 15%, transparent);
ย ย  ย  from {
ย  ย  color: var(--wiki-content-link-color--hover);
ย  ย  ย  ย  opacity: 0;
ย  ย  border-left: 3px solid var(--wiki-content-link-color--hover);
ย  ย  ย  ย  transform: translateY(20px);
ย  ย  padding-left: 8px;
ย  ย  transform: translateX(2px);
ย  ย  font-weight: 600;
}
/* Regular content links burning effect */
.mw-body a:not(.new) {
ย  ย  transition: color 0.3s ease, text-shadow 0.3s ease;
}
ย 
.mw-body a:not(.new):hover {
ย  ย  color: var(--wiki-content-link-color--hover);
ย  ย  text-shadow: 0 0 6px color-mix(in srgb, var(--wiki-content-link-color--hover) 40%, transparent);
}
/* End of Mainbox Styling*/
/* === CARDGRID MODULE STYLES === */
/* These styles are for the CardGrid module */
.cardgrid-container {
ย  ย  background: var(--wiki-content-background-color--secondary);
ย  ย  border: 1px solid var(--wiki-content-border-color);
ย  ย  border-radius: 8px;
ย  ย  padding: 25px;
ย  ย  margin: 2em 0;
ย  ย  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
ย 
.cardgrid-header {
ย  ย  text-align: center;
ย  ย  margin-bottom: 30px;
ย  ย  padding-bottom: 20px;
ย  ย  border-bottom: 3px solid var(--wiki-accent-color);
}
ย 
.cardgrid-header h2 {
ย  ย  color: var(--wiki-content-heading-color);
ย  ย  margin: 0 0 10px 0;
ย  ย  font-size: 2em;
ย  ย  font-weight: 700;
}
ย 
.cardgrid-subtitle {
ย  ย  color: var(--wiki-content-text-color);
ย  ย  font-size: 1.1em;
ย  ย  max-width: 800px;
ย  ย  margin: 0 auto;
ย  ย  line-height: 1.6;
}
ย 
/* === GRID LAYOUT - THIS IS CRITICAL === */
.cardgrid-grid {
ย  ย  display: grid !important;
ย  ย  grid-template-columns: repeat(3, 1fr) !important;
ย  ย  gap: 25px !important;
ย  ย  width: 100% !important;
}
ย 
@media (max-width: 1200px) {
ย  ย  .cardgrid-grid {
ย  ย  ย  ย  grid-template-columns: repeat(2, 1fr) !important;
ย ย  ย  }
ย ย  ย  }
}
ย ย  ย  to {
ย 
ย ย  ย  ย  ย  opacity: 1;
@media (max-width: 768px) {
ย ย  ย  ย  ย  transform: translateY(0);
ย ย  ย  .cardgrid-grid {
ย ย  ย  ย  ย  grid-template-columns: 1fr !important;
ย ย  ย  ย  ย  gap: 20px !important;
ย ย  ย  }
ย ย  ย  }
}
}


/* Section headers */
/* ============================================
.cardgrid-section {
ย  MAIN PAGE CARDS & GRIDS
ย  ย  grid-column: 1 / -1;
ย  ============================================ */
ย  ย  margin: 40px 0 20px 0;
ย  ย  padding-bottom: 15px;
ย  ย  border-bottom: 2px solid var(--wiki-accent-color);
}


.cardgrid-section:first-child {
/* Main Grid Wrapperย  */
ย ย  ย  margin-top: 0;
.main-page-card-grid {
}
ย ย  ย  display: grid;
ย 
ย  ย  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
.cardgrid-section h3 {
ย ย  ย  gap: 20px;
ย  ย  color: var(--wiki-content-heading-color);
ย ย  ย  margin-top: 1rem;
ย ย  ย  margin: 0;
ย ย  ย  font-size: 1.5em;
ย  ย  font-weight: 600;
}
}


/* Individual cards */
/* 1. Game Intro Cards */
.cardgrid-card {
.game-intro-card {
ย ย  ย  background: var(--wiki-content-background-color);
ย ย  ย  background-color: var(--theme-card-bg);
ย ย  ย  border: 1px solid var(--wiki-content-border-color--secondary);
ย ย  ย  border-radius: var(--radius-lg); /* From Step 1 */
ย  ย  border-radius: 10px;
ย ย  ย  padding: 1.25rem;
ย ย  ย  padding: 20px;
ย ย  ย  border: 1px solid var(--theme-border-color);
ย ย  ย  border-left: 6px solid;
ย ย  ย  box-shadow: var(--shadow-soft);
ย ย  ย  min-height: 320px;
ย ย  ย  display: flex;
ย ย  ย  display: flex;
ย ย  ย  flex-direction: column;
ย ย  ย  flex-direction: column;
ย ย  ย  transition: transform 0.3s ease, box-shadow 0.3s ease;
ย  ย  height: 100%;
ย ย  ย  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
}
}


.cardgrid-card:hover {
.game-intro-card:hover {
ย ย  ย  transform: translateY(-5px);
ย  ย  background-color: var(--theme-card-bg-hover);
ย ย  ย  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
ย ย  ย  transform: translateY(-4px); ย 
ย ย  ย  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
ย  ย  border-color: var(--color-primary); ย 
}
}


.cardgrid-card-header {
/* 2. Header Elements */
ย ย  ย  display: flex;
.game-header {
ย  ย  align-items: center;
ย ย  ย  margin-bottom: 1rem;
ย  ย  gap: 15px;
ย ย  ย  position: relative;
ย ย  ย  margin-bottom: 15px;
}
}


.cardgrid-icon {
.mana-text {
ย ย  ย  width: 70px;
ย ย  ย  font-family: 'Fredoka', sans-serif;
ย ย  ย  height: 70px;
ย  ย  font-size: 1.5rem;
ย ย  ย  border-radius: 50%;
ย  ย  font-weight: 600;
ย  ย  margin: 0;
ย  ย 
ย  ย  /* Gradient */
ย  ย  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
ย ย  ย  -webkit-background-clip: text;
ย ย  ย  background-clip: text;
ย  ย  color: transparent;
ย  ย 
ย  ย  /* Flexbox aligning the icon perfectly */
ย ย  ย  display: flex;
ย ย  ย  display: flex;
ย ย  ย  align-items: center;
ย ย  ย  align-items: center;
ย ย  ย  justify-content: center;
ย ย  ย  gap: 8px; ย 
ย ย  ย  flex-shrink: 0;
ย ย  ย  letter-spacing: 0.5px;
}
}


.cardgrid-icon-inner {
.mana-line {
ย  ย  width: 60px;
ย ย  ย  height: 3px;
ย ย  ย  height: 60px;
ย ย  ย  background: linear-gradient(90deg, var(--color-accent), transparent);
ย  ย  border-radius: 50%;
ย ย  ย  margin-top: 0.5rem;
ย ย  ย  background: white;
ย ย  ย  width: 100%;
ย  ย  display: flex;
ย ย  ย  border-radius: 2px;
ย  ย  align-items: center;
ย  ย  justify-content: center;
ย ย  ย  overflow: hidden;
}
ย 
.cardgrid-title {
ย  ย  margin: 0;
ย  ย  font-size: 1.3em;
ย ย  ย  font-weight: 700;
ย ย  ย  line-height: 1.3;
ย  ย  flex-grow: 1;
}
}


.cardgrid-content {
/* 3. Card Content & Headings */
ย  ย  flex-grow: 1;
.game-content {
ย  ย  margin-bottom: 15px;
ย ย  ย  color: var(--theme-text-primary);
ย ย  ย  color: var(--wiki-content-text-color);
ย ย  ย  line-height: 1.6;
ย ย  ย  line-height: 1.6;
ย ย  ย  font-size: 0.95em;
ย ย  ย  flex-grow: 1; ย 
}
}


.cardgrid-content b {
.heading-char {
ย  ย  font-weight: 700;
ย ย  ย  font-size: 1.1rem;
}
ย 
.cardgrid-footer {
ย  ย  margin-top: auto;
ย  ย  padding-top: 15px;
ย  ย  border-top: 1px solid var(--wiki-content-border-color--secondary);
ย ย  ย  font-size: 0.9em;
ย  ย  text-transform: uppercase;
ย  ย  letter-spacing: 0.5px;
ย ย  ย  font-weight: 600;
ย ย  ย  font-weight: 600;
ย  ย  margin: 0.5rem 0;
ย  ย  padding-bottom: 0.25rem;
ย  ย  border-bottom: 2px solid var(--theme-border-color);
ย  ย  display: inline-block;
ย  ย  transition: border-color 0.3s ease;
}
}


/* Strategy section */
.heading-char a {
.cardgrid-strategy {
ย ย  ย  color: var(--theme-heading-color);
ย ย  ย  background: rgba(var(--wiki-accent-color-rgb), 0.05);
ย ย  ย  text-decoration: none;
ย  ย  border-radius: 10px;
ย ย  ย  transition: color 0.2s ease;
ย  ย  padding: 25px;
ย ย  ย  margin-top: 40px;
ย ย  ย  border-left: 5px solid var(--wiki-accent-color);
}
}


.cardgrid-strategy h4 {
.heading-char a:hover {
ย ย  ย  color: var(--wiki-content-heading-color);
ย ย  ย  color: var(--color-accent);
ย  ย  margin: 0 0 15px 0;
ย  ย  font-size: 1.3em;
ย  ย  display: flex;
ย  ย  align-items: center;
ย  ย  gap: 10px;
}
}


.cardgrid-strategy ul {
/* 4. Auto Grid Lists (The Links) */
ย ย  ย  margin: 0;
.auto-grid {
ย ย  ย  padding-left: 20px;
ย ย  ย  display: grid;
ย ย  ย  list-style-type: none;
ย ย  ย  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
ย  ย  gap: 0.5rem;
ย ย  ย  list-style: none;
ย  ย  padding: 0;
ย  ย  margin: 0.75rem 0 0 0;
}
}


.cardgrid-strategy li {
.auto-grid li {
ย  ย  margin-bottom: 8px;
ย ย  ย  padding: 0;
ย ย  ย  padding-left: 10px;
ย  ย  position: relative;
}
}
ย 
.cardgrid-strategy li:before {
/* Elevated List Link Styling */
ย  ย  content: "โ€ข";
.auto-grid li a {
ย  ย  color: var(--wiki-accent-color);
ย ย  ย  display: block; ย 
ย  ย  position: absolute;
ย ย  ย  padding: 0.35rem 0.5rem;
ย  ย  left: 0;
ย ย  ย  color: var(--theme-link-color);
ย  ย  font-size: 1.2em;
ย ย  ย  text-decoration: none;
}
ย ย  ย  border-radius: var(--radius-sm);
/* In-Game Gallery */
ย ย  ย  background-color: rgba(127, 127, 127, 0.05); ย 
.game-gallery {
ย ย  ย  border: 1px solid transparent;
ย ย  ย  margin: 1.5em 0;
ย ย  ย  transition: all 0.2s ease;
ย ย  ย  padding: 1.5em;
ย ย  ย  background: var(--wiki-content-background-color--secondary);
ย ย  ย  border: var(--wiki-content-border-width) solid var(--wiki-content-border-color);
ย ย  ย  border-radius: var(--wiki-content-border-radius);
ย ย  ย  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
ย ย  ย  backdrop-filter: var(--wiki-content-backdrop-filter);
}
ย 
.game-gallery-standard {
ย  ย 
}
ย 
.game-gallery-compact {
ย ย  ย  padding: 1em;
}
ย 
.game-gallery-compact .image-gallery {
ย  ย  gap: 8px;
}
ย 
.game-gallery-compact .gallery-item {
ย  ย  margin: 2px;
}
ย 
.game-gallery-wide .image-gallery {
ย  ย  justify-content: space-between;
}
ย 
.game-gallery-mosaic .image-gallery {
ย  ย  display: grid;
ย  ย  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
ย  ย  gap: 12px;
}
}


.game-gallery-grid .image-gallery {
.auto-grid li a:hover {
ย ย  ย  display: grid;
ย  ย  color: var(--theme-link-hover);
ย ย  ย  gap: 12px;
ย  ย  background-color: var(--theme-body-bg);
ย ย  ย  border-color: var(--theme-border-color);
ย ย  ย  transform: translateX(3px); ย 
}
}
/* ============================================
ย  BANNER, WIKI COMPONENTS & SCROLLBAR
ย  ============================================ */


.game-gallery-grid[style*="grid-template-columns"] .image-gallery {
/* 1. BANNER SECTION */
ย ย  ย  display: grid;
#mp-box-banner .mp-body {
ย ย  ย  gap: 12px;
ย ย  ย  background: linear-gradient(135deg, var(--color-secondary), var(--theme-body-bg));
}
ย ย  ย  border-radius: var(--radius-lg);
ย 
ย ย  ย  padding: 2rem;
.gallery-header {
ย  ย  margin-bottom: 1.2em;
ย  ย  font-weight: bold;
ย ย  ย  font-size: 1.4em;
ย ย  ย  text-align: center;
ย ย  ย  text-align: center;
ย ย  ย  color: var(--wiki-content-heading-color);
ย ย  ย  border: 1px solid var(--theme-border-color);
ย ย  ย  border-bottom: 2px solid var(--wiki-accent-color);
ย ย  ย  box-shadow: var(--shadow-soft);
ย ย  ย  padding-bottom: 0.5em;
ย ย  ย  transition: background 0.3s ease, border-color 0.3s ease;
ย  ย  font-family: var(--wiki-content-heading-font-family);
}
}


.image-gallery {
/* Social links */
.social {
ย ย  ย  display: flex;
ย ย  ย  display: flex;
ย  ย  justify-content: center;
ย  ย  gap: 1rem;
ย ย  ย  flex-wrap: wrap;
ย ย  ย  flex-wrap: wrap;
ย ย  ย  gap: 12px;
ย ย  ย  margin-top: 2rem;
ย  ย  justify-content: center;
ย  ย  align-items: flex-start;
}
}


.gallery-item {
.iconname {
ย ย  ย  transition: transform 0.2s ease;
ย ย  ย  display: flex;
ย ย  ย  border-radius: 4px;
ย ย  ย  align-items: center;
ย ย  ย  overflow: hidden;
ย ย  ย  gap: 0.5rem;
ย ย  ย  background: var(--wiki-content-background-color);
ย ย  ย  background: var(--theme-card-bg);
ย ย  ย  border: 1px solid var(--wiki-content-border-color--secondary);
ย ย  ย  border: 1px solid var(--theme-border-color);
ย  ย  padding: 0.5rem 1rem;
ย  ย  border-radius: var(--radius-md);
ย  ย  transition: all 0.2s ease;
}
}


.gallery-item:hover {
.iconname:hover {
ย  ย  background: var(--color-primary);
ย  ย  border-color: var(--color-accent);
ย ย  ย  transform: translateY(-2px);
ย ย  ย  transform: translateY(-2px);
ย  ย  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
ย  ย  border-color: var(--wiki-accent-color);
}
}


.gallery-caption {
.iconname a {
ย  ย  margin-top: 1em;
ย ย  ย  color: var(--theme-text-primary) !important;
ย  ย  font-style: italic;
ย ย  ย  text-decoration: none;
ย  ย  text-align: center;
ย ย  ย  font-weight: 500;
ย ย  ย  color: var(--wiki-content-text-mix-color);
ย ย  ย  font-size: 0.95em;
ย ย  ย  line-height: 1.4;
ย  ย  padding: 0.5em 1em;
ย  ย  background: color-mix(in srgb, var(--wiki-content-background-color) 85%, transparent);
ย  ย  border-radius: 4px;
ย  ย  border-left: 3px solid var(--wiki-accent-color);
}
}


.gallery-footer {
/* 2. WIKI FIXES & IMPROVEMENTS */
ย  ย  margin-top: 1em;
.wikiEditor-ui-text > .ui-resizable {
ย  ย  text-align: center;
ย ย  ย  width: 100% !important;
ย  ย  font-size: 0.85em;
ย ย  ย  max-width: 100%;
ย  ย  color: var(--wiki-content-text-mix-color);
ย  ย  border-top: 1px solid var(--wiki-content-border-color--secondary);
ย  ย  padding-top: 0.8em;
}
.game-gallery-thumb .game-gallery-item {
ย ย  ย  transition: all 0.3s ease;
}
ย 
.game-gallery-thumb .game-gallery-item:hover {
ย ย  ย  transform: translateY(-2px);
ย  ย  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
ย  ย  border-color: var(--wiki-accent-color);
}
ย 
.gallery-item-image {
ย  ย  transition: transform 0.2s ease;
}
ย 
.game-gallery-item:hover .gallery-item-image {
ย  ย  transform: scale(1.02);
}
@media (max-width: 768px) {
ย  ย  .game-gallery {
ย  ย  ย  ย  padding: 1em;
ย  ย  ย  ย  margin: 1em 0;
ย  ย  }
ย  ย 
ย  ย  .image-gallery {
ย  ย  ย  ย  gap: 8px;
ย  ย  }
ย  ย 
ย  ย  .game-gallery-mosaic .image-gallery,
ย  ย  .game-gallery-grid .image-gallery {
ย  ย  ย  ย  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
ย  ย  ย  ย  gap: 8px;
ย  ย  }
ย  ย 
ย  ย  .gallery-header {
ย  ย  ย  ย  font-size: 1.2em;
ย  ย  ย  ย  margin-bottom: 1em;
ย  ย  }
}
}


.view-dark .game-gallery {
ul { list-style: disc; }
ย  ย  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.view-dark .gallery-item:hover {
h2 .mw-headline, h3 .mw-headline, h4 .mw-headline { font-weight: 500; }
ย  ย  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 { margin-bottom: 4px; }
}


.view-light .game-gallery {
/* Categories */
ย ย  ย  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
.catlinks {
ย  ย  border-color: var(--theme-border-color);
ย  ย  border-radius: var(--radius-md);
ย ย  ย  background-color: var(--theme-card-bg);
ย  ย  padding: 10px;
}
}


.gallery-item img {
/* Code blocks */
ย ย  ย  display: block;
code, pre {
ย ย  ย  max-width: 100%;
ย  ย  background-color: var(--theme-card-bg);
ย ย  ย  height: auto;
ย  ย  color: var(--theme-text-primary);
ย ย  ย  margin: 0 auto;
ย ย  ย  border: 1px solid var(--theme-border-color);
ย ย  ย  border-radius: var(--radius-sm);
ย ย  ย  padding: 2px 6px;
ย ย  ย  font-family: Consolas, Eupheima UCAS, Monaco, Menlo, monospace;
}
}


.game-gallery .infobox-right,
code.code-block-table { display: table; line-height: 21px; padding: 8px; }
.game-gallery .infobox-enemy {
.code-block-table * { font: 14px Consolas, Eupheima UCAS, Monaco, Menlo, monospace; }
ย  ย  margin: 0.5em;
.code-block { display: inline-block; line-height: 21px; }
}


.game-gallery .mp-box {
/* Table of Contents */
ย ย  ย  margin: 0.5em 0;
.toc {
}
ย ย  ย  padding: 12px 16px;
/* End of game-gallery */
ย  ย  border-radius: var(--radius-md);
/* FGS-Thumb V001 */
ย ย  ย  background-color: var(--theme-card-bg);
.fgs-thumb {
ย ย  ย  border: 1px solid var(--theme-border-color);
ย ย  ย  margin-bottom: var(--layout-gap);
ย ย  ย  margin-top: 16px;
ย ย  ย  border: 0;
ย ย  ย  box-shadow: var(--shadow-soft);
ย ย  ย  position: relative;
ย ย  ย  transition: all 0.3s ease;
}
}


.fgs-thumb * {
.toctogglelabel { color: var(--theme-link-color); }
ย  ย  box-sizing: content-box;
.tocnumber { color: var(--theme-text-muted); }
}
.vector-body .toc h2 { font-family: 'Fredoka', sans-serif; }


.fgs-thumb .fgs-thumbinner {
/* Hatnote */
ย ย  ย  border: 1px solid var(--theme-box-border-color);
.hatnote {
ย ย  ย  border-radius: var(--theme-box-border-radius);
ย ย  ย  border-left: 4px solid var(--color-accent);
ย ย  ย  background: var(--theme-box-background);
ย  ย  padding: 8px 12px;
ย  ย  padding: var(--layout-box-padding);
ย ย  ย  border-radius: var(--radius-sm);
ย ย  ย  font-size: unset;
ย ย  ย  background-color: var(--theme-card-bg);
ย  ย  transition: all 0.3s ease;
ย ย  ย  margin: 8px 0;
ย  ย  position: relative;
ย  ย  overflow: hidden;
}
}


/* Enhanced hover effects */
/* Variables styling */
.fgs-thumb:hover .fgs-thumbinner {
span.variable { opacity: 0.65; }
ย  ย  border-color: var(--wiki-accent-color);
span.variable::after { opacity: 0.65; content: ">"; }
ย  ย  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
span.variable::before { opacity: 0.65; content: "<"; }
ย  ย  transform: translateY(-2px);
}


/* Image styling */
/* Pull quotes */
.fgs-thumb a.img {
.pull-quote { font-style: italic; margin: 0; padding: 0 30px 8px !important; }
.pull-quote::before {
ย  ย  color: var(--color-accent);
ย  ย  content: "โ€œ";
ย ย  ย  display: block;
ย ย  ย  display: block;
ย ย  ย  transition: transform 0.3s ease;
ย ย  ย  font-size: 96px;
}
ย ย  ย  font-style: normal;
ย 
ย ย  ย  line-height: 72px;
.fgs-thumb:hover a.img {
ย ย  ย  margin: 4px 0 -45px -5px;
ย  ย  transform: scale(1.02);
}
ย 
.fgs-thumb img {
ย  ย  background: none;
ย  ย  border-color: var(--theme-box-border-color);
ย  ย  border-radius: calc(var(--theme-box-border-radius) - 2px);
}
ย 
/* Caption styling */
.fgs-thumb .fgs-caption {
ย ย  ย  font-size: var(--font-size-s);
ย ย  ย  line-height: var(--line-height-s);
ย  ย  padding: 0 1px;
ย  ย  margin-top: var(--layout-gap);
ย  ย  border-left: 3px solid transparent;
ย  ย  transition: all 0.3s ease;
ย  ย  position: relative;
}
ย 
.fgs-thumb:hover .fgs-caption {
ย  ย  border-left-color: var(--wiki-accent-color);
ย  ย  padding-left: 8px;
}
ย 
/* Hide magnify icon */
.fgs-thumb .fgs-caption .magnify:first-child {
ย  ย  display: none;
}
ย 
/* Alignment variants */
.fgs-thumb.fgs-tleft {
ย  ย  margin: 0 var(--layout-gap) var(--layout-gap) 0;
ย  ย  float: left;
ย  ย  clear: left;
}
ย 
.fgs-thumb.fgs-tright {
ย ย  ย  margin: 0 0 var(--layout-gap) var(--layout-gap);
ย  ย  float: right;
ย  ย  clear: right;
}
ย 
.fgs-thumb.fgs-tcenter {
ย  ย  margin-left: auto;
ย  ย  margin-right: auto;
ย  ย  float: none;
ย  ย  display: table;
}
ย 
/* Size variants */
.fgs-thumb.fgs-small .fgs-thumbinner {
ย  ย  max-width: 150px;
}
ย 
.fgs-thumb.fgs-medium .fgs-thumbinner {
ย  ย  max-width: 200px;
}
ย 
.fgs-thumb.fgs-large .fgs-thumbinner {
ย  ย  max-width: 300px;
}
ย 
.fgs-thumb.fgs-xlarge .fgs-thumbinner {
ย  ย  max-width: 400px;
}
ย 
/* Special effects */
.fgs-thumb.fgs-featured .fgs-thumbinner {
ย  ย  border: 2px solid var(--wiki-accent-color);
ย  ย  background: linear-gradient(135deg, var(--theme-box-background) 0%, color-mix(in srgb, var(--wiki-accent-color) 5%, var(--theme-box-background)) 100%);
}
ย 
.fgs-thumb.fgs-bordered img {
ย  ย  border: 2px solid var(--theme-box-border-color);
ย  ย  padding: 4px;
}
ย 
/* Mobile responsiveness */
@media screen and (max-width: 640px) {
ย  ย  .fgs-thumb.fgs-tright {
ย  ย  ย  ย  margin-left: 0;
ย  ย  ย  ย  float: none;
ย  ย  ย  ย  clear: both;
ย  ย  }
ย  ย 
ย  ย  .fgs-thumb.fgs-tleft {
ย  ย  ย  ย  margin-right: 0;
ย  ย  ย  ย  float: none;
ย  ย  ย  ย  clear: both;
ย  ย  }
ย  ย 
ย  ย  .fgs-thumb .fgs-thumbinner {
ย  ย  ย  ย  max-width: 100% !important;
ย  ย  }
}
}
.pull-quote__source::before { content: "โ€” "; margin-bottom: 8px; }
.pull-quote__text { margin-bottom: 4px; }


/* Focus state for accessibility */
/* Gallery & Changelist */
.fgs-thumb:focus-within .fgs-thumbinner {
.gallerytext { text-align: center; font-size: 100%; }
ย  ย  outline: 2px solid var(--wiki-accent-color);
.changelist-header { display: flex; justify-content: space-between; align-items: center; font-size: 88%; margin: 0.3em 0; }
ย  ย  outline-offset: 2px;
.changelist-content { overflow: auto; max-height: 384px; padding: 1em; box-sizing: border-box; border-radius: var(--radius-md); }
}
.changelist-border { border: 1px solid var(--theme-border-color); border-left: 6px solid var(--color-accent); }
/* --- Core Container --- */
div.variants-container {
ย  width: 60%;
ย  margin-left: 0;
ย  margin-right: auto;
ย  align-items: flex-start;
ย  border: none;
ย  background: none;
ย  box-shadow: none;
ย  padding: 20px 0;
ย  display: flex;
ย  flex-direction: column;
}


/* --- Heading --- */
/* Chat wrapper */
div.variants-container h4 {
.chat-wrapper { display: flex; flex-direction: column; }
ย  text-align: left;
.chat-player, .chat-npc { display: flex; flex-direction: row; gap: 0.5em; }
ย  margin-bottom: 20px;
.chat-player-speaker { white-space: nowrap; min-width: 70px; color: #43b581; font-weight: 600; }
ย  font-size: 1.4rem;
.chat-npc-speaker { white-space: nowrap; min-width: 70px; color: #f04747; font-weight: 600; }
ย  font-weight: 700;
}


/* --- Variants Grid Layout --- */
/* 3. RESPONSIVE IMPROVEMENTS */
div.variants-container .variants-grid {
ย  display: flex;
ย  flex-direction: column;
ย  align-items: center;
ย  gap: 30px;
}
ย 
/* ============================================================
ย  VARIANT CARD STYLE
ย  ============================================================ */
div.variants-container .variant-card {
ย  background: var(--wiki-content-background-color--secondary, #fff);
ย  border: 1px solid var(--pi-border-color, #d0d7de);
ย  border-radius: 2px;
ย  padding: 15px;
ย  text-align: center;
ย  transition: all 0.3s ease;
ย  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
ย  position: relative;
ย  overflow: hidden;
}
ย 
div.variants-container .variant-card-content {
ย  display: flex;
ย  flex-direction: column;
ย  height: 100%;
}
ย 
div.variants-container .variant-image {
ย  margin-bottom: 12px;
}
ย 
div.variants-container .variant-image img {
ย  max-width: 100%;
ย  height: auto;
ย  border-radius: 4px;
ย  margin-bottom: 0;
}
ย 
/* --- Variant Card Hover --- */
div.variants-container .variant-card::before {
ย  content: "";
ย  position: absolute;
ย  top: 0;
ย  left: 0;
ย  right: 0;
ย  height: 3px;
ย  background: var(--pi-secondary-background, #36c);
ย  transform: scaleX(0);
ย  transition: transform 0.3s ease;
}
ย 
div.variants-container .variant-card:hover::before {
ย  transform: scaleX(1);
}
ย 
div.variants-container .variant-card:hover {
ย  transform: translateY(-3px);
ย  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
ย  border-color: var(--pi-secondary-background, #36c);
}
ย 
/* --- Typography --- */
div.variants-container .variant-card h5 {
ย  margin: 0 0 8px 0;
ย  font-size: 1.2em;
ย  color: var(--pi-secondary-background, #36c);
ย  line-height: 1.3;
}
ย 
div.variants-container .variant-card .variant-meta {
ย  font-size: 0.9em;
ย  color: var(--wiki-content-text-mix-color, #666);
ย  margin: 0 0 8px 0;
ย  font-style: italic;
}
ย 
div.variants-container .variant-card .variant-description {
ย  font-size: 0.95em;
ย  margin: 8px 0;
ย  line-height: 1.4;
ย  flex-grow: 1;
}
ย 
div.variants-container .variant-card .variant-notes {
ย  font-size: 0.85em;
ย  margin-top: 10px;
ย  padding: 8px;
ย  background: var(--pi-background, #f0f0f0);
ย  border-radius: 2px;
ย  border-left: 3px solid var(--pi-border-color, #a2a9b1);
}
ย 
div.variants-container .variant-card .variant-notes strong {
ย  color: var(--pi-secondary-background, #36c);
}
/* Statbox HOVER */
div.variants-container .statbox-variant:hover {
ย  transform: translateY(-3px);
ย  box-shadow: 0 8px 16px rgba(189, 58, 40, 0.3);
}
ย 
div.variants-container .statbox-variant .variant-notes strong {
ย  color: #ffcc00;
}
.statbox-variant {
ย  transition: all 0.3s ease;
}
ย 
.statbox-variant:hover {
ย  transform: translateY(-5px);
ย  box-shadow: 0 12px 40px rgba(189, 58, 40, 0.3);
}
/* Responsive design */
@media (max-width: 768px) {
@media (max-width: 768px) {
ย  .variants-grid {
ย  ย  .game-intro-card { padding: 1rem; }
ย ย  ย  grid-template-columns: 1fr !important;
ย ย  ย  .mana-text { font-size: 1.25rem; }
ย  }
ย  ย  .social { gap: 0.5rem; }
ย 
ย ย  ย  .iconname { padding: 0.35rem 0.75rem; font-size: 0.9rem; }
ย  .statbox-variant table {
ย  ย  #mp-box-banner .mp-body { padding: 1rem; }
ย ย  ย  font-size: 0.9em;
ย  }
}
}
@media (max-width: 1024px) {
ย  div.variants-container {
ย  ย  width: 80%;
ย  }
}
@media (max-width: 768px) {
ย  div.variants-container .statbox-variant {
ย  ย  max-width: 95%;
ย  }


ย  div.variants-container .statbox-variant table {
/* 4. CUSTOM SCROLLBAR */
ย  ย  font-size: 0.9em;
::-webkit-scrollbar { width: 10px; height: 10px; }
ย  }
::-webkit-scrollbar-track {
ย 
ย ย  ย  background: var(--theme-body-bg);
ย  div.variants-container .statbox-variant td,
ย  ย  border-radius: 0px; ย 
ย  div.variants-container .statbox-variant th {
ย  ย  padding: 6px 8px;
ย  }
ย 
ย  div.variants-container .statbox-variant .variant-image img {
ย  ย  max-width: 60px;
ย  }
ย 
ย  div.variants-container .statbox-variant h5 {
ย  ย  font-size: 1.1em;
ย  }
ย 
ย  div.variants-container .variant-card {
ย ย  ย  padding: 12px;
ย  }
ย 
ย  div.variants-container .variant-image img {
ย  ย  max-width: 60px;
ย  }
ย  div.variants-container {
ย  ย  width: 95%;
ย  }
}
}
ย 
::-webkit-scrollbar-thumb {
/* --- Print Styles --- */
ย  ย  background: var(--color-accent);
@media print {
ย ย  ย  border-radius: 5px;
ย  div.variants-container .statbox-variant,
ย  div.variants-container .variant-card {
ย  ย  break-inside: avoid;
ย ย  ย  box-shadow: none;
ย  ย  border: 1px solid #000;
ย  ย  transform: none;
ย  }
}
}
::-webkit-scrollbar-thumb:hover { background: var(--theme-link-hover); }


/* 5. UTILITY CLASSES */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.p-2 { padding: 0.5rem; }
/* ============================================
ย  WIKI COMPONENTS
ย  ============================================ */


/* Custom Footer */
/* 1. WIKITABLESย  */
.custom-footer {
table.wikitable {
ย ย  ย  background: #e9ecef;
ย ย  ย  background-color: var(--theme-card-bg);
ย  ย  border-top: 2px solid #6c757d;
ย  ย  color: var(--theme-text-primary);
ย  ย  padding: 15px;
ย  ย  border: 1px solid var(--theme-border-color);
ย  ย  margin-top: 30px;
ย ย  ย  border-collapse: collapse;
ย  ย  font-size: 0.9em;
ย  ย  color: #495057;
}
ย 
/* Clear floats */
.infobox-right + *,
.infobox-enemy + *,
.contents-left + * {
ย  ย  clear: both;
}
/* [[Template:MP_link]] */
.mp-links {
--gap: 10px;
}
ย 
.mp-links > ul {
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
margin: 2px;
gap: var(--gap);
}
ย 
.mp-links > ul > li {
display: flex;
flex-flow: column nowrap;
align-items: stretch;
text-align: center;
box-sizing: border-box;
flex: max(calc(50% - var(--gap)), 5em) 1 1;
outline: 1px solid var(--wiki-content-link-color);
transition: 0.1s ease-in;
}
ย 
.mp-links > ul > li:hover {
background-color: color-mix(in srgb, var(--wiki-content-link-color) 20%, transparent);
}
ย 
.mp-links.columns-1 > ul > li {flex: max(calc(100% - var(--gap)), 5em) 1 1;}
.mp-links.columns-2 > ul > li {flex: max(calc(50% - var(--gap)), 5em) 1 1;}
.mp-links.columns-3 > ul > li {flex: max(calc((100% / 3) - var(--gap)), 5em) 1 1;}
.mp-links.columns-4 > ul > li {flex: max(calc(25% - var(--gap)), 5em) 1 1;}
.mp-links.columns-5 > ul > li {flex: max(calc(20% - var(--gap)), 5em) 1 1;}
.mp-links.columns-6 > ul > li {flex: max(calc((100% / 6) - var(--gap)), 5em) 1 1;}
.mp-links.columns-7 > ul > li {flex: max(calc((100% / 7) - var(--gap)), 5em) 1 1;}
.mp-links.columns-8 > ul > li {flex: max(calc((100% / 8) - var(--gap)), 5em) 1 1;}
.mp-links.columns-max > ul > li {flex: max(calc(0% - var(--gap)), 5em) 1 1;}
ย 
.mp-links > ul > li:hover a {
text-decoration: underline;
}
ย 
.mp-links > ul > li > a {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
flex: 1 1 auto;
box-sizing: border-box;
padding: 5px;
}
ย 
.mp-links > ul > li > a:first-child {
height: 100%;
}
ย 
.mp-links > ul > li > a:last-child:not(:first-child) {
height: unset;
}
ย 
.mp-links.stretch,
.mp-links.stretch > ul {
height: 100%;
}
ย 
.mp-links.side-image li {
flex-flow: row nowrap;
}
ย 
.mp-links.plain > ul > li {
outline-color: transparent;
}
/* Card Navbox Styles */
.card-navbox-container {
ย ย  ย  border-radius: 12px;
ย ย  ย  margin: 1em 0;
ย ย  ย  margin: 1em 0;
ย ย  ย  padding: 16px;
ย ย  ย  width: 100%; /* Encourages responsive behavior */
ย ย  ย  box-shadow: 0 4px 6px var(--shadow-color, rgba(74, 124, 89, 0.1));
ย ย  ย  box-shadow: var(--shadow-soft);
ย  ย  position: relative;
ย  ย  transition: box-shadow 0.3s ease;
}
ย 
.card-navbox-container:hover {
ย  ย  box-shadow: 0 6px 12px var(--shadow-color, rgba(74, 124, 89, 0.15));
}
}


.card-navbox-container::before {
table.wikitable > tr > th,
ย  ย  content: "";
table.wikitable > tr > td,
ย  ย  position: absolute;
table.wikitable > * > tr > th,
ย  ย  top: -2px;
table.wikitable > * > tr > td {
ย ย  ย  left: -2px;
ย ย  ย  border: 1px solid var(--theme-border-color);
ย  ย  right: -2px;
ย ย  ย  padding: 0.5em 0.75em;
ย  ย  bottom: -2px;
ย  ย  border-radius: 14px;
ย ย  ย  z-index: -1;
ย  ย  opacity: 0.1;
}
}


.card-navbox-title {
/* Table Headers */
ย ย  ย  background: var(--mainbox-header-bg);
table.wikitable > tr > th,
ย ย  ย  color: #FFFFFF;
table.wikitable > * > tr > th {
ย  ย  padding: 12px 16px;
ย ย  ย  background-color: var(--color-primary);
ย  ย  border-radius: 2px;
ย ย  ย  color: var(--theme-heading-color);
ย ย  ย  font-weight: 600;
ย ย  ย  font-weight: 600;
ย  ย  font-size: 1.2em;
ย ย  ย  text-align: center;
ย ย  ย  text-align: center;
ย  ย  margin-bottom: 16px;
ย  ย  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
ย  ย  border: 1px solid #3a6b4a;
}
}


.card-section-header {
ย  ย  background: var(--section-header-bg, #f8f9fa);
ย  ย  padding: 12px 16px;
ย  ย  margin: 24px 0 16px 0;
ย  ย  border-radius: 8px;
ย  ย  font-weight: 600;
ย  ย  font-size: 1.1em;
ย  ย  border-left: 6px solid var(--accent-color, #4a7c59);
ย  ย  border-bottom: 1px solid #e9ecef;
}


.card-navbox-item {
table.wikitable > tbody > tr:hover {
ย ย  ย  padding: 20px;
ย ย  ย  background-color: rgba(127, 127, 127, 0.05);
ย  ย  border-bottom: 1px solid var(--border-light, #e9ecef);
}
}


.card-navbox-item:last-child {
/* 2. INFOBOXESย  */
ย ย  ย  border-bottom: none;
.infobox {
ย  ย  float: right;
ย  ย  clear: right;
ย  ย  margin: 0 0 1em 1em;
ย  ย  width: 300px;
ย  ย  background-color: var(--theme-card-bg);
ย  ย  border: 1px solid var(--theme-border-color);
ย  ย  border-radius: var(--radius-md);
ย  ย  padding: 10px;
ย  ย  box-shadow: var(--shadow-soft);
ย  ย  font-size: 0.9em;
ย  ย  color: var(--theme-text-primary);
ย ย  ย  transition: background-color 0.3s ease, border-color 0.3s ease;
}
}


.card-navbox-item:hover .card-container {
/* Infobox Headers */
ย ย  ย  transform: translateY(-2px);
.infobox th {
}
ย  ย  background-color: var(--color-secondary);
ย 
ย ย  ย  color: var(--theme-heading-color);
.card-navbox-item:hover .element-badge {
ย  ย  text-align: center;
ย ย  ย  transform: scale(1.05);
ย  ย  padding: 5px;
ย ย  ย  border-radius: var(--radius-sm);
}
}


.card-container {
.infobox td {
ย ย  ย  display: flex;
ย ย  ย  padding: 4px 5px;
ย  ย  gap: 24px;
ย ย  ย  border-bottom: 1px solid rgba(127, 127, 127, 0.1); ย 
ย ย  ย  align-items: flex-start;
ย  ย  transition: transform 0.2s ease;
}
}


.card-content-left {
ย  ย  flex: 1;
ย  ย  min-width: 0;
}


.card-content-right {
.infobox tr:last-child td {
ย ย  ย  width: 320px;
ย ย  ย  border-bottom: none;
ย  ย  flex-shrink: 0;
}
}


.card-icon-section {
/* 3. NAVBOXESย  */
ย ย  ย  display: flex;
.navbox {
ย  ย  align-items: center;
ย ย  ย  background-color: var(--theme-card-bg);
ย  ย  gap: 12px;
ย ย  ย  border: 1px solid var(--theme-border-color);
ย  ย  margin-bottom: 16px;
ย ย  ย  border-radius: var(--radius-md);
}
ย ย  ย  margin: 1.5em 0;
ย 
ย ย  ย  padding: 2px;
.icon-container {
ย ย  ย  text-align: center;
ย  ย  width: 64px;
ย ย  ย  box-shadow: var(--shadow-soft);
ย  ย  height: 64px;
ย  ย  border-radius: 8px;
ย  ย  background: #f8f9fa;
ย  ย  display: flex;
ย  ย  align-items: center;
ย  ย  justify-content: center;
ย ย  ย  border: 2px solid #e9ecef;
ย  ย  transition: all 0.2s ease;
}
ย 
.item-header {
ย  ย  margin-bottom: 16px;
}
ย 
.item-name {
ย  ย  margin: 0 0 4px 0;
ย ย  ย  font-size: 1.4em;
ย  ย  font-weight: 700;
ย  ย  word-wrap: break-word;
ย ย  ย  hyphens: auto;
ย ย  ย  transition: color 0.2s ease;
}
ย 
.item-level {
ย ย  ย  font-size: 0.95em;
ย ย  ย  font-weight: 500;
ย  ย  color: #6c757d;
}
ย 
.item-info-table {
ย ย  ย  width: 100%;
ย ย  ย  width: 100%;
ย ย  ย  border-collapse: collapse;
ย ย  ย  clear: both;
ย  ย  margin-bottom: 16px;
ย  ย  background: #f8f9fa;
ย  ย  border-radius: 6px;
ย  ย  overflow: hidden;
}
}


.item-info-table th,
.navbox th {
.item-info-table td {
ย  ย  background-color: var(--color-primary);
ย ย  ย  padding: 8px 12px;
ย ย  ย  color: var(--theme-heading-color);
ย ย  ย  text-align: left;
ย ย  ย  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
ย ย  ย  border-bottom: 1px solid #e9ecef;
ย ย  ย  padding: 6px;
}
ย 
.item-info-table th {
ย ย  ย  font-weight: 600;
ย ย  ย  font-weight: 600;
ย  ย  width: 30%;
ย  ย  background: #e9ecef;
}
.item-info-table tr:last-child th,
.item-info-table tr:last-child td {
ย  ย  border-bottom: none;
}
.upgrade-section,
.mutation-section {
ย  ย  margin-bottom: 16px;
}
}


.upgrade-section h4,
/* Group Headers inside Navbox */
.mutation-section h4 {
.navbox .navbox-group {
ย ย  ย  margin: 0 0 8px 0;
ย ย  ย  background-color: var(--color-secondary);
ย ย  ย  font-size: 1.1em;
ย ย  ย  color: var(--theme-text-primary);
ย ย  ย  font-weight: 600;
ย ย  ย  font-weight: 600;
ย ย  ย  color: #495057;
ย ย  ย  padding: 4px 8px;
ย  ย  white-space: nowrap;
ย  ย  border-right: 2px solid var(--theme-body-bg); ย 
}
}


.upgrade-list,
.navbox .navbox-list {
.mutation-list {
ย ย  ย  text-align: left;
ย ย  ย  margin: 0;
ย ย  ย  padding: 4px 8px;
ย  ย  padding-left: 20px;
ย  ย  color: #6c757d;
}
ย 
.upgrade-list li,
.mutation-list li {
ย  ย  margin-bottom: 4px;
ย  ย  line-height: 1.4;
}
ย 
.card-image-container {
ย  ย  margin-bottom: 16px;
}
ย 
.item-card-image {
ย  ย  width: 300px;
ย  ย  height: 400px;
ย  ย  overflow: hidden;
ย  ย  display: flex;
ย  ย  align-items: center;
ย  ย  justify-content: center;
}
ย 
.item-card-image img {
ย  ย  max-width: 100%;
ย  ย  max-height: 100%;
ย  ย  object-fit: cover;
}
ย 
.item-description {
ย ย  ย  padding: 12px 16px;
ย  ย  border-radius: 6px;
ย  ย  border-left: 4px solid var(--accent-color, #667eea);
}
ย 
.item-description p {
ย  ย  margin: 0;
ย  ย  line-height: 1.5;
ย  ย  font-style: italic;
ย  ย  max-height: 120px;
ย  ย  overflow-y: auto;
ย  ย  padding-right: 8px;
}
}


.item-description p::-webkit-scrollbar {
/* Striping for Navbox lists */
ย ย  ย  width: 4px;
.navbox .navbox-even {
ย ย  ย  background-color: rgba(127, 127, 127, 0.03);
}
}
ย 
/* ============================================
.item-description p::-webkit-scrollbar-thumb {
ย  THEME TOGGLE BUTTON
ย  ย  background: var(--accent-color);
ย  ============================================ */
ย  ย  border-radius: 2px;
.floating-theme-toggle {
}
ย  ย  position: fixed;
ย 
ย  ย  bottom: 20px;
/* Element-specific colors - LIGHT THEME */
ย  ย  right: 20px;
.card-section-header[data-element="nature"] { border-left-color: #27ae5f; } /* Slightly brighter green */
ย  ย  z-index: 9999;
.card-section-header[data-element="earth"] { border-left-color: #a86437; } /* Warmer, lighter brown */
ย  ย  padding: 10px 16px;
.card-section-header[data-element="sky"] { border-left-color: #1abc9c; } /* Distinct Turquoise */
ย  ย  background-color: var(--theme-card-bg);
.card-section-header[data-element="night"] { border-left-color: #34495e; } /* Lighter, less blackish blue */
ย  ย  color: var(--theme-heading-color);
.card-section-header[data-element="water"] { border-left-color: #3498db; } /* Kept your perfect blue */
ย  ย  border: 2px solid var(--theme-border-color);
.card-section-header[data-element="beast"] { border-left-color: #e67e22; } /* Kept your great orange */
ย  ย  border-radius: var(--radius-lg);
.card-section-header[data-element="fire"] { border-left-color: #e74c3c; } /* Kept your perfect red */
ย ย  ย  font-family: 'Fredoka', sans-serif;
ย 
ย ย  ย  font-size: 0.95rem;
/* Element color definitions - More Pronounced for light theme */
.element-nature { --accent-color: var(--element-color-nature, #81C784); --element-glow: rgba(129, 199, 132, 0.12); }
.element-earth { --accent-color: var(--element-color-earth, #A1887F); --element-glow: rgba(161, 136, 127, 0.1); }
.element-sky { --accent-color: var(--element-color-sky, #FFD54F); --element-glow: rgba(255, 213, 79, 0.15); }
.element-night { --accent-color: var(--element-color-night, #BA68C8); --element-glow: rgba(186, 104, 200, 0.08); }
.element-water { --accent-color: var(--element-color-water, #4FC3F7); --element-glow: rgba(79, 195, 247, 0.15); }
.element-beast { --accent-color: var(--element-color-beast, #FF6B6B); --element-glow: rgba(255, 107, 107, 0.12); }
.element-fire { --accent-color: var(--element-color-fire, #FF8A65); --element-glow: rgba(255, 138, 101, 0.15); }
.element-generic { --accent-color: #7f8c8d; --element-glow: rgba(127, 140, 141, 0.08); }
ย 
/* Element badges */
.element-badge {
ย  ย  background: var(--accent-color);
ย ย  ย  color: white;
ย  ย  padding: 4px 12px;
ย  ย  border-radius: 20px;
ย ย  ย  font-size: 0.85em;
ย ย  ย  font-weight: 600;
ย ย  ย  font-weight: 600;
ย ย  ย  text-transform: uppercase;
ย ย  ย  cursor: pointer;
ย ย  ย  letter-spacing: 0.5px;
ย ย  ย  box-shadow: var(--shadow-soft);
ย  ย  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
ย ย  ย  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
ย  ย  transition: transform 0.2s ease;
ย  ย  backdrop-filter: blur(8px); ย 
}
ย 
/* Element styling - SUBTLE for light theme */
.element-nature .icon-container,
.element-earth .icon-container,
.element-sky .icon-container,
.element-night .icon-container,
.element-water .icon-container,
.element-beast .icon-container,
.element-fire .icon-container,
.element-generic .icon-container {
ย  ย  border-color: var(--accent-color);
}
ย 
.element-nature .item-description,
.element-earth .item-description,
.element-sky .item-description,
.element-night .item-description,
.element-water .item-description,
.element-beast .item-description,
.element-fire .item-description,
.element-generic .item-description {
ย ย  ย  border-left-color: var(--accent-color);
ย  ย  background: var(--element-glow);
}
ย 
.element-nature:hover .item-name,
.element-earth:hover .item-name,
.element-sky:hover .item-name,
.element-night:hover .item-name,
.element-water:hover .item-name,
.element-beast:hover .item-name,
.element-fire:hover .item-name,
.element-generic:hover .item-name {
ย  ย  color: var(--accent-color);
}
ย 
.card-navbox-item:hover {
ย  ย  background: var(--element-glow);
}
ย 
/* Dark theme */
@media (prefers-color-scheme: dark) {
ย  ย  .card-navbox-container {
ย  ย  ย  ย  --border-color: #3a6b4a;
ย  ย  ย  ย  --card-bg: #1a1f1c;
ย  ย  ย  ย  --shadow-color: rgba(0,0,0,0.4);
ย  ย  }
ย 
ย  ย  .card-navbox-title {
ย  ย  ย  ย  --header-bg: linear-gradient(135deg, #3a6b4a 0%, #2d501c 100%);
ย  ย  ย  ย  --header-text: #e8f4ea;
ย  ย  }
ย 
ย  ย  .card-section-header {
ย  ย  ย  ย  --section-header-bg: #2d3748;
ย  ย  ย  ย  border-bottom-color: #4a5568;
ย  ย  ย  ย  color: #e2e8f0;
ย  ย  }
ย 
ย  ย  .item-level {
ย  ย  ย  ย  color: #a0aec0;
ย  ย  }
ย 
ย  ย  .item-info-table {
ย  ย  ย  ย  background: #2d3748;
ย  ย  }
ย 
ย  ย  .item-info-table th {
ย  ย  ย  ย  background: #4a5568;
ย  ย  ย  ย  color: #e2e8f0;
ย  ย  }
ย 
ย  ย  .item-info-table th,
ย  ย  .item-info-table td {
ย  ย  ย  ย  border-bottom-color: #4a5568;
ย  ย  ย  ย  color: #e2e8f0;
ย  ย  }
ย 
ย  ย  .upgrade-section h4,
ย  ย  .mutation-section h4 {
ย  ย  ย  ย  color: #e2e8f0;
ย  ย  }
ย 
ย  ย  .upgrade-list,
ย  ย  .mutation-list {
ย  ย  ย  ย  color: #a0aec0;
ย  ย  }
ย 
ย  ย  .icon-container {
ย  ย  ย  ย  background: #2d3748;
ย  ย  ย  ย  border-color: #4a5568;
ย  ย  }
ย 
ย  ย  .item-card-image {
ย  ย  ย  ย  background: #2d3748;
ย  ย  ย  ย  border-color: #4a5568;
ย  ย  }
ย 
ย  ย  .item-description {
ย  ย  ย  ย  background: #2d3748;
ย  ย  }
ย 
ย  ย  .item-description p {
ย  ย  ย  ย  color: #a0aec0;
ย  ย  }
ย 
ย  ย  /* Dark theme element glows */
ย  ย  .element-nature { --element-glow: rgba(39, 174, 96, 0.1); }
ย  ย  .element-earth { --element-glow: rgba(139, 69, 19, 0.1); }
ย  ย  .element-sky { --element-glow: rgba(52, 152, 219, 0.1); }
ย  ย  .element-night { --element-glow: rgba(44, 62, 80, 0.1); }
ย  ย  .element-water { --element-glow: rgba(41, 128, 185, 0.1); }
ย  ย  .element-beast { --element-glow: rgba(230, 126, 34, 0.1); }
ย  ย  .element-fire { --element-glow: rgba(231, 76, 60, 0.1); }
ย  ย  .element-generic { --element-glow: rgba(149, 165, 166, 0.1); }
}
ย 
/* Responsive */
@media (max-width: 768px) {
ย  ย  .card-container {
ย  ย  ย  ย  flex-direction: column;
ย  ย  }
ย  ย 
ย  ย  .card-content-right {
ย  ย  ย  ย  width: 100%;
ย  ย  ย  ย  order: -1;
ย  ย  }
ย  ย 
ย  ย  .item-card-image {
ย  ย  ย  ย  width: 100%;
ย  ย  ย  ย  height: 300px;
ย  ย  }
ย  ย 
ย  ย  .card-navbox-item {
ย  ย  ย  ย  padding: 16px;
ย  ย  }
}
ย 
/* Animation */
@keyframes cardEntry {
ย  ย  from {
ย  ย  ย  ย  opacity: 0;
ย  ย  ย  ย  transform: translateY(20px);
ย  ย  }
ย  ย  to {
ย  ย  ย  ย  opacity: 1;
ย  ย  ย  ย  transform: translateY(0);
ย  ย  }
}
ย 
.card-navbox-item {
ย  ย  animation: cardEntry 0.3s ease-out;
}
/* END CardNavbox SETUP */
/***********************
* End main page layout *
************************/
ย 
ย 
/*********************************************************************************************************************
* Semantically-correct horizontal lists (for Module:Navbox, and they're more machine-readable than {{*}}-formatting) *
**********************************************************************************************************************/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
ย 
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
/*
* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again
* We also want to reset margin-right in Minerva
*/
margin: 0;
display: inline;
}
ย 
/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
ย 
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
ย 
/* TODO: :not() can maybe be used here to remove the later rule. naive test
*ย  seems to work. more testing needed. like so: */
.hlist dt:not(:last-child)::after {
content: ":\20";
}
ย 
.hlist dd:not(:last-child)::after,
.hlist li:not(:last-child)::after {
/* "space, Middle Dot, space"
We use unicode numbers instead of the raw characters due to a Firefox encoding bug on unicode characters.
The space is also encoded because raw spaces combined with a unicode number strips the spaces under some conditions such as single-line lists */
/* content: "\20\00B7\20"; font-weight: bold; */
/* "space &nbsp; โ€ข &nbsp; space"
ย  There may (and likely) be an extra whitespace between <li>s,
ย  therefore we have to use a space character as last character of this sequence.
ย  By this way, the last space and the next whitespace will collapse as a single space,
ย  to make the whitespace on both sides of the middle dot the same width.
*/
content: "\20\A0\2022\A0\20";
font-weight: inherit;
}
ย 
/* Add parentheses around nested lists */
.hlist dd ol::before,
.hlist dd ul::before,
.hlist dd dl::before,
.hlist dt ol::before,
.hlist dt ul::before,
.hlist dt dl::before,
.hlist li ol::before,
.hlist li ul::before,
.hlist li dl::before {
content: "\20(";
font-weight: inherit;
}
ย 
.hlist dd ol::after,
.hlist dd ul::after,
.hlist dd dl::after,
.hlist dt ol::after,
.hlist dt ul::after,
.hlist dt dl::after,
.hlist li ol::after,
.hlist li ul::after,
.hlist li dl::after {
content: ")";
font-weight: inherit;
}
ย 
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
ย 
.hlist ol > li {
counter-increment: listitem;
}
ย 
.hlist ol > li::before {
content: " " counter(listitem) ".\20";
}
ย 
/* Progressive enhancement:
*ย  try to make the dot always follow the list item in same line
*/
.hlist :is(li,dt,dd):not(:has(:is(li,dt,dd))) {
display: inline-block;
}
ย 
/********************************************
* End semantically-correct horizontal lists *
*********************************************/
ย 
/*** Miscellaneous ***/
.responsive-image {
max-width: 100%;
height: auto;
box-sizing: border-box;
}
ย 
.view-dark .invert-on-dark,
.view-light .invert-on-light {
filter: invert(100%);
}
ย 
.pixelated {
image-rendering: pixelated;
}
ย 
@media screen and (min-width: 720px) {
.mobileonly {
display: none;
}
}
ย 
@media screen and (max-width: 720px) {
.nomobile {
display: none;
}
}
ย 
/*** Utility classes for standard MW galleries ***/
/* it's important that spaced comes before centered in the sheet */
.gallery.gallery.gallery.spaced { /* this selector looks ridiculous but is actually part of stock Vector and therefore a necessary override */
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
margin-left: unset;
}
ย 
.gallery.centered {
text-align: center;
}
ย 
/**************************
* Start Modular Templates *
**************************/
ย 
/********* [[Template:Ambox]] *********/
.ambox {
--ambox-color: var(--wiki-accent-color);
ย 
border: 1px solid var(--wiki-content-border-color);
border-left: 10px solid var(--ambox-color);
border-radius: 4px;
display: flex;
align-items: center;
gap: .6em;
margin: 1em 0;
padding: 3px .6em;
background-color: var(--wiki-content-background-color--secondary);
box-shadow: 2px 2px 5px 0px #0002;
}
ย 
@media (min-width: 720px) {
.ambox {
margin-inline: 10%;
}
}
ย 
.ambox.tiny {
padding: .04rem .5em;
margin-inline: 0;
width: fit-content;
}
ย 
.ambox + .ambox {
margin-top: -.6em;
}
ย 
.ambox-content {
flex: 1;
}
ย 
.ambox-content p {
margin: .15em 0;
}
ย 
.ambox-title {
font-weight: bold;
}
ย 
/********* [[Template:Hatnote]] *********/
.hatnote {
padding: 1px 0 1px 1.6em;
margin-bottom: 0.5em;
font-style: italic;
border-top: 1px solid var(--wiki-content-border-color--secondary);
border-bottom: 1px solid var(--wiki-content-border-color--secondary);
}
ย 
.hatnote.icon {
padding-left: 0;
}
ย 
/********* [[Template:Spoiler]] *********/
.spoiler-content {
background-color: color-mix(in srgb, var(--wiki-content-dynamic-color) 50%, transparent);
transition: all 0.3s;
cursor: pointer;
overflow: auto;
}
ย 
@supports not (color:color-mix(in srgb, #000, transparent)) {
.spoiler-content {
background-color: var(--wiki-content-dynamic-color--secondary);
}
}
ย 
.spoiler-content > * {
pointer-events: none;
opacity: 0;
transition: all 0.3s;
}
ย 
.spoiler-content.show {
background-color: transparent;
}
ย 
.spoiler-content.show > * {
pointer-events: unset;
opacity: 1;
}
ย 
/********* [[Template:Link icon]] *********/
.link-icon {
--link-icon-line-height: 1.5em;
--link-icon-size: 1.5em;
display: inline-flex;
align-items: center;
height: var(--link-icon-line-height);
vertical-align: bottom;
}
ย 
.link-icon .regular {
align-self: center;
}
ย 
.link-icon .regular a {
display: flex;
}
ย 
.link-icon .regular img {
height: var(--link-icon-size);
max-width: var(--link-icon-size);
}
ย 
.link-icon .fallback {
outline: 1px solid var(--wiki-content-text-color);
border-radius: 50%;
text-align: center;
width: var(--link-icon-size);
line-height: var(--link-icon-size);
}
ย 
.link-icon.notext,
.link-icon.notext .fallback {
display: inline-block;
}
ย 
/********* [[Template:Quote]] *********/
.quote {
background: var(--wiki-content-background-color--secondary);
border-radius: 5px;
border: 2px solid var(--wiki-content-border-color);
margin: .5em 0;
padding: .5em;
overflow-y: hidden;
}
ย 
.quote .block {
display: block;
}
ย 
.quote .title {
font-size: large;
font-weight: bold;
}
ย 
.quote .content {
font-style: italic;
}
ย 
.quote .author {
font-weight: bold;
text-align: end;
}
ย 
.quote .marks-wrapper {
display: flex;
gap: 5px;
}
ย 
.quote .marks-wrapper::before,
.quote .marks-wrapper::after {
font-size: 100px;
line-height: 0px;
}
ย 
.quote .marks-wrapper::before {
content: "\201C";
margin-top: 40px;
}
ย 
.quote .marks-wrapper::after {
content: "\201D";
align-self: end;
margin-bottom: -10px;
}
ย 
.client-js .mw-charinsert-item {
display: none;
}
ย 
/************************
* End Modular Templates *
*************************/
ย 
/*****************************
* Used by [[Template:Color]] *
******************************/
.color__splotch {
display: inline-block;
height: 1em;
width: 1em;
box-sizing: border-box;
vertical-align: text-top;
border-radius: 50%;
border: 1px solid var(--wiki-content-text-color);
}
ย 
/*********************
* End Template:Color *
**********************/
ย 
/*********************************
* Used by [[Template:TOC limit]] *
**********************************/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
}
/*************************
* End Template:TOC limit *
**************************/


/*********************************
.floating-theme-toggle:hover {
* Used by [[Template:TOC right]] *
ย  ย  background-color: var(--color-primary);
**********************************/
ย ย  ย  border-color: var(--color-accent);
@media all and (min-width: 720px) {
ย ย  ย  transform: translateY(-4px); ย 
.tocright {
ย ย  ย  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
ย ย  ย  float: left;
ย  ย  color: #000;
ย ย  ย  clear: left;
ย ย  ย  margin: 0 1em 0.5em 0;
ย  }
}
}
/*************************
* End Template:TOC right *
**************************/

Latest revision as of 06:46, 19 May 2026

/*************************************๐ŸŽฎ**************************************
                                                                               *
       โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—   
                                                         COMMON.CSS (vA0.1)                                                         
                                                                 โœฆ M*n* B**** โœฆ                                                              
       โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•   
                                                                              *
 *******************************************************************************/

/*
*This page contains the entire stylesheet for the MB Wiki.
*We urge you "not to edit" this page "directly".
*Some of the code inherited from coralisland.wiki.
*Any functional issue please report to our wiki-team at the official discord channel

*Imports will be starting below this very line;
*/
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');



/* ============================================
   ALL @IMPORTS MUST BE AT THE VERY TOP
   ============================================ */

@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Colors.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Module:Documentation.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Infobox.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Tables.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:MessageBox.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css");   
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Icons.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Cards.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Tabbers.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Mobile.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Recipe.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:Modal.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:AceEditor.css&action=raw&ctype=text/css");
@import url("https://mbwiki.stairwaygames.work/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");

/* ============================================
  TOKEN ROOT ARCHITECTURE
   ============================================ */

/* โœฆ THEME MANA (LIGHT) - DEFAULT โœฆ */
:root {
    /* 1. Core Color Palette */
    --color-primary: #88eee0;
    --color-secondary: #d9ffe9;
    --color-accent: #87b4b7;
    
    /* 2. Semantic Backgrounds */
    --theme-body-bg: var(--color-secondary);
    --theme-card-bg: rgba(255, 255, 255, 0.85); 
    --theme-card-bg-hover: #ffffff;
    
    /* 3. Semantic Text Colors */
    --theme-text-primary: #1a2b3c; 
    --theme-text-muted: #4a5b6c;
    --theme-heading-color: #0d1b2a;
    
    /* 4. Borders & Interactive Elements */
    --theme-border-color: var(--color-accent);
    --theme-border-color-rgb: 135, 180, 183;
    --theme-link-color: #006b75;
    --theme-link-hover: #004a52;
    
    /* 5. Structures */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    
    /* Main Page Layout Layout */
    --main-page-layout--desktop: 'banner banner banner' 'about about updates' 'starts starts starts' 'items items items' 'characters characters characters' 'enemies enemies enemies' 'area area area';
    --main-page-layout--tablet: 'banner banner' 'about updates' 'starts starts' 'items items' 'characters characters' 'enemies enemies' 'area area';
    --main-page-layout--mobile: 'banner' 'about' 'updates' 'starts' 'items' 'characters' 'enemies' 'area';
}

/* โœฆ THEME BREAK (DARK) - TOGGLE โœฆ */
html.theme-break {
    /* 1. Core Color Palette */
    --color-primary: #12435e;
    --color-secondary: #0e344d;
    --color-accent: #7ff6e3;
    
    /* 2. Semantic Backgrounds */
    --theme-body-bg: var(--color-secondary);
    --theme-card-bg: var(--color-primary);
    --theme-card-bg-hover: #164f6f;
    
    /* 3. Semantic Text Colors */
    --theme-text-primary: #eaeef2;
    --theme-text-muted: #87b4b7;
    --theme-heading-color: #ffffff;
    
    /* 4. Borders & Interactive Elements */
    --theme-border-color: var(--color-accent);
    --theme-border-color-rgb: 127, 246, 227;
    --theme-link-color: var(--color-accent);
    --theme-link-hover: #aafff0;
    
    /* 5. Structures */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* ============================================
   BASE LAYOUT & STRUCTURAL RESET
   ============================================ */

/* 1. Universal Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. MediaWiki Body & Container Reset */
body {
    background-color: var(--theme-body-bg) !important;
    color: var(--theme-text-primary);
    font-family: 'Fredoka', sans-serif; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Stripping native MediaWiki container styles  */
.mw-body, #content {
    background: transparent !important;
    border: none !important;
    color: var(--theme-text-primary);
}

/* 3. Typography Normalization */
h1, h2, h3, h4, h5, h6 {
    color: var(--theme-heading-color);
    margin-top: 0;
    font-weight: 600;
}

/* Remove MediaWiki's harsh default underline on H1/H2 */
.mw-body h1, .mw-body h2 {
    border-bottom: 2px solid var(--theme-border-color); 
    padding-bottom: 0.25em;
}

/* 4. Hyperlink Standardization */
a {
    color: var(--theme-link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: var(--theme-link-hover);
    text-decoration: underline;
}

a:visited {
    color: var(--theme-link-color); 
}

/* 5. Responsive Media & Selection */
img, video {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--color-primary);
    color: #000; 
}
::-moz-selection {
    background: var(--color-primary);
    color: #000;
}

/* ============================================
   BASE LAYOUT (MAPPED TO TOKENS)
   ============================================ */
html, body {
    background-color: var(--theme-body-bg) !important;
    background-image: none !important; 
    color: var(--theme-text-primary);
    transition: background-color 0.3s ease, color 0.3s ease; 
}

.mw-body {
    margin-top: -1px;
    border: 1px solid var(--theme-border-color);
    border-radius: var(--radius-sm);
    background-color: transparent;
}

/* Hide default elements */
.mobileHide, .mobile-only, .no-desktop {
    display: none !important;
}

/* Fix for hidden H1 on main page */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-submit h1.firstHeading {
    display: none;
}

/* ============================================
   MAIN PAGE GRID LAYOUT
   ============================================ */
#mp-container {
    display: grid;
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    #mp-container {
        grid-template-areas: var(--main-page-layout--desktop);
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 1023px) {
    #mp-container {
        grid-template-areas: var(--main-page-layout--tablet);
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    #mp-container {
        grid-template-areas: var(--main-page-layout--mobile);
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* MP Box styling */
.mp-box {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Staggered animations */
.mp-box:nth-child(1) { animation-delay: 0.05s; }
.mp-box:nth-child(2) { animation-delay: 0.1s; }
.mp-box:nth-child(3) { animation-delay: 0.15s; }
.mp-box:nth-child(4) { animation-delay: 0.2s; }
.mp-box:nth-child(5) { animation-delay: 0.25s; }
.mp-box:nth-child(6) { animation-delay: 0.3s; }
.mp-box:nth-child(7) { animation-delay: 0.35s; }
.mp-box:nth-child(8) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
  MAIN PAGE CARDS & GRIDS
   ============================================ */

/* Main Grid Wrapper  */
.main-page-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1rem;
}

/* 1. Game Intro Cards */
.game-intro-card {
    background-color: var(--theme-card-bg);
    border-radius: var(--radius-lg); /* From Step 1 */
    padding: 1.25rem;
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
}

.game-intro-card:hover {
    background-color: var(--theme-card-bg-hover);
    transform: translateY(-4px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary); 
}

/* 2. Header Elements */
.game-header {
    margin-bottom: 1rem;
    position: relative;
}

.mana-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    
    /* Gradient */
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* Flexbox aligning the icon perfectly */
    display: flex;
    align-items: center;
    gap: 8px; 
    letter-spacing: 0.5px;
}

.mana-line {
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 2px;
}

/* 3. Card Content & Headings */
.game-content {
    color: var(--theme-text-primary);
    line-height: 1.6;
    flex-grow: 1; 
}

.heading-char {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--theme-border-color);
    display: inline-block;
    transition: border-color 0.3s ease;
}

.heading-char a {
    color: var(--theme-heading-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.heading-char a:hover {
    color: var(--color-accent);
}

/* 4. Auto Grid Lists (The Links) */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); 
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.auto-grid li {
    padding: 0;
}
 
/* Elevated List Link Styling */
.auto-grid li a {
    display: block; 
    padding: 0.35rem 0.5rem;
    color: var(--theme-link-color);
    text-decoration: none;
    border-radius: var(--radius-sm);
    background-color: rgba(127, 127, 127, 0.05); 
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.auto-grid li a:hover {
    color: var(--theme-link-hover);
    background-color: var(--theme-body-bg);
    border-color: var(--theme-border-color);
    transform: translateX(3px); 
}
/* ============================================
   BANNER, WIKI COMPONENTS & SCROLLBAR
   ============================================ */

/* 1. BANNER SECTION */
#mp-box-banner .mp-body {
    background: linear-gradient(135deg, var(--color-secondary), var(--theme-body-bg));
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--shadow-soft);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Social links */
.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.iconname {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.iconname:hover {
    background: var(--color-primary);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.iconname a {
    color: var(--theme-text-primary) !important;
    text-decoration: none;
    font-weight: 500;
}

/* 2. WIKI FIXES & IMPROVEMENTS */
.wikiEditor-ui-text > .ui-resizable {
    width: 100% !important;
    max-width: 100%;
}

ul { list-style: disc; }

h2 .mw-headline, h3 .mw-headline, h4 .mw-headline { font-weight: 500; }
.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 { margin-bottom: 4px; }

/* Categories */
.catlinks {
    border-color: var(--theme-border-color);
    border-radius: var(--radius-md);
    background-color: var(--theme-card-bg);
    padding: 10px;
}

/* Code blocks */
code, pre {
    background-color: var(--theme-card-bg);
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border-color);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    font-family: Consolas, Eupheima UCAS, Monaco, Menlo, monospace;
}

code.code-block-table { display: table; line-height: 21px; padding: 8px; }
.code-block-table * { font: 14px Consolas, Eupheima UCAS, Monaco, Menlo, monospace; }
.code-block { display: inline-block; line-height: 21px; }

/* Table of Contents */
.toc {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background-color: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    margin-top: 16px;
    box-shadow: var(--shadow-soft);
}

.toctogglelabel { color: var(--theme-link-color); }
.tocnumber { color: var(--theme-text-muted); }
.vector-body .toc h2 { font-family: 'Fredoka', sans-serif; }

/* Hatnote */
.hatnote {
    border-left: 4px solid var(--color-accent);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background-color: var(--theme-card-bg);
    margin: 8px 0;
}

/* Variables styling */
span.variable { opacity: 0.65; }
span.variable::after { opacity: 0.65; content: ">"; }
span.variable::before { opacity: 0.65; content: "<"; }

/* Pull quotes */
.pull-quote { font-style: italic; margin: 0; padding: 0 30px 8px !important; }
.pull-quote::before {
    color: var(--color-accent);
    content: "โ€œ";
    display: block;
    font-size: 96px;
    font-style: normal;
    line-height: 72px;
    margin: 4px 0 -45px -5px;
}
.pull-quote__source::before { content: "โ€” "; margin-bottom: 8px; }
.pull-quote__text { margin-bottom: 4px; }

/* Gallery & Changelist */
.gallerytext { text-align: center; font-size: 100%; }
.changelist-header { display: flex; justify-content: space-between; align-items: center; font-size: 88%; margin: 0.3em 0; }
.changelist-content { overflow: auto; max-height: 384px; padding: 1em; box-sizing: border-box; border-radius: var(--radius-md); }
.changelist-border { border: 1px solid var(--theme-border-color); border-left: 6px solid var(--color-accent); }

/* Chat wrapper */
.chat-wrapper { display: flex; flex-direction: column; }
.chat-player, .chat-npc { display: flex; flex-direction: row; gap: 0.5em; }
.chat-player-speaker { white-space: nowrap; min-width: 70px; color: #43b581; font-weight: 600; } 
.chat-npc-speaker { white-space: nowrap; min-width: 70px; color: #f04747; font-weight: 600; }

/* 3. RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
    .game-intro-card { padding: 1rem; }
    .mana-text { font-size: 1.25rem; }
    .social { gap: 0.5rem; }
    .iconname { padding: 0.35rem 0.75rem; font-size: 0.9rem; }
    #mp-box-banner .mp-body { padding: 1rem; }
}

/* 4. CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track {
    background: var(--theme-body-bg);
    border-radius: 0px; 
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--theme-link-hover); }

/* 5. UTILITY CLASSES */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.p-2 { padding: 0.5rem; }
/* ============================================
   WIKI COMPONENTS
   ============================================ */

/* 1. WIKITABLES  */
table.wikitable {
    background-color: var(--theme-card-bg);
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border-color);
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%; /* Encourages responsive behavior */
    box-shadow: var(--shadow-soft);
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px solid var(--theme-border-color);
    padding: 0.5em 0.75em;
}

/* Table Headers */
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: var(--color-primary);
    color: var(--theme-heading-color);
    font-weight: 600;
    text-align: center;
}


table.wikitable > tbody > tr:hover {
    background-color: rgba(127, 127, 127, 0.05);
}

/* 2. INFOBOXES  */
.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    width: 300px;
    background-color: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-soft);
    font-size: 0.9em;
    color: var(--theme-text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Infobox Headers */
.infobox th {
    background-color: var(--color-secondary);
    color: var(--theme-heading-color);
    text-align: center;
    padding: 5px;
    border-radius: var(--radius-sm);
}

.infobox td {
    padding: 4px 5px;
    border-bottom: 1px solid rgba(127, 127, 127, 0.1); 
}


.infobox tr:last-child td {
    border-bottom: none;
}

/* 3. NAVBOXES  */
.navbox {
    background-color: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: var(--radius-md);
    margin: 1.5em 0;
    padding: 2px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    width: 100%;
    clear: both;
}

.navbox th {
    background-color: var(--color-primary);
    color: var(--theme-heading-color);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 6px;
    font-weight: 600;
}

/* Group Headers inside Navbox */
.navbox .navbox-group {
    background-color: var(--color-secondary);
    color: var(--theme-text-primary);
    font-weight: 600;
    padding: 4px 8px;
    white-space: nowrap;
    border-right: 2px solid var(--theme-body-bg); 
}

.navbox .navbox-list {
    text-align: left;
    padding: 4px 8px;
}

/* Striping for Navbox lists */
.navbox .navbox-even {
    background-color: rgba(127, 127, 127, 0.03);
}
/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.floating-theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 10px 16px;
    background-color: var(--theme-card-bg);
    color: var(--theme-heading-color);
    border: 2px solid var(--theme-border-color);
    border-radius: var(--radius-lg);
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px); 
}

.floating-theme-toggle:hover {
    background-color: var(--color-primary);
    border-color: var(--color-accent);
    transform: translateY(-4px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #000; 
}