MediaWiki:Common.css: Difference between revisions

From MB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(219 intermediate revisions by the same user not shown)
Line 1: Line 1:
.class { }/* needed for some reason for the @imports to work */
/* ============================================
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
  ALL @IMPORTS MUST BE AT THE VERY TOP
  ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');
@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");


/* Imports caching */
/* ============================================
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
  CSS VARIABLES (FALLBACKS FOR MISSING IMPORTS)
/*@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Colors.css");*/
  ============================================ */
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Module:Documentation.css");
:root {
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Documentation.css");
     /* Theme Colors - Fallbacks if Colors.css fails */
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Infobox.css");
     --theme-page-background-color: #0a0a1a;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Tables.css");
     --theme-page-background-color--secondary: #16213e;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:MessageBox.css");
     --theme-page-text-color: #eaeef2;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:CustomTabs.css");
     --theme-link-color: #7c9eff;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Navbox.css");
     --theme-border-color: #2c3e50;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Icons.css");
     --theme-border-color-rgb: 44, 62, 80;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Dialogue.css");
     --accent: #6c5ce7;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Cards.css");
     --accent-light: #8c7cf5;
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Tabbers.css");
     --gray-050: rgba(255, 255, 255, 0.05);
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Mobile.css");
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Recipe.css");
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:Modal.css");
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:AceEditor.css");
@import url("https://mbwiki.stairwaygames.work/wiki/MediaWiki:CodeMirror.css");
:root body:not(.skin-vector-dark) { /* Light theme - improved colors only */
     --theme-page-text-color: #222222; /* Darker for better readability (was #0000FF) */
    --theme-page-text-color--inverse: #FFFFFF;
    --theme-page-background-color: #F8FDFC; /* Soft light cyan (was rgba(255, 255, 255, 0.98)) */
     --theme-page-background-color--rgb: 248, 253, 252;
     --theme-page-background-color--secondary: #E0F7F4; /* Light cyan (was #3e393d) */
     --theme-page-background-color--secondary--rgb: 224, 247, 244;
    --theme-link-color: #006D72; /* Dark teal for readability (was #327b9a) */
    --theme-link-color--rgb: 0, 109, 114;
    --theme-link-color--hover: #00474A; /* Darker hover (was #193d4d) */
     --theme-link-label-color: #00474A;
     --theme-accent-color: #4FD1C7; /* Your #74f4e0 modified for better contrast */
     --theme-accent-color--rgb: 79, 209, 199;
     --theme-accent-color--hover: #38B2AC; /* Darker hover */
     --theme-accent-label-color: #000;
     --theme-border-color: #B2F5EA; /* Light teal (was #d9a83f) */
    --theme-border-color--rgb: 178, 245, 234;
    --theme-alert-color: #C53030; /* Softer red (was #bf0017) */
    --theme-alert-color--rgb: 197, 48, 48;
    --theme-alert-color--hover: #9B2C2C;
    --theme-alert-color--secondary: #FED7D7;
    --theme-alert-label: #fff;
    --theme-warning-color: #DD6B20; /* Softer orange (was #cf721c) */
    --theme-warning-color--rgb: 221, 107, 32;
    --theme-warning-color--secondary: #FEEBC8;
    --theme-warning-label: #000;
    --theme-success-color: #2F855A; /* Softer green (was #0c742f) */
    --theme-success-color--rgb: 47, 133, 90;
    --theme-success-color--secondary: #C6F6D5;
    --theme-success-label: #fff;
    --theme-message-color: #805AD5; /* Softer purple (was #753369) */
    --theme-message-label: #fff;
      
      
    --theme-alert-highlight: var(--theme-alert-color);
     /* Main Page Layout Variables */
    --theme-alert-highlight--rgb: var(--theme-alert-color--rgb);
     --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';
    --theme-alert-highlight--hover: var(--theme-alert-color--hover);
     --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';
     /* Custom variables - using your light color */
     --theme-alt-text: #FFFFFF;
    --theme-accent-bg: #E6FFFA;
     --theme-infobox-bg: #FFFFFF;
   
    --color-player: #74F4E0; /* Your specified light color */
    --color-accent: #4FD1C7;
   
     --card-bg-main: #FFFFFF;
    --card-bg-sub: #E6FFFA;
   
    --letter-bg: #F0FFF4;
   
    /* User highlight */
    --custom-admin-highlight: #DD6B20;
    --custom-contentmoderator-highlight: #805AD5;
    --custom-bot-color: #718096;
    --custom-bot-font-style: italic;
   
    --accent: #4FD1C7;
    --player: #74F4E0;
    --npc: #9F7AEA;
}
}


:root .skin-vector-dark { /* Dark theme - improved colors only */
/* ============================================
    --theme-page-text-color: #E2E8F0; /* Light gray for readability (was #FFFFFF) */
  BASE LAYOUT FIXES
    --theme-page-text-color--inverse: #1A202C;
  ============================================ */
    --theme-page-background-color: rgb(26, 32, 44, 0.98); /* Dark blue-gray (was rgb(27, 29, 36, 0.98)) */
.mw-body {
     --theme-page-background-color--rgb: 26, 32, 44;
     margin-top: -1px;
    --theme-page-background-color--secondary: #2D3748; /* Dark gray (was #474747) */
     border: 1px solid azure;
    --theme-page-background-color--secondary--rgb: 45, 55, 72;
     border-radius: 1px;
    --theme-link-color: #339193; /* Your specified dark color */
     background-color: transparent;
    --theme-link-color--rgb: 51, 145, 147;
    --theme-link-color--hover: #4FD1C7; /* Brighter hover */
     --theme-link-label-color: #E2E8F0;
    --theme-accent-color: #4FD1C7; /* Bright teal */
    --theme-accent-color--rgb: 222,183,108;
    --theme-accent-color--hover: #81E6D9;
    --theme-accent-label-color: #1A202C;
    --theme-border-color: #4A5568; /* Dark gray border (was #4e4f55) */
     --theme-border-color--rgb: 74, 85, 104;
     --theme-alert-color: #FC8181; /* Softer red for dark (was #d8001a) */
    --theme-alert-color--rgb: 252, 129, 129;
    --theme-alert-color--hover: #FEB2B2;
    --theme-alert-color--secondary: #742A2A;
    --theme-alert-label: #fff;
    --theme-warning-color: #F6AD55; /* Softer orange (was #cf721c) */
    --theme-warning-color--rgb: 246, 173, 85;
    --theme-warning-color--secondary: #744210;
    --theme-warning-label: #1A202C;
    --theme-success-color: #68D391; /* Softer green (was #0c7d32) */
    --theme-success-color--rgb: 104, 211, 145;
    --theme-success-color--secondary: #22543D;
    --theme-success-label: #1A202C;
    --theme-message-color: #9F7AEA; /* Softer purple (was #a34792) */
    --theme-message-label: #1A202C;
   
    /* Custom variables */
    --theme-alt-text: #2D3748;
    --theme-accent-bg: #2D3748;
    --theme-infobox-bg: #2D3748;
   
    --color-player: #339193; /* Your specified dark color */
    --color-accent: #4FD1C7;
   
    --card-bg-main: #2D3748;
    --card-bg-sub: #4A5568;
   
    --letter-bg: #1A202C;
   
    /* User highlight */
    --custom-admin-highlight: #F6AD55;
    --custom-contentmoderator-highlight: #9F7AEA;
    --custom-bot-color: #A0AEC0;
    --custom-bot-font-style: italic;
   
    /* Darker version of alert */
    --theme-alert-highlight: #C53030;
    --theme-alert-highlight--rgb: 197, 48, 48;
    --theme-alert-highlight--hover: #E53E3E;
}
}


:root { /* Universal colors - improved grays */
body.skin-vector,
    --gray-900: #1A202C;
body.skin-vector-dark {
    --gray-800: #2D3748;
  background: url("https://mbwiki.stairwaygames.work/w/images/9/9a/Site-background-dark.png") no-repeat fixed center center / cover !important;
    --gray-700: #4A5568;
    --gray-600: #718096;
    --gray-500: #A0AEC0;
    --gray-400: #CBD5E0;
    --gray-300: #E2E8F0;
    --gray-200: #EDF2F7;
    --gray-100: #F7FAFC;
    --gray-050: #FFFFFF;
   
    /* Teal scale based on your colors */
    --brown-800: #234E52;
    --brown-500: #319795;
    --brown-400: #38B2AC;
    --brown-300: #4FD1C7;
    --brown-200: #81E6D9;
    --brown-100: #B2F5EA;
    --brown-050: #E6FFFA;
   
    --light-blue: #BEE3F8;
    --gold: #D69E2E;
   
    /* Border */
    --border-color: var(--theme-border-color);
}
}


/* Use vars */
/* Hide default elements */
#content.mw-body, .parsoid-body {
.mobileHide, .mobile-only, .no-desktop {
background-color: #d1d7f6 !important;
    display: none !important;
border: 10px solid #d1d7f6;
}
}
h1, h2, h3, h4, h5, h6, .mw-body, .editOptions, .ace-tm, .vector-menu-heading, .ace_cursor, .vector-menu-content-list > a, .vector-menu-heading-label {
 
color: var(--theme-page-text-color);
/* 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;
}
}
.mw-footer, .editOptions, .ace-tm, #mw-panel .vector-menu-heading {
 
background-color: #d1d7f6 !important;
/* ============================================
}
  MAIN PAGE GRID LAYOUT
.ace-tm .ace_gutter, .selected.mw-list-item, #mw-panel .vector-menu-content-list {
  ============================================ */
background-color: var(--theme-page-background-color--secondary) !important;
#mp-container {
    display: grid;
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}
}


/* Change color of classes that used alert-color as bg color */
/* Desktop Layout */
.skin-vector-dark #mw-notification-area.mw-notification.mw-notification-type-error,
@media (min-width: 1024px) {
.skin-vector-dark .postedit.mw-notification.mw-notification-type-error,
    #mp-container {
.skin-vector-dark .wds-table-td-alert {
        grid-template-areas: var(--main-page-layout--desktop);
    background-color: var(--theme-alert-highlight);
        grid-template-columns: repeat(3, 1fr);
}
    }
.text-error {
color: var(--theme-alert-highlight);
}
}


/* Revision diff styling */
/* Tablet Layout */
 
@media (min-width: 768px) and (max-width: 1023px) {
.diff td.diff-addedline {
    #mp-container {
  background-color:var(--theme-page-background-color);
        grid-template-areas: var(--main-page-layout--tablet);
  border-color:var(--theme-success-color);
        grid-template-columns: repeat(2, 1fr);
  border-width:1px 1px 1px 4px
    }
}
.diff td.diff-addedline .diffchange {
  background-color:var(--theme-success-color);
  color:var(--theme-page-text-color--inverse);
  font-weight: normal;
}
.diff td.diff-deletedline {
  background-color:var(--theme-page-background-color);
  border-color:var(--theme-alert-color);
  border-width:1px 1px 1px 4px
}
.diff td.diff-deletedline .diffchange {
  background-color:var(--theme-alert-color);
  color:var(--theme-page-text-color--inverse);
  font-weight: normal;
}
.diff td.diff-context {
  background:#0000;
  border-color:var(--theme-border-color);
  color:var(--theme-page-text-color);
}
.diff-marker a.mw-diff-movedpara-right {
  color:#0000
}
.diff-marker a.mw-diff-movedpara-right:hover:after {
  opacity:.75
}
.diff-marker a.mw-diff-movedpara-right:after {
  color:var(--theme-page-text-color);
  content:"↩";
}
.diff-marker a.mw-diff-movedpara-left {
  color:#0000
}
.diff-marker a.mw-diff-movedpara-left:hover:after {
  opacity:.75
}
.diff-marker a.mw-diff-movedpara-left:after {
  color:var(--theme-page-text-color);
  content:"↪"
}
}


/* For  [[Template:Color]] */
/* Mobile Layout */
.text-player, .text-player * { color: var(--color-player); }
@media (max-width: 767px) {
.bg-player { background-color: var(--color-player); }
    #mp-container {
 
        grid-template-areas: var(--main-page-layout--mobile);
.text-accent, .text-accent * { color: var(--color-accent); }
        grid-template-columns: 1fr;
.bg-accent { background-color: var(--color-accent); }
        gap: 1rem;
 
    }
/* CodeMirror */
.CodeMirror .CodeMirror-scroll {
  background: var(--theme-page-background-color);
  color: var(--theme-page-text-color);
}
.CodeMirror .CodeMirror-linenumber, .CodeMirror .CodeMirror-gutters {
  background: var(--theme-page-background-color--secondary);
  color: var(--theme-page-text-color);
}
}


/*  
/* MP Box styling */
USER HIGHLIGHT
.mp-box {
Please keep list alphabetized
    animation: fadeInUp 0.5s ease forwards;
*/
    opacity: 0;
 
/* Admin */
a[href="https://mbwiki.stairwaygames.work/wiki/User:Ais"], a[href="/wiki/User:Ais"], a[href="/wiki/Special:Contributions/Ais"]
{
color: var(--custom-admin-highlight);
}
}


/* Content moderator
/* Staggered animations */
a[href="https://coralisland.wiki/wiki/User:NAME"], a[href="/wiki/User:NAME"], a[href="/wiki/Special:Contributions/NAME"]
.mp-box:nth-child(1) { animation-delay: 0.05s; }
{
.mp-box:nth-child(2) { animation-delay: 0.1s; }
color: var(--custom-contentmoderator-highlight);
.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; }
/* Bots */
.mp-box:nth-child(7) { animation-delay: 0.35s; }
a[href="https://coralisland.wiki/wiki/User:NoriBot"], a[href="/wiki/User:NoriBot"], a[href="/wiki/Special:Contributions/NoriBot"],
.mp-box:nth-child(8) { animation-delay: 0.4s; }
a[href="https://coralisland.wiki/wiki/User:VoirBot"], a[href="/wiki/User:VoirBot"], a[href="/wiki/Special:Contributions/VoirBot"]
{
color: var(--custom-bot-color);
font-style: var(--custom-bot-font-style);
}


body.skin-vector-dark {
@keyframes fadeInUp {
background: url("https://coralwiki.stairwaygames.com/w/images/9/9a/Site-background-dark.png") no-repeat fixed center center / cover !important;
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
}


.mobileHide, .mobile-only, .no-desktop {
/* ============================================
display: none!important;
  GAME INTRO CARDS
  ============================================ */
.game-intro-card {
    background: var(--theme-page-background-color--secondary);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--theme-border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
}


/* || FIXES */
.game-intro-card:hover {
.wikiEditor-ui-text > .ui-resizable {
    transform: translateY(-2px);
width: 100% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
max-width: 100%;
}
ul {
list-style: disc;
}
}


 
.game-header {
h2 .mw-headline,
    margin-bottom: 1rem;
h3 .mw-headline,
    position: relative;
h4 .mw-headline {
font-weight: 500;
}
}


.vector-body h3 , .vector-body h4 , .vector-body h5 , .vector-body h6 {
.mana-text {
margin-bottom: 4px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), #a8c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: 0.5px;
    margin: 0 !important;
}
}


a, a:visited, a:active,
.mana-text img {
.mw-parser-output a:is(.external, .external:visited, .external:active) {
    vertical-align: middle;
color: var(--theme-link-color);
    margin-left: 8px;
}
#mw-head .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
color: var(--theme-page-text-color);
}
#mw-panel .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
color: var(--theme-link-color);
}
}


.mw-parser-output a.external {
.mana-line {
padding-right: 0;
    height: 3px;
font-size: inherit;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-top: 0.5rem;
    width: 100%;
}
}


.catlinks {
.game-content {
border-color: var(--theme-border-color);
    color: var(--theme-page-text-color);
border-radius: 6px;
    line-height: 1.6;
background-color: var(--gray-050);
}
}


.CodeMirror-lines span {
/* ============================================
font: 14px Consolas,Eupheima UCAS,Monaco,Menlo,monospace /* Source Editor */
  HEADING STYLES
  ============================================ */
.heading-char {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
}


.wikiEditor-ui .ace_editor * {
.heading-char a {
font-size: 13px;
    color: var(--accent-light);
font-family: monospace, monospace; /* Module */
    text-decoration: none;
}
}


.mw-input .mw-abusefilter-editor * {
.heading-char a:hover {
font-size: 13px;
    text-decoration: underline;
font-family: monospace, monospace;
}
}


/* Hide default TOOLBOX nav section on sidebar */
/* ============================================
#mw-navigation > #mw-panel > #p-tb {
  AUTO GRID LISTS
display: none;
  ============================================ */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}
}


/* Column template fix */
.auto-grid li {
.columntemplate ul,
    padding: 0.25rem 0;
.columntemplate ol {
margin-top: 0;
}
}


/* RC */
.auto-grid li a {
.mw-changeslist table {
    color: var(--theme-link-color);
width: unset;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}
}


.gift-table .icon-list-container {
.auto-grid li a:hover {
width: auto;
    color: var(--accent-light);
    text-decoration: underline;
}
}


/* Quote template */
/* ============================================
.quotetable {
  BANNER SECTION
width: auto;
  ============================================ */
#mp-box-banner .mp-body {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}
}


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


/* Code block */
.iconname {
code, pre {
    display: flex;
background-color: var(--theme-page-background-color--secondary);
    align-items: center;
color: var(--theme-page-text-color);
    gap: 0.5rem;
border: 1px solid var(--theme-border-color);
    background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
    padding: 0.5rem 1rem;
padding: 1px 4px;
    border-radius: 8px;
font-family: Consolas,Eupheima UCAS,Monaco,Menlo,monospace;
    transition: all 0.2s ease;
}
}


code.code-block-table {
.iconname:hover {
display: table;
    background: rgba(108, 92, 231, 0.3);
line-height: 21px;
    transform: translateY(-2px);
padding:8px;
}
}


.code-block-table * {
.iconname a {
font: 14px Consolas,Eupheima UCAS,Monaco,Menlo,monospace;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
}
}


.code-block {
/* ============================================
display: inline-block;
  WIKI FIXES & IMPROVEMENTS
line-height: 21px;
  ============================================ */
/* Editor fixes */
.wikiEditor-ui-text > .ui-resizable {
    width: 100% !important;
    max-width: 100%;
}
}


/* || MAIN PAGE */
/* List styles */
/*banner links*/
ul {
.banner-links a {
     list-style: disc;
     color: #FFFFFF !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
    font-weight: 600 !important;
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
body.page-Main_Page.action-view .main-page-top {
background-image: url(https://coralwiki.stairwaygames.com/w/images/c/c2/441Cover_image_only.png);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
display: flex;
flex-direction: column;
gap: 4px;
color: rgb(67, 64, 61); /*fixed color due to bg image*/
text-align: center;
align-items: center;
}
}


 
/* Headings */
/* ||TABLE OF CONTENTS */
h2 .mw-headline,
.toc {
h3 .mw-headline,
padding: 8px 12px;
h4 .mw-headline {
border-radius: 4px;
    font-weight: 500;
background-color: var(--theme-page-background-color--secondary);
border: 1px solid var(--theme-border-color);
margin-top: 16px;
}
.toctogglelabel {
color: var(--theme-link-color);
}
.tocnumber {
color: var(--theme-page-text-color);
}
}


.vector-body .toc h2 {
.vector-body h3,
font-family: Fredoka, sans-serif;
.vector-body h4,
.vector-body h5,
.vector-body h6 {
    margin-bottom: 4px;
}
}


/* TOC hide headings */
/* Link colors */
.toclimit-2 .toclevel-1 ul,
a, a:visited, a:active,
.toclimit-3 .toclevel-2 ul,
.mw-parser-output a:is(.external, .external:visited, .external:active) {
.toclimit-4 .toclevel-3 ul,
    color: var(--theme-link-color);
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
}


/* For Template:Changelist */
#mw-head .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
.changelist-header {
    color: var(--theme-page-text-color);
display: flex;
justify-content: space-between;
align-items: center;
font-size: 88%;
margin: 0.3em 0;
}
}


.changelist-content {
#mw-panel .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
overflow: auto;
    color: var(--theme-link-color);
max-height: 384px;
padding: 1em;
box-sizing: border-box;
-moz-box-sizing: border-box;
-moz-border-radius-topleft: 0.5em;
background: transparent;
border-radius: 6px;
}
}


.changelist-border {
.mw-parser-output a.external {
border: 1px solid var(--theme-border-color);
    padding-right: 0;
border-left: 6px solid var(--accent);
    font-size: inherit;
}
}


 
/* Categories */
/* For Template:Chat */
.catlinks {
.chat-wrapper {
    border-color: var(--theme-border-color);
display: flex;
    border-radius: 6px;
flex-direction: column;
    background-color: var(--gray-050);
}
}


.chat-player,
/* Code blocks */
.chat-npc {
code, pre {
display: flex;
    background-color: var(--theme-page-background-color--secondary);
flex-direction: row;
    color: var(--theme-page-text-color);
gap: 0.5em;
    border: 1px solid var(--theme-border-color);
    border-radius: 2px;
    padding: 1px 4px;
    font-family: Consolas, Eupheima UCAS, Monaco, Menlo, monospace;
}
}


.chat-player-speaker {
code.code-block-table {
white-space: nowrap;
    display: table;
min-width: 70px;
    line-height: 21px;
color: rgb(105, 172, 82);
    padding: 8px;
}
}


.chat-npc-speaker {
.code-block-table * {
white-space: nowrap;
    font: 14px Consolas, Eupheima UCAS, Monaco, Menlo, monospace;
min-width: 70px;
color: rgb(237, 123, 103);
}
}


/* Hatnote */
.code-block {
.hatnote {
    display: inline-block;
display: flex;
    line-height: 21px;
align-items: center;
padding: 10px 15px;
margin-top: 0.6rem;
margin-bottom: 0.8rem;
background-color: var( --color-surface-2 );
border: 1px solid var( --border-color-base--darker );
border-radius: var( --border-radius-base );
color: var( --color-base--emphasized );
font-size: 0.875rem;
line-height: 1.4;
}
}


.hatnote-icon img {
/* Table of Contents */
width: 14px;
.toc {
height: auto;
    padding: 8px 12px;
margin-right: 10px;
    border-radius: 4px;
opacity: var( --opacity-icon-base );
    background-color: var(--theme-page-background-color--secondary);
    border: 1px solid var(--theme-border-color);
    margin-top: 16px;
}
}


.hatnote.hatnote-high {
.toctogglelabel {
background-color: var( --background-color-destructive-subtle );
    color: var(--theme-link-color);
border-color: var( --color-destructive );
}
}


.hatnote.hatnote-medium {
.tocnumber {
background-color: var( --background-color-warning-subtle );
    color: var(--theme-page-text-color);
border-color: var( --color-warning );
}
}


.hatnote.hatnote-low {
.vector-body .toc h2 {
background-color: var( --color-surface-2 );
    font-family: 'Fredoka', sans-serif;
}
}


 
/* Hatnote */
/* Dark mode */
.hatnote {
html.skin-citizen-dark .hatnote-icon img {
    border-left: 4px solid var(--theme-border-color);
filter: invert( 1 );
    padding: 6px 12px;
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(var(--theme-border-color-rgb), 0.30) 0%, rgba(var(--theme-border-color-rgb), 0) 100%);
    margin: 8px 0;
}
}


 
/* Variables styling */
/* For [[Module:Formatting]] */
code.code-block {
display: inline-block;
line-height: 21px;
}
code.code-block-table {
display: table;
line-height: 21px;
}
span.variable {
span.variable {
opacity: 0.65;
    opacity: 0.65;
}
}
span.variable::after {
span.variable::after {
opacity: 0.65;
    opacity: 0.65;
content: ">";
    content: ">";
}
}
span.variable::before {
span.variable::before {
opacity: 0.65;
    opacity: 0.65;
content: "<";
    content: "<";
}
}


/* Quote */
/* Pull quotes */
 
.pull-quote {
.pull-quote {
font-style: italic;
    font-style: italic;
margin: 0;
    margin: 0;
padding: 0 30px 8px !important
    padding: 0 30px 8px !important;
}
}


.pull-quote::before {
.pull-quote::before {
color: var(--accent);
    color: var(--accent);
content: "“";
    content: "“";
display: block;
    display: block;
font-size: 96px;
    font-size: 96px;
font-style: normal;
    font-style: normal;
line-height: 72px;
    line-height: 72px;
margin: 4px 0 -45px -5px;;
    margin: 4px 0 -45px -5px;
}
}


.pull-quote__source::before {
.pull-quote__source::before {
content: "— ";
    content: "— ";
margin-bottom:8px;
    margin-bottom: 8px;
}
}


.pull-quote__text {
.pull-quote__text {
margin-bottom:4px;
    margin-bottom: 4px;
}
}


/* Gallery */
/* Gallery */
.gallerytext {
.gallerytext {
text-align: center;
    text-align: center;
font-size:100%;
    font-size: 100%;
}
}


/* Fix to Template Data */
/* Changelist */
.mw-templatedata-doc-params > * > tr > th {
.changelist-header {
width: 150px;
     display: flex;
}
 
.mw-templatedata-doc-params {
width: auto;
max-width: 100%;
}
 
/* Space sidebar arrows properly */
#mw-panel.collapsible-nav .portal:is(.collapsed, .expanded) .vector-menu-heading {
background-position: 95% center;
}
 
/* Theme toggle */
.wds-icon {
align-self: center;
margin: 0 6px;
pointer-events: none;
fill: currentColor;
}
.wds-icon-small {
height: 18px;
min-width: 18px;
width: 18px;
}
#p-personal .vector-menu-content-list,
#p-personal .mw-list-item > a {
display: flex;
align-items: center;
}
.cols {
background-color: var(--theme-page-background-color--secondary);
}
#pagehistory li.selected {
  background-color: var(--theme-page-background-color--secondary);
  color: var(--theme-page-text-color);
  outline: 1px dashed var(--theme-border-color);
}
 
/* hebrew */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWs89XyHw.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWg89XyHw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWu89U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWs89XyHw.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWg89XyHw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWu89U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik_300";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU6f4L1kA.woff2)
    format("ttf");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
 
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../Fredoka-Regular.ttf')
    format("ttf");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHUzf4L1kA.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU1f4L1kA.woff2)
    format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU5f4L1kA.woff2)
    format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU3f4I.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FWkU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FU0U1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FVUU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FWUU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FV0U1.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
// FIXME: Is specific `.mw-body` even needed? Does `.mw-indicators` exist outside?
*,
body {
  font-family: Fredoka, sans-serif ;
}
.mw-headline{
  font-family: Fredoka,Rubik,Helvetica,Arial,sans-serif;
}
 
.hidden {
  display: none;
}
body {
  //  background-color: @background-color-secondary;
  background: url("https://mbwiki.stairwaygames.work/w/images/3/3d/384Web_background.png")
    no-repeat fixed center center / cover !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
  overflow-y: scroll;
}
.mw-body, .parsoid-body{
  background-color: rgba(255, 255, 255, 0.98) !important;
}
// ul{
//  list-style: none;
// }
 
.wikitable,  .scheduletable {
  table-layout: auto;
  width: 100%;
 
}
 
.scheduletable {
  table-layout: auto;
  width: 30%;
 
}
 
.fishtable {
table-layout: auto;
width: 100%;
 
}
.artisan-table{
  table-layout: auto;
  width: 60%;
  border-spacing: 0;
  max-width: 100%;
  margin: 15px 0
  // border: 1px solid gray;
}
 
.artisan-table > tr > th, .artisan-table > * > tr > th{
  background-color: #e7c361 !important;
  max-width: fit-content;
}
.artisan-table > tr > th, .artisan-table > tr > td, .artisan-table > * > tr > th, .artisan-table > * > tr > td{
  border: 1px solid #a2a9b1;
    padding: 0.2em 0.4em;
}
.quotetable{
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
}
.quotetable > caption {
  text-align: left;
}
.heart{
  margin-left: -7px;
  margin-bottom: 5px;
}
.quotetable > tbody > tr > td {
  padding: 0;
}
blockquote {
  margin: 0 10px;
}
.detail-list ul {
  list-style: none;
}
caption .mw-collapsible-toggle, .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-rtl caption .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
  float: right;
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
.ci-letter-wrapper{
  border-radius: 20px;
     padding: 20px;
    max-width: 35em;
    font-weight: 700;
    background: #faf3ea;
}
.ci-letter-header{
  padding-bottom: 28px;
}
.ci-letter-content{
  font-weight: 400;
}
.ci-letter-footer{
  display: flex;
    padding-top: 28px;
     justify-content: space-between;
     justify-content: space-between;
    font-weight: 700;
     align-items: center;
     align-items: center;
}
    font-size: 88%;
.ci-letter-attachment{
    margin: 0.3em 0;
  max-width: 70%;
}
}


.card-list-container{
.changelist-content {
  display: flex;
    overflow: auto;
     flex-wrap: wrap;
    max-height: 384px;
     gap: 5px;
    padding: 1em;
     box-sizing: border-box;
     border-radius: 6px;
}
}
.custom-card{
  display: inline-block;
    position: relative;
    width: fit-content;
    align-self: baseline;
}
.custom-card-body{
  display: inline-block;
    position: relative;
    width: fit-content;
    align-self: baseline;
    background: #f6e6cf;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
}
.custom-card-image{
  width: 60px;
    height: 60px;
    padding: 4px;
}
.custom-card-amount{
  background: #e9cda2;
    text-align: center;
    border-radius: 0 0 5px 5px;
    padding: 4px 0;
    white-space: nowrap;
    line-height: 1;
    font-size: 12px;
    hyphens: auto;
    overflow-wrap: break-word;
}
.custom-card-caption{
  width: 56px;
    text-align: center;
    line-height: 1;
    font-size: 12px;
    hyphens: auto;
    overflow-wrap: break-word
}
.wikitable{
  background-color: transparent !important;
  // min-width: -webkit-fill-available !important;
  // table-layout: fixed;


.changelist-border {
    border: 1px solid var(--theme-border-color);
    border-left: 6px solid var(--accent);
}
}


.cost-template {
/* Chat wrapper */
  display: flex;
.chat-wrapper {
  justify-content: flex-start;
    display: flex;
  align-items: center;
    flex-direction: column;
  flex-direction: row;
  gap: 0.2rem
}
.cost-detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort{
  font-size: 10px;
    white-space: normal;
}
}
.wikitable > tr > th, .wikitable > * > tr > th{
  background-color: #e7c361 !important;
  max-width: fit-content;


 
.chat-player,
}
.chat-npc {
.heart-event-table {
     display: flex;
  width: 30%;
     flex-direction: row;
}
     gap: 0.5em;
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  // -ms-word-break: break-all;
  // word-break: break-all;
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
    width: 150px;
     white-space: break-space;
     margin-left: auto;
     margin-right: auto;
}
}


.artisan-table > tr > th, .artisan-table > tr > td, .artisan-table > * > tr > th, .artisan-table > * > tr > td:first-child {
.chat-player-speaker {
  // -ms-word-break: break-all;
     white-space: nowrap;
  // word-break: break-all;
     min-width: 70px;
     color: rgb(105, 172, 82);
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
  width: 150px;
     white-space: break-space;
     margin-left: auto;
     margin-right: auto;
    text-align: center;
}
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td:first-child {
.chat-npc-speaker {
  // -ms-word-break: break-all;
  // word-break: break-all;
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
  width: min-content;
    white-space: break-space;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.scheduletable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  // -ms-word-break: break-all;
  // word-break: break-all;
 
 
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
}
 
.quotetable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
//  -ms-word-break: break-all;
//  word-break: break-all;
 
//  -webkit-hyphens: auto;
//  -moz-hyphens: auto;
//  hyphens: auto;
}
 
 
.vector-menu-content {
  margin-left: 10px;
}
.vector-body p{
  // -ms-word-break: break-all;
  // word-break: break-all;
 
  /* Non standard for WebKit */
 
 
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
.mw-body,
.parsoid-body {
  // General background/foreground color definition as one exception to the rule.
  background-color: rgba(255, 255, 255, 0.9);
  color: @color-base;
  direction: ltr;
  padding: 1em;
}
.infobox {
  background: #e7c361 ;
  border: 1px solid #e7c361 ;
  float: right;
  margin: 0 0 1em 1em;
  padding: 1em;
  // min-width: 25%;
}
.infobox-title {
  font-size: 2em;
  text-align: center;
}
 
.infobox p {
  text-decoration: underline;
  font-size: 1.3em;
}
.infobox-image {
  text-align: center;
}
.infobox-table {
width: 100%;
}
.infobox-table th {
  text-align: left;
  vertical-align: top;
  width: 120px;
}
.infobox-table td {
  vertical-align: top;
  text-align: right;
  // color: white;
}
.wikitable > caption{
  text-align: left;
}
.Bug6200 {
  font-style: italic;
  font-weight: normal;
  display: flex;
  flex-direction: row;
align-items: center;
white-space: normal;
}
.Bug6200 > img {
  width: 24px;
  height: 24px;
}
 
.scheduletable{
  text-align: center;
  margin: 10px 0;
  border-collapse: collapse;
}
 
.scheduletable > tbody > tr > td{
  border: 1px solid #a2a9b1;
  // text-align: left;
  // padding: 0.2em 0.4em;
}
 
// .scheduletable > tbody > tr > td:first-child{
//  width: 70px;
// }
.navbox-list{
  padding: 0 0 0 2px;
    font-size: 10pt;
}
.navbox{
  width: 100%;
    margin-top: 12px;
    border-spacing: 0;
}
.croptable > tbody > tr > td:first-child{
  width: 100px !important;
}
.navbox-title th {
  padding: 6px;
  border-radius: 4px;
  background:  #e7c361;
}
.navbox-group a{
  color:  black;
 
}
.alt .navbox-list {
  background-color: rgba(231, 195, 97, 0.35);
}
.navbox-subgroup {
  margin: 0;
  border-spacing: 0;
}
.navbox-subgroup .navbox-group{
  color:  black;
    background: rgba(231, 195, 97, 0.10);
     white-space: nowrap;
     white-space: nowrap;
     text-align: left;
     min-width: 70px;
}
    color: rgb(237, 123, 103);
th.navbox-group{
  background-color: #e7c361;
  color:  black;
 
    font-size: 10pt;
    padding: 0.25em 1em;
}
.scheduletable > tbody > tr > td:first-child{
  width: 150px !important;
}
// td {
//  width: 100px;
// }
.scheduletable caption{
  background: #e7c361 ;
  border: 1px solid #e7c361;
  text-align: center;
}
.wikitable > caption > span{
  float: right !important;
}
}


.collapsible-header:before{
/* ============================================
  float: right;
  RESPONSIVE IMPROVEMENTS
}
  ============================================ */
.ci-recipe-wrapper{
@media (max-width: 768px) {
  display: flex;
     .auto-grid {
    width: fit-content;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    position: relative;
    }
    gap: 7px
   
}
    .game-intro-card {
.ci-recipe-timed{
        padding: 1rem;
  padding-bottom: 25px;
    }
}
   
.ci-recipe-timed{
    .mana-text {
  border: 1px solid #e7c361;
        font-size: 1.25rem;
  border-radius: 5px;
    }
  position: relative;
   
  text-align: center;
    .social {
  font-weight: 500;
        gap: 0.5rem;
  width: 100%;
     }
  padding: 8px;
      
  max-width: 100px;
     .iconname {
  overflow-wrap: break-word;
        padding: 0.35rem 0.75rem;
  hyphens: auto;
        font-size: 0.9rem;
}
.ci-recipe-yield{
  border: 1px solid #e7c361;
     border-radius: 3px;
    padding: 8px;
    position: relative;
    width: 100%;
    text-align: center;
 
}
.ci-recipe-yield-amount {
  background: #e7c361;
  width: fit-content;
  border-radius: 3px;
  padding: 0 5px;
  position: absolute;
  bottom: 0;
  right: 0;
}
span.custom-icon {
  display: inline;
}
.ci-recipe-ingredient{
  border: 1px solid #e7c361;
    border-radius: 3px;
    padding: 5px;
    min-height: 100%;
}
.ci-recipe-medium::after{
  border: 1px solid #e7c361;
  background-color: #e7c361;
  border-radius: 3px;
  width: 5px;
  height: 5px;
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
}
 
.gifted-item{
    background-color: rgba(231, 195, 97, 0.2);
}
.gifted-item > tbody > tr > th{
  background-color: rgba(231, 195, 97, 0.8);
  max-width: 100px;
}
.portable-infobox{
  margin: 0 0 15px 15px;
  max-width: 250px;
  width: 100%;
  border: 1px solid #e7c361;
  border-radius: 10px;
}
.portable-infobox .pi-header{
  padding: 0 5px;
  background: rgba(231, 195, 97, 0.2);
}
.portable-infobox .pi-title{
  background: #e7c361;
  padding: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.portable-infobox .pi-data-label, .portable-infobox .pi-data-value {
  padding: 5px;
}
// .bg-trans {
//  background-color: transparent !important;
// }
// .portable-infobox {
//  clear: both !important;
//  float: none !important;
//  border: 5px solid #e7c361;
//  background-color: #e7c361;
//  color: white;
// }
// .portable-infobox .pi-header{
//  font-size: 0.75rem ;
// }
 
// .portable-infobox .pi-data-label{
//  background-color: #e7c361 ;
//  min-width: 50%;
// }
// .pi-smart-group .pi-smart-data-label{
//  font-size: 0.5rem;
// }
// .portable-infobox .pi-title {
//  text-align: center;
//  font-weight: bold;
// }
 
.pi-image-thumbnail {
  max-width: 100%!important;
}
 
.content-table {
  background: transparent;
  padding: 10px 2%;
  width: 100%;
}
 
.content-table-basic {
  background: transparent;
  width: 100%;
}
 
.content-table-second {
  background: transparent;
  width: 100%;
}
 
.child-content-table {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-left: 4px;
}
#p-personal {
  position: absolute;
  top: @top-personal-tools;
  right: 0.75em;
  z-index: @z-index-personal;
 
  ul {
     padding-left: 10em; /* Keep from overlapping logo */
  }
}
 
.mw-body,
#mw-data-after-content {
  margin-left: 10em;
}
 
.mw-body {
  // Merge the border below with tabs' one (in their background image).
  margin-top: -@border-width-base;
  // Border on top, left, and bottom side.
  //  border: @border-width-base @border-style-base @border-color-content;
  border: 10px solid azure;
  border-radius: 5px;
  //  border-right-width: 0;
 
  .firstHeading {
     /* Change the default from mediawiki.skinning CSS to let indicators float into heading area */
     overflow: visible;
  }
}
 
.mw-indicators {
  z-index: @z-index-indicators;
}
 
.vector-body {
  position: relative;
  z-index: @z-index-base;
}
 
/* Head */
#mw-page-base {
  //  .vertical-gradient( @background-color-base, @background-color-secondary, 50%, 100% );
  background: transparent;
  background-position: bottom left;
  height: 5em;
}
 
#mw-head-base {
  margin-top: -5em;
  margin-left: 10em;
  height: 5em;
  background: transparent;
}
 
/* Hide, but keep accessible for screen-readers */
#mw-navigation h2 {
  position: absolute;
  top: -9999px;
}
 
#mw-head {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
}
 
/* Navigation Containers */
#left-navigation {
  float: left;
  margin-left: 10em;
  margin-top: 2.5em;
  /* When right nav would overlap left nav, it's placed below it
(normal CSS floats behavior). This rule ensures that no empty space
is shown between them due to right nav's margin-top. Page layout
is still broken, but at least the nav overlaps only the page title
instead of half the content. */
  margin-bottom: -2.5em;
}
 
#right-navigation {
  float: right;
  margin-top: 2.5em;
}
 
/* Search */
.vector-search-box {
  float: left;
  margin-right: 0.5em;
  margin-left: 0.5em;
 
  // FIXME: This selector requires knowledge of the internals of the search component
  // and should not be used here.
  form {
    margin: 0.5em 0 0;
  }
}
 
// Defined as `div`.
// Provide extra element for gadgets due to `form` already carrying an `id`.
// FIXME: This selector requires knowledge of the internals of the search component
.vector-search-box-inner {
  min-width: 5em;
  // Support: IE 8, Firefox 18-, Chrome 19-, Safari 5.1-, Opera 19-, Android 4.4.4-.
  width: 13.2em;
  // Support: Modern browsers, responsive width.
  width: 20vw;
  max-width: 20em;
}
 
/* Sidebar */
#mw-panel {
  position: absolute;
  top: 0;
  width: 10em;
  left: 0;
}
 
// hide the heading of the first menu
#p-logo + .mw-portlet .vector-menu-heading {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: white;
  color: black;
  font-weight: bold;
  padding: 0 5px;
  height: 20px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
 
// ul {
//  list-style-type: none !important
// }
 
.vector-body blockquote{
  border: 0;
  padding: 0;
}
 
.vector-menu-portal .vector-menu-content li {
  padding: 5px;
}
.vector-menu-portal .vector-menu-content ul {
  background: rgba(255, 255, 255, 0.8);
}
.vector-menu-portal .vector-menu-heading {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: white;
  color: black;
  font-weight: bold;
  padding: 0 5px;
  height: 20px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
 
.mw-footer {
  margin-left: 10em;
  margin-top: 1%;
  margin-bottom: 1%;
  padding: 0.75em;
  background: white;
  min-height: 120px;
  border-radius: 5px;
}
.social {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: auto;
  background: #474747;
  padding: 1rem 3rem;
  & .iconname {
    max-width: 20%;
    & .external-text {
      font-size: 12px;
     }
     }
     & .floatleft {
      
      display: flex;
    #mp-box-banner .mp-body {
      justify-content: space-between;
         padding: 1rem;
      align-items: center;
      & a {
         font-size: 12px;
      }
      img {
        max-width: 20px;
        max-height: 20px;
      }
     }
     }
  }
}
div.floatleft,
table.floatleft {
  margin: 0;
}
big{
  color: white;
}
}


.jumbotron {
/* ============================================
  //background-image: url("https://mbwiki.stairwaygames.work/w/images/1/13/manabreak-hero.png");
  CUSTOM SCROLLBAR
 
  ============================================ */
  background-repeat: no-repeat;
::-webkit-scrollbar {
  background-size: cover;
    width: 10px;
  width: 100%;
    height: 10px;
}
body.page-Main_Page.action-view .main-page-top{
background-color: #474747;
  padding: 1rem 0;
  background-image: url("https://mbwiki.stairwaygames.work/w/images/1/13/manabreak-hero.png") !important;
  height: 300px !important;
}
/* Vector screen styles for high definition displays. These rules cross the above components and are
grouped together here only for the sake of the media query common to each. */
.mw-body,
#mw-head-base,
#left-navigation,
#mw-data-after-content,
.mw-footer {
  margin-left: 11em;
}
}


.mw-body {
::-webkit-scrollbar-track {
  padding: 1.25em 1.5em 1.5em 1.5em;
    background: var(--theme-page-background-color--secondary);
    border-radius: 5px;
}
}


.mw-footer {
::-webkit-scrollbar-thumb {
  padding: 1.25em;
    background: var(--accent);
    border-radius: 5px;
}
}


#mw-panel {
::-webkit-scrollbar-thumb:hover {
  padding-left: 0.5em;
    background: var(--accent-light);
}
}


.vector-search-box {
/* ============================================
  margin-right: 1em;
   UTILITY CLASSES
}
   ============================================ */
 
.text-center {
#p-personal {
     text-align: center;
  right: 1em;
}
 
// Directionality styles previously provided by the deprecated `legacy` feature (T287410)
// for HTML elements which do not carry dir HTML attributes.
// These have been copied across to legacy Vector to minimize disruption caused by T287701.
// If you are reading this comment in 2022, please consider checking usage in wikitext and
// removing them both.
.mw-content-ltr {
  /* @noflip */
  direction: ltr;
}
 
.mw-content-rtl {
  /* @noflip */
  direction: rtl;
}
 
.cols {
  text-align: left;
  word-break: break-all;
  // padding: 1em 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  font-weight: 600;
  // text-transform: uppercase;
  // letter-spacing: 1px;
}
 
.forest {
  margin-top: -25px;
}
 
.forest2 {
  margin-top: 0;
}
 
/* grid styling */
 
.grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  // background: white;
  margin: 10px 0;
}
.specification-table {
  font-size: 10px;
  padding: 0 5%;
}
 
.content {
  padding: 10px;
  font-size: 12px;
}
 
.grid--gap10 {
  grid-gap: 5px;
}
 
.grid__col1 {
  grid-column: span 1;
}
.grid__col2 {
  grid-column: span 2;
}
.grid__col3 {
  grid-column: span 3;
}
.grid__col4 {
  grid-column: span 4;
}
.grid__col5 {
  grid-column: span 5;
}
.grid__col6 {
  grid-column: span 6;
}
.grid__col7 {
  grid-column: span 7;
}
.grid__col8 {
  grid-column: span 8;
}
.grid__col9 {
  grid-column: span 9;
}
.grid__col10 {
  grid-column: span 10;
}
.grid__col11 {
  grid-column: span 11;
}
.grid__col12 {
  grid-column: span 12;
}
.mw-parser-output a.external {
  background-image: none !important;
  font-size: 14px;
  font-weight: 400;
}
 
.wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
.auto-grid {
  --auto-grid-min-size: 13rem;
}
 
.auto-grid > * {
  max-width: 160px;
  font-size: 16px;
}
 
.auto-grid > * + * {
  font-size: 16px;
}
 
.heading-char {
  font-style: italic;
  text-decoration: underline;
  font-weight: bold;
  padding: 0.5em;
  font-size: 18px;
  text-align: left;
}
 
@supports (display: grid) {
  .mw-content-ltr ul,
  .mw-content-rtl .mw-content-ltr ul {
    // margin: 0 !important;
  }
  .social .iconname .floatleft {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .social {
    gap: 30px;
  }
 
  .croptable > tbody > tr >td > a > img{
    max-width: 40px;
    max-height: 40px;
  }
 
  .exceptable > tbody > tr >td > a > img{
    max-width: 70px;
    max-height: 70px;
  }
  .floatleft > a > img {
    // width: 24px;
    // height: 24px;
  }
  .iconname {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    -ms-word-break: break-all;
    word-break: break-all;
 
    /* Non standard for WebKit */
    word-break: break-word;
 
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
 
  .auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 5px;
  }
 
  .auto-grid > * {
    max-width: unset;
    list-style: none;
  }
 
  .auto-grid > * + * {
    margin-top: unset;
  }
  .auto-grid > li > ul {
    margin-left: 10px !important;
  }
  .auto-grid > li > ul > li {
    list-style: none;
    margin: 0;
    padding-left: 15px;
    list-style: none;
    background-image: url("https://www.svgrepo.com/show/165220/diamond.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px;
    -ms-word-break: break-all;
    word-break: break-all;
 
    /* Non standard for WebKit */
    word-break: break-word;
 
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}
.minus-ten {
margin-top:0;
}
.minus-fifty {
margin-top:-55%;
}
#footer-info li{
  color:white !important
}
@media (max-width: 1024px) {
  .minus-fifty {
margin-top:-5%;
}
.minus-ten {
margin-top:-10%;
}
  .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  font-size: 0.7em;
  }
  .scheduletable > tbody > tr > td:first-child{
    width: 40px;
   }
   .wikitable, .quotetable, .scheduletable {
    table-layout: fixed;
    width: 100%;
 
  }
  .croptable > tbody > tr >td > a > img{
    max-width: 24px;
    max-height: 24px;
  }
  .infobox{
    float: none;
    margin: 0
  }
  .forest2 {
    margin-top: -5px;
  }
  .content {
    font-size: 10px;
  }
  .social {
    flex-direction: column;
    padding: 1rem;
    & .iconname {
      max-width: 100%;
    }
  }
 
  .mw-parser-output a.external {
    -ms-word-break: break-all;
    word-break: break-all;
 
    /* Non standard for WebKit */
    word-break: break-word;
 
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
 
  #mw-panel {
    width: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px;
  }
  .vector-search-box {
    min-width: 90vw;
    margin-top: 0px;
  }
  .vector-search-box-input {
    width: 80vw;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > td
    > a {
     font-size: 8px;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > th
    > div
    > div
    > a
    > img {
    width: 16px;
    height: 16px;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > td
    > div
    > div
    > a
    > img {
    width: 16px;
    height: 16px;
  }
  #mw-content-text
    > div.mw-parser-output
    > table.jumbotron
    > tbody
    > tr
    > th
    > a
    > img {
    max-width: 100%;
    object-fit: contain;
  }
  footer,
  .vector-menu-content,
  #p-navigation,
  #p-tb {
    display: none;
  }
  #p-logo {
    display: block;
    justify-content: center;
  }
  #p-logo a {
    width: 5em;
  }
 
  table {
    width: 100%;
  }
  .mw-body,
  #mw-data-after-content {
    margin: 10% 10px;
  }
  .grid__col1 {
    grid-column: span 1;
  }
  .grid__col2 {
    grid-column: span 2;
  }
  .grid__col3 {
    grid-column: span 6;
  }
  .grid__colsm1 {
    grid-column: span 1;
  }
  .grid__colsm2 {
    grid-column: span 2;
  }
  .grid__colsm3 {
    grid-column: span 12;
  }
  .grid__colsm4 {
    grid-column: span 12;
  }
  .grid__colsm5 {
    grid-column: span 5;
  }
  .grid__colsm6 {
    grid-column: span 6;
  }
  .grid__colsm7 {
    grid-column: span 7;
  }
  .grid__colsm8 {
    grid-column: span 12;
  }
  .grid__colsm9 {
    grid-column: span 9;
  }
  .grid__colsm10 {
    grid-column: span 10;
  }
  .grid__colsm11 {
    grid-column: span 11;
  }
  .grid__colsm12 {
    grid-column: span 12;
  }
 
  .content-table-basic > tbody {
    display: grid;
  }
  .content-table-basic > tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    width: fit-content;
  }
  .content-table-basic > tbody > tr > th {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45vw;
  }
    .content-table-basic > tbody > tr > th > .iconname > .floatleft > a > img{
width:14px;
height: 14px;
  }
 
  .forest {
    margin-top: 0;
  }
 
  .content-table-second {
    background: transparent;
    width: 100%;
  }
  .auto-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .mw-body,
  #mw-data-after-content {
    padding: 0;
  }
}
@media screen and (max-width: 1920px) {
  .mw-parser-output a.external {
    font-size: 14px;
  }
}
 
@media screen and (min-width: 2000px) {
  .mw-parser-output a.external {
    font-size: 20px;
    font-weight: 400;
  }
  .floatleft > a > img {
    width: 48px;
    height: 48px;
  }
}
.header-column > span > a > img{
width: 14px;
    height: 14px;
}
}


.header-column >  a > img{
.mt-2 {
width: 14px;
     margin-top: 0.5rem;
     height: 14px;
}
}


.heading-char{
.mb-2 {
  color:#deb76c !important
    margin-bottom: 0.5rem;
}
}


#footer {
.p-2 {
background: #fff;
    padding: 0.5rem;
color: #000;
margin-top: 1em;
border-top: 1pt solid #aaa;
padding-top: 5px;
direction: ltr;
}
}

Latest revision as of 12:05, 30 March 2026

/* ============================================
   ALL @IMPORTS MUST BE AT THE VERY TOP
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');
@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");

/* ============================================
   CSS VARIABLES (FALLBACKS FOR MISSING IMPORTS)
   ============================================ */
:root {
    /* Theme Colors - Fallbacks if Colors.css fails */
    --theme-page-background-color: #0a0a1a;
    --theme-page-background-color--secondary: #16213e;
    --theme-page-text-color: #eaeef2;
    --theme-link-color: #7c9eff;
    --theme-border-color: #2c3e50;
    --theme-border-color-rgb: 44, 62, 80;
    --accent: #6c5ce7;
    --accent-light: #8c7cf5;
    --gray-050: rgba(255, 255, 255, 0.05);
    
    /* Main Page Layout Variables */
    --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';
}

/* ============================================
   BASE LAYOUT FIXES
   ============================================ */
.mw-body {
    margin-top: -1px;
    border: 1px solid azure;
    border-radius: 1px;
    background-color: transparent;
}

body.skin-vector,
body.skin-vector-dark {
   background: url("https://mbwiki.stairwaygames.work/w/images/9/9a/Site-background-dark.png") no-repeat fixed center center / cover !important;
}

/* 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);
    }
}

/* ============================================
   GAME INTRO CARDS
   ============================================ */
.game-intro-card {
    background: var(--theme-page-background-color--secondary);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--theme-border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.game-intro-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-header {
    margin-bottom: 1rem;
    position: relative;
}

.mana-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), #a8c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: 0.5px;
    margin: 0 !important;
}

.mana-text img {
    vertical-align: middle;
    margin-left: 8px;
}

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

.game-content {
    color: var(--theme-page-text-color);
    line-height: 1.6;
}

/* ============================================
   HEADING STYLES
   ============================================ */
.heading-char {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.heading-char a {
    color: var(--accent-light);
    text-decoration: none;
}

.heading-char a:hover {
    text-decoration: underline;
}

/* ============================================
   AUTO GRID LISTS
   ============================================ */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.auto-grid li {
    padding: 0.25rem 0;
}

.auto-grid li a {
    color: var(--theme-link-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.auto-grid li a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ============================================
   BANNER SECTION
   ============================================ */
#mp-box-banner .mp-body {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* 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: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.iconname:hover {
    background: rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
}

.iconname a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
}

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

/* List styles */
ul {
    list-style: disc;
}

/* Headings */
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;
}

/* Link colors */
a, a:visited, a:active,
.mw-parser-output a:is(.external, .external:visited, .external:active) {
    color: var(--theme-link-color);
}

#mw-head .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
    color: var(--theme-page-text-color);
}

#mw-panel .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
    color: var(--theme-link-color);
}

.mw-parser-output a.external {
    padding-right: 0;
    font-size: inherit;
}

/* Categories */
.catlinks {
    border-color: var(--theme-border-color);
    border-radius: 6px;
    background-color: var(--gray-050);
}

/* Code blocks */
code, pre {
    background-color: var(--theme-page-background-color--secondary);
    color: var(--theme-page-text-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 2px;
    padding: 1px 4px;
    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: 8px 12px;
    border-radius: 4px;
    background-color: var(--theme-page-background-color--secondary);
    border: 1px solid var(--theme-border-color);
    margin-top: 16px;
}

.toctogglelabel {
    color: var(--theme-link-color);
}

.tocnumber {
    color: var(--theme-page-text-color);
}

.vector-body .toc h2 {
    font-family: 'Fredoka', sans-serif;
}

/* Hatnote */
.hatnote {
    border-left: 4px solid var(--theme-border-color);
    padding: 6px 12px;
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(var(--theme-border-color-rgb), 0.30) 0%, rgba(var(--theme-border-color-rgb), 0) 100%);
    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(--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 */
.gallerytext {
    text-align: center;
    font-size: 100%;
}

/* Changelist */
.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: 6px;
}

.changelist-border {
    border: 1px solid var(--theme-border-color);
    border-left: 6px solid var(--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: rgb(105, 172, 82);
}

.chat-npc-speaker {
    white-space: nowrap;
    min-width: 70px;
    color: rgb(237, 123, 103);
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .auto-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .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;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--theme-page-background-color--secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.p-2 {
    padding: 0.5rem;
}