MediaWiki:Common.css: Difference between revisions

From The Jadnix Codex

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   JADNIX CODEX: CITIZEN OVERRIDE
   JADNIX CODEX: MASTER STYLESHEET
   ============================================================ */
   ============================================================ */


:root {
:root {
     /* 1. THE VOID (Backgrounds) */
     /* DEFAULT THEME (The Void) */
     --background-color-base: #0a0a0f;       /* Deep Void Black */
     --background-color-base: #0a0a0f;
     --background-color-surface: #13131a;   /* Slightly lighter for cards */
     --background-color-surface: #13131a;
     --background-color-overlay: #1a1a24;   /* Headers */
     --background-color-overlay: #1a1a24;
 
     --color-base: #d1d1d1;
    /* 2. THE TEXT */
     --color-base: #d1d1d1;                 /* Light Gray text */
      
      
     /* 3. THE FACTIONS (Colors) */
     /* DEFAULT COLORS (The Still - Purple) */
     --color-primary: #a020f0;               /* JADNIX PURPLE */
     --color-primary: #a020f0;
     --color-primary--hover: #b040ff;      
     --color-primary--hover: #b040ff;
     --color-primary--active: #9010e0;      
     --color-primary--active: #9010e0;
 
     --color-secondary: #00ff9f; /* Global Green Highlight */
     --color-secondary: #00ff9f;             /* JADNIX GREEN */


     /* 4. THE FONT (Monospace/Terminal Style) */
     /* FONTS */
     --font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
     --font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
     --font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
     --font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
   
    /* LAYOUT: KILL RIGHT SIDEBAR (Global) */
    --width-layout-sidebar-secondary: 0px !important;
}
}


/* ============================================================
/* ============================================================
   CUSTOM VISUALS
   GLOBAL VISUALS
   ============================================================ */
   ============================================================ */


/* 5. THE SCANLINES (Your original code!) */
/* SCANLINES OVERLAY */
body::before {
body::before {
     content: " ";
     content: " ";
     position: fixed;
     position: fixed;
     top: 0;
     top: 0; left: 0; width: 100%; height: 100%;
    left: 0;
    width: 100%;
    height: 100%;
     background: repeating-linear-gradient(
     background: repeating-linear-gradient(
         0deg,  
         0deg,  
Line 47: Line 44:
}
}


/* 6. LINK BEHAVIOR (Green Glow on Hover) */
/* LINK BEHAVIOR (Default Green Glow) */
a { transition: all 0.2s ease-in-out; }
a { transition: all 0.2s ease-in-out; }
a:hover {
a:hover {
Line 55: Line 52:
}
}


/* 7. HEADER BORDER */
/* HEADERS & LOGO */
.mw-header {
.mw-header { border-bottom: 3px solid var(--color-primary); }
    border-bottom: 3px solid var(--color-primary);
.mw-logo-icon { filter: hue-rotate(260deg); }
 
/* KILL RIGHT SIDEBAR (The Heavy Fix) */
#mw-related-navigation,
.citizen-section-heading--toc {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}
.citizen-body,
.citizen-body.citizen-body--toc-open {
    grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important;
    grid-template-areas: "sidebar-primary content ." !important;
}
.toc {
    display: table !important;
    float: none !important;
    margin-bottom: 1em !important;
}
}
/* 8. LOGO TINT (Makes the default logo purple-ish until you replace it) */
.mw-logo-icon { filter: hue-rotate(260deg); }


/* ============================================================
/* ============================================================
   NUCLEAR SPLASH SCREEN V2 (Citizen Skin Fix)
   FACTION THEMES (Dynamic Colors via JS)
   ============================================================ */
   ============================================================ */


/* 1. HIDE ALL CITIZEN UI ELEMENTS ON WARNING PAGE */
/* --- 1. DEALERS (Gold) --- */
/* We list every possible name Citizen uses for headers/footers */
body.theme-dealer {
body.page-Warning header,
    --color-primary: #DAA520;     
body.page-Warning footer,
    --color-primary--hover: #FFD700;
body.page-Warning #mw-header-container,
    --color-secondary: #FFD700; /* Gold Links */
body.page-Warning #mw-site-navigation,
    --color-progressive: #DAA520; /* Buttons */
body.page-Warning .mw-page-header,      /* The Edit Button area */
    --citizen-theme-color: #DAA520;
body.page-Warning .citizen-header,
   
body.page-Warning .citizen-footer,
    --font-family-system: 'Georgia', 'Times New Roman', serif;
body.page-Warning #mw-related-navigation,
    --font-family-header: 'Georgia', 'Times New Roman', serif;
body.page-Warning .citizen-drawer {
}
     display: none !important;
 
     opacity: 0 !important;
/* DEALER BUTTONS (Targeting Every Possible Container) */
     pointer-events: none !important;
body.theme-dealer .citizen-page-actions__item .mw-ui-button,
body.theme-dealer #p-views li a,
body.theme-dealer #ca-edit a,  
body.theme-dealer #ca-history a,
body.theme-dealer #ca-view a {
    background-color: #DAA520 !important;
    border-color: #DAA520 !important;
    color: #000000 !important; /* Black Text */
    text-shadow: none !important;
}
body.theme-dealer .citizen-page-actions__item .mw-ui-button:hover,
body.theme-dealer #p-views li a:hover {
    background-color: #FFD700 !important;
    box-shadow: 0 0 10px #DAA520;
}
 
/* DEALER CONTENT BAR */
body.theme-dealer #mw-content-text {
     border-left: 6px solid #DAA520;
     padding-left: 25px;
     background: linear-gradient(to right, rgba(218, 165, 32, 0.05), transparent 10%);
}
}


/* 2. THE FULL SCREEN OVERLAY */
 
body.page-Warning .splash-container {
/* --- 2. SKIPPERS (Blue) --- */
     /* Force it to be fixed to the screen */
body.theme-skipper {
    position: fixed !important;
     --color-primary: #21b0cd;      
     top: 0 !important;
     --color-primary--hover: #00e5ff;
     left: 0 !important;
     --color-secondary: #00e5ff; /* Cyan Links */
     width: 100vw !important;
     --color-progressive: #21b0cd; /* Buttons */
     height: 100vh !important;
     --citizen-theme-color: #21b0cd;
      
      
     /* Ensure the background is SOLID black so nothing peeks through */
     --font-family-system: 'Consolas', 'Monaco', monospace;
    background-color: #0a0a0f !important;
     --font-family-header: 'Consolas', 'Monaco', monospace;
   
    /* Maximum Z-Index possible in a browser */
    z-index: 2147483647 !important;  
      
    /* Centering Magic (Flexbox) */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    /* Reset margins so it touches the edges */
    margin: 0 !important;
    padding: 20px !important; /* Padding for mobile screens */
    box-sizing: border-box !important;
}
}


/* 3. THE INNER BOX (Visual Style) */
/* SKIPPER BUTTONS */
/* We wrap the text in a visual box so it looks good on mobile */
body.theme-skipper .citizen-page-actions__item .mw-ui-button,
.splash-inner-wrapper {
body.theme-skipper #p-views li a,
     width: 100%;
body.theme-skipper #ca-edit a,
     max-width: 500px;
body.theme-skipper #ca-history a {
     border: 1px solid #333;
     background-color: #21b0cd !important;
    border-top: 4px solid #a020f0;
     border-color: #21b0cd !important;
     background: #13131a; /* Slightly lighter than void */
     color: #ffffff !important;
    padding: 30px;
}
     box-shadow: 0 0 30px rgba(0,0,0,0.8);
body.theme-skipper .citizen-page-actions__item .mw-ui-button:hover {
    text-align: center;
     background-color: #00e5ff !important;
     box-shadow: 0 0 10px #21b0cd;
}
}


/* 4. TEXT STYLING */
/* SKIPPER CONTENT BAR */
.splash-title {
body.theme-skipper #mw-content-text {
     font-family: 'Consolas', monospace;
     border-left: 6px solid #21b0cd;
    font-size: 2em; /* Smaller for mobile safety */
     padding-left: 25px;
    color: #fff;
    margin-bottom: 5px;
     text-shadow: 0 0 10px rgba(160, 32, 240, 0.5);
}
}


.splash-subtitle {
 
     color: #a020f0;
/* --- 3. THE STILL (Purple) --- */
     font-size: 0.8em;
body.theme-still {
     letter-spacing: 2px;
     --color-primary: #a020f0;
     margin-bottom: 30px;
     --color-primary--hover: #b040ff;
     text-transform: uppercase;
    --color-secondary: #00ff9f; /* Keep Green Links for Still */
     --color-progressive: #a020f0;
     --citizen-theme-color: #a020f0;
      
    --font-family-system: 'Consolas', 'Monaco', monospace;
}
}


.splash-btn {
/* STILL BUTTONS */
     display: inline-block;
body.theme-still .citizen-page-actions__item .mw-ui-button,
     border: 1px solid #a020f0;
body.theme-still #p-views li a,
    padding: 12px 24px;
body.theme-still #ca-edit a,
     color: #fff !important; /* Force white text */
body.theme-still #ca-history a {
    text-decoration: none;
     background-color: #a020f0 !important;
     font-family: 'Consolas', monospace;
     border-color: #a020f0 !important;
     margin: 20px 0;
     color: #ffffff !important;
    transition: all 0.3s;
}
body.theme-still .citizen-page-actions__item .mw-ui-button:hover {
     background-color: #b040ff !important;
     box-shadow: 0 0 10px #a020f0;
}
}


.splash-btn:hover {
/* STILL CONTENT BAR */
     background: #a020f0;
body.theme-still #mw-content-text {
     color: #000 !important;
     border-left: 6px solid #a020f0;
    box-shadow: 0 0 15px #a020f0;
     padding-left: 25px;
}
}


/* ============================================================
/* ============================================================
   THE CRDD CALCULATOR (The Device)
   COMPONENT: CRDD CALCULATOR
   ============================================================ */
   ============================================================ */
#crdd-interface {
#crdd-interface {
Line 170: Line 192:
     max-width: 800px;
     max-width: 800px;
}
}
/* The Header of the Device */
.crdd-header {
.crdd-header {
     border-bottom: 1px dashed #21b0cd;
     border-bottom: 1px dashed #21b0cd;
Line 180: Line 200:
     opacity: 0.8;
     opacity: 0.8;
}
}
/* The Sections (1/3, 2/3, 3/3) */
.crdd-section {
.crdd-section {
     margin-bottom: 30px;
     margin-bottom: 30px;
Line 188: Line 206:
     background: #0f0f14;
     background: #0f0f14;
}
}
.crdd-section-title {
.crdd-section-title {
     background: #21b0cd;
     background: #21b0cd;
Line 197: Line 214:
     margin-bottom: 15px;
     margin-bottom: 15px;
}
}
/* The Sliders */
.crdd-input-group {
.crdd-input-group {
     display: flex;
     display: flex;
Line 205: Line 220:
     margin-bottom: 10px;
     margin-bottom: 10px;
}
}
 
.crdd-input-group label { flex: 1; font-size: 0.9em; }
.crdd-input-group label {
.crdd-range { flex: 2; margin: 0 15px; accent-color: #21b0cd; }
    flex: 1;
.crdd-value-display { width: 30px; text-align: right; font-weight: bold; }
    font-size: 0.9em;
.crdd-skip-label { display: block; margin-bottom: 15px; color: #666; font-size: 0.8em; cursor: pointer; }
}
 
.crdd-range {
    flex: 2;
    margin: 0 15px;
    accent-color: #21b0cd; /* Makes the slider blue */
}
 
.crdd-value-display {
    width: 30px;
    text-align: right;
    font-weight: bold;
}
 
/* The "Skip" Checkbox */
.crdd-skip-label {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.8em;
    cursor: pointer;
}
 
/* The Result Box */
#crdd-final-result {
#crdd-final-result {
     border-top: 2px solid #21b0cd;
     border-top: 2px solid #21b0cd;
Line 247: Line 238:
     background: #0d1a1d;
     background: #0d1a1d;
}
}
.crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; }


.crdd-rating-text {
/* MOBILE RESPONSIVENESS FOR CRDD */
    font-size: 2em;
    text-shadow: 0 0 10px currentColor;
    margin-top: 10px;
}
 
/* ============================================================
  MOBILE RESPONSIVENESS (V2 - Forced Stacking)
  ============================================================ */
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 768px) {
    /* FORCE VERTICAL STACK */
     .crdd-input-group {
     .crdd-input-group {
         display: flex !important;
         display: flex !important;
         flex-direction: column !important; /* Stack top-to-bottom */
         flex-direction: column !important;
         align-items: flex-start !important;
         align-items: flex-start !important;
         margin-bottom: 25px !important;
         margin-bottom: 25px !important;
         width: 100% !important;
         width: 100% !important;
     }
     }
 
     .crdd-input-group label { width: 100% !important; margin-bottom: 10px !important; font-size: 1.2em !important; }
    /* LABEL ON TOP */
     .crdd-range { width: 100% !important; margin: 10px 0 !important; height: 40px !important; }
     .crdd-input-group label {
     .crdd-value-display { width: 100% !important; text-align: right !important; font-size: 1.2em !important; color: #fff !important; }
        width: 100% !important;
     #crdd-interface { padding: 10px !important; width: 100% !important; box-sizing: border-box !important; }
        margin-bottom: 10px !important;
        font-size: 1.2em !important;
    }
 
    /* SLIDER IN MIDDLE */
     .crdd-range {
        width: 100% !important;
        margin: 10px 0 !important;
        height: 40px !important; /* Easy to touch */
    }
 
    /* NUMBER ON BOTTOM (or Right) */
     .crdd-value-display {
        width: 100% !important;
        text-align: right !important;
        font-size: 1.2em !important;
        color: #fff !important;
    }
 
    /* FIX PADDING */
     #crdd-interface {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
}


/* ============================================================
/* ============================================================
   UNIVERSAL FACTION THEMES (ID Override Edition)
   COMPONENT: SPLASH SCREEN (Warning Page)
   ============================================================ */
   ============================================================ */
 
body.page-Warning header,
/* --- THEME: DEALERS (Gold) --- */
body.page-Warning footer,
body.theme-dealer {
body.page-Warning #mw-header-container,
    --color-primary: #DAA520;
body.page-Warning #mw-site-navigation,
    --color-primary--hover: #FFD700;
body.page-Warning .mw-page-header,
     --color-progressive: #DAA520;
body.page-Warning .citizen-header,
     --citizen-theme-color: #DAA520;
body.page-Warning .citizen-footer,
     --font-family-system: 'Georgia', 'Times New Roman', serif;
body.page-Warning #mw-related-navigation,
body.page-Warning .citizen-drawer {
     display: none !important;
     opacity: 0 !important;
     pointer-events: none !important;
}
}
 
body.page-Warning .splash-container {
/* THE SNIPER SHOT: Target the IDs directly */
    position: fixed !important;
body.theme-dealer #ca-edit > a,
    top: 0 !important;
body.theme-dealer #ca-history > a,
    left: 0 !important;
body.theme-dealer #ca-view > a,
    width: 100vw !important;
body.theme-dealer #p-views li a,
    height: 100vh !important;
body.theme-dealer .mw-ui-button.mw-ui-progressive {
     background-color: #0a0a0f !important;
     background-color: #DAA520 !important;
     z-index: 2147483647 !important;
     border-color: #DAA520 !important;
    display: flex !important;
     color: #000000 !important; /* Black text on Gold */
    flex-direction: column;
     text-shadow: none !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
     padding: 20px !important;
     box-sizing: border-box !important;
}
}
 
.splash-inner-wrapper {
/* Hover State */
    width: 100%;
body.theme-dealer #ca-edit > a:hover,
    max-width: 500px;
body.theme-dealer #ca-history > a:hover {
    border: 1px solid #333;
     background-color: #FFD700 !important;
    border-top: 4px solid #a020f0;
     box-shadow: 0 0 10px #DAA520;
     background: #13131a;
    padding: 30px;
     box-shadow: 0 0 30px rgba(0,0,0,0.8);
    text-align: center;
}
}
 
.splash-title {
/* Gold Links */
    font-family: 'Consolas', monospace;
body.theme-dealer a:hover {
    font-size: 2em;
     color: #FFD700 !important;
     color: #fff;
     text-shadow: 0 0 8px #FFD700 !important;
    margin-bottom: 5px;
     text-shadow: 0 0 10px rgba(160, 32, 240, 0.5);
}
}
 
.splash-subtitle {
/* The Gold Bar */
    color: #a020f0;
body.theme-dealer #mw-content-text {
    font-size: 0.8em;
     border-left: 6px solid #DAA520;
     letter-spacing: 2px;
     padding-left: 25px;
     margin-bottom: 30px;
     background: linear-gradient(to right, rgba(218, 165, 32, 0.05), transparent 10%);
     text-transform: uppercase;
}
}
 
.splash-btn {
 
     display: inline-block;
/* --- THEME: SKIPPERS (Blue) --- */
    border: 1px solid #a020f0;
body.theme-skipper {
    padding: 12px 24px;
     --color-primary: #21b0cd;
     color: #fff !important;
     --color-progressive: #21b0cd;
     text-decoration: none;
     --citizen-theme-color: #21b0cd;
     font-family: 'Consolas', monospace;
     --font-family-system: 'Consolas', 'Monaco', monospace;
    margin: 20px 0;
    transition: all 0.3s;
}
}
 
.splash-btn:hover {
/* THE SNIPER SHOT: Target the IDs */
     background: #a020f0;
body.theme-skipper #ca-edit > a,
     color: #000 !important;
body.theme-skipper #ca-history > a,
     box-shadow: 0 0 15px #a020f0;
body.theme-skipper #ca-view > a,
body.theme-skipper #p-views li a,
body.theme-skipper .mw-ui-button.mw-ui-progressive {
    background-color: #21b0cd !important;
    border-color: #21b0cd !important;
    color: #ffffff !important; /* White text on Blue */
    text-shadow: none !important;
}
 
/* Hover State */
body.theme-skipper #ca-edit > a:hover,
body.theme-skipper #ca-history > a:hover {
    background-color: #00e5ff !important;
    box-shadow: 0 0 10px #21b0cd;
}
 
/* Blue Links */
body.theme-skipper a:hover {
    color: #00e5ff !important;
    text-shadow: 0 0 8px #00e5ff !important;
}
 
/* The Blue Bar */
body.theme-skipper #mw-content-text {
    border-left: 6px solid #21b0cd;
    padding-left: 25px;
}
 
/* --- THEME: THE STILL (Purple) --- */
body.theme-still {
    --color-primary: #a020f0;      /* Jadnix Purple */
    --color-primary--hover: #b040ff;
    --color-progressive: #a020f0;
    --citizen-theme-color: #a020f0;
   
    /* Still use Monospace (Terminal Style) */
    --font-family-system: 'Consolas', 'Monaco', monospace;
}
 
/* THE SNIPER SHOT: Target the IDs */
body.theme-still #ca-edit > a,
body.theme-still #ca-history > a,
body.theme-still #ca-view > a,
body.theme-still #p-views li a,
body.theme-still .mw-ui-button.mw-ui-progressive {
     background-color: #a020f0 !important;
    border-color: #a020f0 !important;
     color: #ffffff !important; /* White text on Purple */
    text-shadow: none !important;
}
 
/* Hover State */
body.theme-still #ca-edit > a:hover,
body.theme-still #ca-history > a:hover {
    background-color: #b040ff !important;
     box-shadow: 0 0 10px #a020f0;
}
 
/* Purple Links */
body.theme-still a:hover {
    color: #b040ff !important;
    text-shadow: 0 0 8px #b040ff !important;
}
 
/* The Purple Bar */
body.theme-still #mw-content-text {
    border-left: 6px solid #a020f0;
    padding-left: 25px;
}
 
/* ============================================================
  LAYOUT OVERRIDE: KILL RIGHT SIDEBAR
  ============================================================ */
 
/* 1. Tell the Skin the Right Sidebar has Zero Width */
:root {
    --width-layout-sidebar-secondary: 0px;
}
 
/* 2. Hide the Container for the Right Sidebar */
#mw-related-navigation {
    display: none !important;
}
 
/* 3. Force the Main Content to fill the space */
.citizen-body {
    grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important;
}
 
/* ============================================================
  LAYOUT OVERRIDE: KILL RIGHT SIDEBAR (V2)
  ============================================================ */
 
/* 1. Force the variable to 0 on ALL levels */
:root, body {
    --width-layout-sidebar-secondary: 0px !important;
}
 
/* 2. Hide the sidebar container completely */
#mw-related-navigation,
.citizen-section-heading--toc {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}
 
/* 3. Force the Main Grid to ignore the right column */
/* We define 3 columns: Left Sidebar | Content | Zero */
.citizen-body,
.citizen-body.citizen-body--toc-open {
    grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important;
    grid-template-areas: "sidebar-primary content ." !important;
}
 
/* 4. Optional: Force the TOC to appear inline (inside the text) if you type __TOC__ */
.toc {
    display: table !important;
    float: none !important;
    margin-bottom: 1em !important;
}
}

Revision as of 15:53, 9 February 2026

/* ============================================================
   JADNIX CODEX: MASTER STYLESHEET
   ============================================================ */

:root {
    /* DEFAULT THEME (The Void) */
    --background-color-base: #0a0a0f;
    --background-color-surface: #13131a;
    --background-color-overlay: #1a1a24;
    --color-base: #d1d1d1;
    
    /* DEFAULT COLORS (The Still - Purple) */
    --color-primary: #a020f0;
    --color-primary--hover: #b040ff;
    --color-primary--active: #9010e0;
    --color-secondary: #00ff9f; /* Global Green Highlight */

    /* FONTS */
    --font-family-system: 'Consolas', 'Monaco', 'Courier New', monospace;
    --font-family-header: 'Consolas', 'Monaco', 'Courier New', monospace;
    
    /* LAYOUT: KILL RIGHT SIDEBAR (Global) */
    --width-layout-sidebar-secondary: 0px !important;
}

/* ============================================================
   GLOBAL VISUALS
   ============================================================ */

/* SCANLINES OVERLAY */
body::before {
    content: " ";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg, 
        rgba(0, 0, 0, 0.15) 0px, 
        rgba(0, 0, 0, 0.15) 1px, 
        transparent 1px, 
        transparent 2px
    );
    z-index: 9999;
    pointer-events: none; 
}

/* LINK BEHAVIOR (Default Green Glow) */
a { transition: all 0.2s ease-in-out; }
a:hover {
    color: var(--color-secondary) !important;
    text-shadow: 0 0 8px var(--color-secondary);
    text-decoration: none;
}

/* HEADERS & LOGO */
.mw-header { border-bottom: 3px solid var(--color-primary); }
.mw-logo-icon { filter: hue-rotate(260deg); }

/* KILL RIGHT SIDEBAR (The Heavy Fix) */
#mw-related-navigation,
.citizen-section-heading--toc {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}
.citizen-body,
.citizen-body.citizen-body--toc-open {
    grid-template-columns: var(--width-layout-sidebar-primary) 1fr 0px !important;
    grid-template-areas: "sidebar-primary content ." !important;
}
.toc {
    display: table !important;
    float: none !important;
    margin-bottom: 1em !important;
}

/* ============================================================
   FACTION THEMES (Dynamic Colors via JS)
   ============================================================ */

/* --- 1. DEALERS (Gold) --- */
body.theme-dealer {
    --color-primary: #DAA520;       
    --color-primary--hover: #FFD700;
    --color-secondary: #FFD700; /* Gold Links */
    --color-progressive: #DAA520; /* Buttons */
    --citizen-theme-color: #DAA520;
    
    --font-family-system: 'Georgia', 'Times New Roman', serif;
    --font-family-header: 'Georgia', 'Times New Roman', serif;
}

/* DEALER BUTTONS (Targeting Every Possible Container) */
body.theme-dealer .citizen-page-actions__item .mw-ui-button,
body.theme-dealer #p-views li a,
body.theme-dealer #ca-edit a, 
body.theme-dealer #ca-history a,
body.theme-dealer #ca-view a {
    background-color: #DAA520 !important;
    border-color: #DAA520 !important;
    color: #000000 !important; /* Black Text */
    text-shadow: none !important;
}
body.theme-dealer .citizen-page-actions__item .mw-ui-button:hover,
body.theme-dealer #p-views li a:hover {
    background-color: #FFD700 !important;
    box-shadow: 0 0 10px #DAA520;
}

/* DEALER CONTENT BAR */
body.theme-dealer #mw-content-text {
    border-left: 6px solid #DAA520;
    padding-left: 25px;
    background: linear-gradient(to right, rgba(218, 165, 32, 0.05), transparent 10%);
}


/* --- 2. SKIPPERS (Blue) --- */
body.theme-skipper {
    --color-primary: #21b0cd;       
    --color-primary--hover: #00e5ff;
    --color-secondary: #00e5ff; /* Cyan Links */
    --color-progressive: #21b0cd; /* Buttons */
    --citizen-theme-color: #21b0cd;
    
    --font-family-system: 'Consolas', 'Monaco', monospace;
    --font-family-header: 'Consolas', 'Monaco', monospace;
}

/* SKIPPER BUTTONS */
body.theme-skipper .citizen-page-actions__item .mw-ui-button,
body.theme-skipper #p-views li a,
body.theme-skipper #ca-edit a,
body.theme-skipper #ca-history a {
    background-color: #21b0cd !important;
    border-color: #21b0cd !important;
    color: #ffffff !important;
}
body.theme-skipper .citizen-page-actions__item .mw-ui-button:hover {
    background-color: #00e5ff !important;
    box-shadow: 0 0 10px #21b0cd;
}

/* SKIPPER CONTENT BAR */
body.theme-skipper #mw-content-text {
    border-left: 6px solid #21b0cd;
    padding-left: 25px;
}


/* --- 3. THE STILL (Purple) --- */
body.theme-still {
    --color-primary: #a020f0;
    --color-primary--hover: #b040ff;
    --color-secondary: #00ff9f; /* Keep Green Links for Still */
    --color-progressive: #a020f0;
    --citizen-theme-color: #a020f0;
    
    --font-family-system: 'Consolas', 'Monaco', monospace;
}

/* STILL BUTTONS */
body.theme-still .citizen-page-actions__item .mw-ui-button,
body.theme-still #p-views li a,
body.theme-still #ca-edit a,
body.theme-still #ca-history a {
    background-color: #a020f0 !important;
    border-color: #a020f0 !important;
    color: #ffffff !important;
}
body.theme-still .citizen-page-actions__item .mw-ui-button:hover {
    background-color: #b040ff !important;
    box-shadow: 0 0 10px #a020f0;
}

/* STILL CONTENT BAR */
body.theme-still #mw-content-text {
    border-left: 6px solid #a020f0;
    padding-left: 25px;
}

/* ============================================================
   COMPONENT: CRDD CALCULATOR
   ============================================================ */
#crdd-interface {
    background-color: #0a0a0f;
    border: 2px solid #21b0cd;
    padding: 20px;
    font-family: 'Consolas', monospace;
    color: #21b0cd;
    box-shadow: 0 0 20px rgba(33, 176, 205, 0.2);
    margin-top: 20px;
    max-width: 800px;
}
.crdd-header {
    border-bottom: 1px dashed #21b0cd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: right;
    font-size: 0.8em;
    opacity: 0.8;
}
.crdd-section {
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 15px;
    background: #0f0f14;
}
.crdd-section-title {
    background: #21b0cd;
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}
.crdd-input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.crdd-input-group label { flex: 1; font-size: 0.9em; }
.crdd-range { flex: 2; margin: 0 15px; accent-color: #21b0cd; }
.crdd-value-display { width: 30px; text-align: right; font-weight: bold; }
.crdd-skip-label { display: block; margin-bottom: 15px; color: #666; font-size: 0.8em; cursor: pointer; }
#crdd-final-result {
    border-top: 2px solid #21b0cd;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0d1a1d;
}
.crdd-rating-text { font-size: 2em; text-shadow: 0 0 10px currentColor; margin-top: 10px; }

/* MOBILE RESPONSIVENESS FOR CRDD */
@media only screen and (max-width: 768px) {
    .crdd-input-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 25px !important;
        width: 100% !important;
    }
    .crdd-input-group label { width: 100% !important; margin-bottom: 10px !important; font-size: 1.2em !important; }
    .crdd-range { width: 100% !important; margin: 10px 0 !important; height: 40px !important; }
    .crdd-value-display { width: 100% !important; text-align: right !important; font-size: 1.2em !important; color: #fff !important; }
    #crdd-interface { padding: 10px !important; width: 100% !important; box-sizing: border-box !important; }
}

/* ============================================================
   COMPONENT: SPLASH SCREEN (Warning Page)
   ============================================================ */
body.page-Warning header,
body.page-Warning footer,
body.page-Warning #mw-header-container,
body.page-Warning #mw-site-navigation,
body.page-Warning .mw-page-header,
body.page-Warning .citizen-header,
body.page-Warning .citizen-footer,
body.page-Warning #mw-related-navigation,
body.page-Warning .citizen-drawer {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
body.page-Warning .splash-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #0a0a0f !important;
    z-index: 2147483647 !important; 
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}
.splash-inner-wrapper {
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
    border-top: 4px solid #a020f0;
    background: #13131a;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    text-align: center;
}
.splash-title {
    font-family: 'Consolas', monospace;
    font-size: 2em;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(160, 32, 240, 0.5);
}
.splash-subtitle {
    color: #a020f0;
    font-size: 0.8em;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.splash-btn {
    display: inline-block;
    border: 1px solid #a020f0;
    padding: 12px 24px;
    color: #fff !important;
    text-decoration: none;
    font-family: 'Consolas', monospace;
    margin: 20px 0;
    transition: all 0.3s;
}
.splash-btn:hover {
    background: #a020f0;
    color: #000 !important;
    box-shadow: 0 0 15px #a020f0;
}