Actions

MediaWiki

Pivot.css: Difference between revisions

From Dune Awakening DB

mNo edit summary
Tag: Reverted
mNo edit summary
Tags: Manual revert Reverted
Line 1: Line 1:
/**********************************************************
/**********************************************************
  * Dune Wiki - Pivot Skin CSS (V1 Improved)
  * Enhanced Dune-Themed Pivot Skin (Game-Accurate)
* Optimized and cleaned version
  **********************************************************/
  **********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 1. CSS VARIABLES - ENHANCED SYSTEM
# 1. CSS VARIABLES - ENHANCED SYSTEM
--------------------------------------------------------------*/
--------------------------------------------------------------*/
:root {
:root {
   /* ===== Color System ===== */
   /* Brand Colors - Core Palette */
   /* Primary Brand Colors */
  --dune-black: rgba(14, 12, 21, 0.6);
   --dune-black: #0e0c15;
  --dune-panel-bg-dark: rgba(0, 0, 2, 0.7);
   --dune-dark: #1a1724;
  --dune-panel-bg-light: rgba(22, 22, 24, 0.4);
   --dune-darker: #0c0a14;
  --dune-dark: rgba(26, 23, 36, 0.7);
   --dune-darkest: #000002;
  --dune-darker: rgba(12, 10, 20, 0.8);
  --dune-gold: #fce7c8;
  --dune-gold-hover: #E3BB7A;
  --dune-gold-dark: #A07B40;
 
   /* Text Colors */
   --text-primary: #E0E0E0;
  --text-secondary: #BBBBBB;
  --text-title: #E2D3AE;
  --text-inactive: #636363;
  --text-highlight: #FFFFFF;
  --text-link: var(--dune-gold);
   --text-link-hover: var(--dune-gold-hover);
  --text-error: #9c061a;
   --text-success: #4CAF50;
   --text-warning: #FFD700;
    
    
   /* Gold Palette */
   /* Faction Colors */
   --dune-gold: #fce7c8;
   --faction-atreides: #3D6B8A;
   --dune-gold-hover: #e3bb7a;
   --faction-harkonnen: #340f14;
   --dune-gold-dark: #a07b40;
  --faction-fremen: #538579;
   --dune-gold-darker: #c8a165;
  --faction-emperor: #8A7045;
  --faction-spacing-guild: #4A4E69;
   --faction-bene-gesserit: #6B4E71;
 
  /* Status Colors */
  --status-complete: #4CAF50;
   --status-incomplete: #FF6B6B;
  --status-locked: #636363;
  --status-available: #3D6B8A;
  --status-craftable: #538579;
  --status-rare: #9c43c8;
  --status-epic: #2970c3;
  --status-legendary: #cf7a30;
    
    
   /* Semantic Colors */
   /* Opacity & Transparency */
   --color-primary: var(--dune-gold);
   --opacity-high: 0.9;
  --color-primary-hover: var(--dune-gold-hover);
   --opacity-medium: 0.7;
  --color-secondary: var(--dune-gold-dark);
   --opacity-low: 0.5;
   --color-success: #4caf50;
   --opacity-subtle: 0.3;
   --color-warning: #ffd700;
   --opacity-hint: 0.1;
   --color-error: #ff6b6b;
   --color-info: #3d6b8a;
    
    
   /* Text Colors */
   /* Color with Transparency */
   --text-primary: #e0e0e0;
   --dune-dark-transparent: rgba(14, 12, 21, 0.6);
   --text-secondary: #bbbbbb;
  --dune-darker-transparent: rgba(12, 10, 20, 0.5);
   --text-muted: #888888;
  --dune-gold-transparent: rgba(200, 161, 101, 0.4);
   --text-title: #e2d3ae;
   --dune-gold-glow: rgba(200, 161, 101, 0.2);
   --text-light: #ffffff;
   --dune-gold-intense-glow: rgba(227, 187, 122, 0.4);
   --text-dark: var(--dune-black);
   --panel-bg-transparent: rgba(0, 0, 2, 0.7);
   --black-transparent: rgba(0, 0, 0, 0.7);
   --gold-border-subtle: rgba(200, 161, 101, 0.3);
  --gold-border-very-subtle: rgba(200, 161, 101, 0.2);
    
    
   /* Background Colors with Opacity */
   /* Spacing & Layout */
   --bg-panel: rgba(0, 0, 2, 0.7);
   --spacing-xxs: 2px;
   --bg-panel-light: rgba(22, 22, 24, 0.4);
   --spacing-xs: 4px;
   --bg-panel-dark: rgba(0, 0, 2, 0.7);
  --spacing-sm: 8px;
   --bg-transparent-dark: rgba(14, 12, 21, 0.6);
   --spacing-md: 12px;
   --bg-transparent-darker: rgba(12, 10, 20, 0.8);
  --spacing-lg: 16px;
   --spacing-xl: 20px;
  --spacing-xxl: 24px;
   --spacing-xxxl: 32px;
    
    
   /* Border Colors */
   /* Content Width */
   --border-color: var(--dune-gold);
   --content-width-xs: 480px;
   --border-color-subtle: rgba(200, 161, 101, 0.3);
  --content-width-sm: 768px;
   --border-color-very-subtle: rgba(200, 161, 101, 0.2);
   --content-width-md: 1024px;
   --content-width-lg: 1280px;
  --content-width-xl: 1440px;
    
    
   /* ===== Spacing System ===== */
   /* Borders */
   --space-xxs: 0.125rem; /* 2px */
   --border-thin: 1px;
   --space-xs: 0.25rem;   /* 4px */
  --border-medium: 2px;
   --space-sm: 0.5rem;     /* 8px */
  --border-thick: 3px;
   --space-md: 0.75rem;   /* 12px */
   --border-radius-xs: 1px;
   --space-lg: 1rem;       /* 16px */
   --border-radius-sm: 2px;
   --space-xl: 1.25rem;   /* 20px */
   --border-radius-md: 3px;
   --space-xxl: 1.5rem;   /* 24px */
   --border-radius-lg: 4px;
   --space-xxxl: 2rem;     /* 32px */
   --border-radius-xl: 6px;
   --border-radius-circle: 50%;
   --border-angle: 30deg;
    
    
   /* ===== Typography ===== */
   /* Shadows */
   --font-primary: "Orbitron", "Segoe UI", sans-serif;
   --shadow-subtle: 0 0 8px rgba(0, 0, 0, 0.3);
   --font-secondary: "Montserrat", "Arial", sans-serif;
  --shadow-medium: 0 0 10px rgba(0, 0, 0, 0.5);
   --font-mono: "Courier New", monospace;
   --shadow-strong: 0 0 15px rgba(0, 0, 0, 0.7);
  --shadow-inset-subtle: inset 0 0 5px rgba(0, 0, 0, 0.3);
  --shadow-inset-medium: inset 0 0 8px rgba(0, 0, 0, 0.5);
   --shadow-gold: 0 0 8px rgba(200, 161, 101, 0.3);
  --shadow-gold-intense: 0 0 12px rgba(227, 187, 122, 0.5);
  --shadow-error: 0 0 8px rgba(255, 107, 107, 0.5);
  --shadow-success: 0 0 8px rgba(76, 175, 80, 0.5);
    
    
  /* Typography */
  --font-stack: "Orbitron", "Segoe UI", sans-serif;
  --font-stack-secondary: "Montserrat", "Arial", sans-serif;
  --font-stack-mono: "Courier New", monospace;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
   --font-size-xs: 0.75rem;
   --font-size-xs: 0.75rem;
   --font-size-sm: 0.85rem;
   --font-size-sm: 0.85rem;
   --font-size-base: 1rem;
   --font-size-md: 1rem;
   --font-size-lg: 1.2rem;
   --font-size-lg: 1.2rem;
   --font-size-xl: 1.4rem;
   --font-size-xl: 1.4rem;
   --font-size-xxl: 1.6rem;
   --font-size-xxl: 1.6rem;
   --font-size-xxxl: 2rem;
   --font-size-xxxl: 2rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.35;
  --line-height-relaxed: 1.5;
  --line-height-loose: 1.7;
  --letter-spacing-tight: -0.05em;
  --letter-spacing-normal: 0em;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;
  --letter-spacing-widest: 0.15em;
    
    
   --font-weight-normal: 400;
  /* Z-index layers */
   --font-weight-medium: 500;
  --z-index-background: -1;
   --font-weight-semibold: 600;
  --z-index-default: 1;
   --font-weight-bold: 700;
  --z-index-tooltip: 100;
   --z-index-dropdown: 200;
  --z-index-modal: 300;
  --z-index-overlay: 400;
 
  /* Animation & Transitions */
   --transition-fast: all 0.1s ease;
  --transition-standard: all 0.2s ease;
   --transition-slow: all 0.3s ease;
  --animation-speed-fast: 0.3s;
  --animation-speed-normal: 0.5s;
   --animation-speed-slow: 0.8s;
    
    
   --line-height-tight: 1.2;
  /* Component dimensions */
   --line-height-base: 1.35;
   --button-height-sm: 24px;  
   --line-height-relaxed: 1.5;
   --button-height-md: 32px;
   --button-height-lg: 40px;
  --input-height-sm: 24px;
  --input-height-md: 32px;
  --input-height-lg: 40px;
  --nav-height: 40px;
  --card-padding: var(--spacing-lg);
  --panel-padding: var(--spacing-md);
    
    
   /* ===== Layout ===== */
   /* Diagonal cuts - for clip-path */
   --container-xs: 30rem;
   --diagonal-cut-small: 5px;
   --container-sm: 48rem;
   --diagonal-cut-medium: 10px;
  --container-md: 64rem;
   --diagonal-cut-large: 15px;
   --container-lg: 80rem;
  --container-xl: 90rem;
    
    
   /* ===== Borders & Radius ===== */
   /* Polygon style - for clip-path */
   --border-width: 1px;
   --clip-path-hexagonal-header: polygon(
  --border-width-thick: 2px;
    20px 0,
  --radius-sm: 0.125rem;
    calc(100% - 20px) 0,
  --radius-base: 0.25rem;
    100% 20px,
  --radius-md: 0.375rem;
    calc(100% - 20px) 40px,
  --radius-lg: 0.5rem;
    20px 40px,
  --radius-xl: 0.75rem;
    0 20px
   --radius-round: 50%;
   );
    
    
   /* ===== Shadows ===== */
   /* Gradients */
   --shadow-sm: 0 0 0.5rem rgba(0, 0, 0, 0.3);
   --gradient-gold: linear-gradient(to bottom, var(--dune-gold), var(--dune-gold-dark));
   --shadow-base: 0 0 1rem rgba(0, 0, 0, 0.5);
   --gradient-gold-hover: linear-gradient(to bottom, var(--dune-gold-hover), var(--dune-gold));
   --shadow-lg: 0 0 1.5rem rgba(0, 0, 0, 0.7);
   --gradient-dark: linear-gradient(135deg, #111010, #1a1917);
   --shadow-gold: 0 0 0.5rem rgba(200, 161, 101, 0.3);
   --gradient-gold-horizontal: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
  --shadow-gold-intense: 0 0 1rem rgba(227, 187, 122, 0.5);
    
    
   /* ===== Transitions ===== */
   /* Aspect ratios */
   --transition-fast: 0.15s ease;
   --aspect-ratio-square: 1 / 1;
   --transition-base: 0.2s ease;
   --aspect-ratio-landscape: 16 / 9;
   --transition-slow: 0.3s ease;
   --aspect-ratio-portrait: 9 / 16;
  --aspect-ratio-ultrawide: 21 / 9;
    
    
   /* ===== Z-Index Scale ===== */
   /* Images & Icons */
   --z-base: 1;
   --icon-size-xs: 12px;
  --z-dropdown: 100;
   --icon-size-sm: 16px;
   --z-sticky: 200;
   --icon-size-md: 24px;
  --z-fixed: 300;
   --icon-size-lg: 32px;
   --z-modal-backdrop: 400;
   --icon-size-xl: 48px;
   --z-modal: 500;
   --z-popover: 600;
  --z-tooltip: 700;
}
}


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 2. RESET & BASE STYLES
# 2. GLOBAL RESET & BODY
--------------------------------------------------------------*/
--------------------------------------------------------------*/
*,
html, body {
*::before,
*::after {
  box-sizing: border-box;
}
 
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
 
body {
   margin: 0;
   margin: 0;
   font-family: var(--font-primary);
   padding: 0;
   font-size: var(--font-size-base);
   height: 100%;
  font-weight: var(--font-weight-normal);
   min-height: 100%;
   line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--dune-darkest);
}
}


body.skin-pivot {
body.skin-pivot {
   background-image: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg');
   background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed;
  background-repeat: no-repeat;
   background-size: cover;
   background-position: center center;
   background-attachment: fixed;
   background-attachment: fixed;
   background-size: cover;
   color: var(--text-primary);
}
   font-family: var(--font-stack);
 
   line-height: 1.35;
/* Reset headings */
   font-size: 15px;
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--space-md);
   font-weight: var(--font-weight-bold);
   line-height: var(--line-height-tight);
  color: var(--color-primary);
  text-transform: uppercase;
   letter-spacing: 0.05em;
}
 
h1 { font-size: var(--font-size-xxxl); }
h2 { font-size: var(--font-size-xxl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }
 
/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}
 
a:hover {
  color: var(--color-primary-hover);
  text-shadow: 0 0 5px var(--shadow-gold);
}
 
/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
}


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 3. LAYOUT & CONTAINERS
# 3. MAIN CONTAINERS & TRANSPARENCY
--------------------------------------------------------------*/
--------------------------------------------------------------*/
/* Transparent main containers */
.skin-pivot #content,
.skin-pivot #content,
.skin-pivot .mw-body {
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
   background: transparent;
   background: transparent;
   padding: var(--space-lg);
   padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
   margin: 0;
   margin: 0;
}
}


/* Remove backgrounds from wrapper elements */
/* Force major wrappers to be transparent */
.skin-pivot .off-canvas-wrap,
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .row,
.skin-pivot .columns {
.skin-pivot .columns,
   background: transparent;
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.skin-pivot .exit-off-canvas {
   background: transparent !important;
  border: none !important;
  overflow: visible !important;
}
}


/* Container utilities */
/* Footer, catlinks, printfooter: also transparent */
.container {
.skin-pivot footer,
  width: 100%;
.skin-pivot .footer,
  margin-right: auto;
.skin-pivot #footer,
   margin-left: auto;
.skin-pivot .mw-footer,
   padding-right: var(--space-lg);
.skin-pivot #mw-footer-container,
   padding-left: var(--space-lg);
.skin-pivot #mw-footer,
.skin-pivot #catlinks,
.skin-pivot .catlinks,
.skin-pivot .printfooter,
.skin-pivot #mw-data-after-content {
   background: transparent !important;
   border: none !important;
   color: var(--dune-gold) !important;
}
}


@media (min-width: 576px) {
/* Fix for MediaWiki scrollbars */
  .container { max-width: var(--container-sm); }
.mw-body-content,
.skin-pivot .mw-body,
.skin-pivot #content,
.skin-pivot #mw-content-text {
  overflow: visible !important;
}
}


@media (min-width: 768px) {
/*--------------------------------------------------------------
   .container { max-width: var(--container-md); }
# 4. NAVIGATION & HEADINGS - GAME-STYLED
--------------------------------------------------------------*/
.dune-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 50px);
  gap: 10px 10px; /* vertical and horizontal spacing */
  justify-content: center;
   padding: 10px;
}
.dune-icon-grid .dune-icon {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background: var(--dune-darker);
  border: 2px solid var(--dune-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* or swap for <img> icons */
  box-shadow: 0 0 10px rgba(200,161,101,0.13);
  transition: box-shadow 0.18s, border-color 0.15s;
  cursor: pointer;
}
}


@media (min-width: 992px) {
.dune-icon-grid .dune-icon:hover {
   .container { max-width: var(--container-lg); }
  border-color: var(--dune-gold-hover);
   box-shadow: 0 0 20px var(--dune-gold-glow);
}
}


@media (min-width: 1200px) {
  .container { max-width: var(--container-xl); }
}


/*--------------------------------------------------------------
/* Game-like top navigation */
# 4. NAVIGATION
.skin-pivot .navbar {
--------------------------------------------------------------*/
   background: var(--dune-darker) !important;
/* Top Navigation Bar */
   border: none !important;
.skin-pivot .navbar,
  height: var(--nav-height);
.skin-pivot nav.tab-bar {
   position: relative;
   background-color: var(--bg-transparent-darker);
   border-bottom: var(--border-width) solid var(--border-color);
   height: 2.5rem;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: center;
   padding: 0 var(--space-lg);
  border-bottom: var(--border-thin) solid var(--dune-gold) !important;
}
 
.skin-pivot .navbar:before,
.skin-pivot .navbar:after {
   content: '';
  position: absolute;
  height: var(--border-thin);
  background-color: var(--dune-gold);
  bottom: -1px;
  width: 20px;
}
 
.skin-pivot .navbar:before {
  left: 20px;
  transform: skewX(var(--border-angle));
}
 
.skin-pivot .navbar:after {
  right: 20px;
  transform: skewX(calc(-1 * var(--border-angle)));
}
}


.skin-pivot .navbar-nav {
.skin-pivot .navbar-nav {
   display: flex;
   display: flex;
   list-style: none;
   justify-content: center;
   margin: 0;
   width: 100%;
   padding: 0;
}
 
.skin-pivot .navbar-nav > li {
   position: relative;
  display: inline-block;
}
}


.skin-pivot .navbar-nav > li > a {
.skin-pivot .navbar-nav > li > a {
  display: block;
   color: var(--dune-gold) !important;
  padding: var(--space-sm) var(--space-lg);
   font-weight: bold !important;
   color: var(--color-primary);
   font-weight: var(--font-weight-semibold);
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   letter-spacing: 1px;
   transition: all var(--transition-base);
  padding: 10px 15px;
   margin: 0 5px;
   position: relative;
   position: relative;
  text-align: center;
}
}


.skin-pivot .navbar-nav > li > a:hover,
.skin-pivot .navbar-nav > li.active > a {
.skin-pivot .navbar-nav > li.active > a {
   color: var(--color-primary-hover);
   color: var(--dune-gold-hover) !important;
  box-shadow: 0 -2px 0 var(--dune-gold-hover) inset;
}
 
.skin-pivot .navbar-nav > li > a:hover {
  color: var(--dune-gold-hover) !important;
  text-shadow: 0 0 5px var(--dune-gold-glow);
}
}


.skin-pivot .navbar-nav > li > a::after {
.skin-pivot .navbar-nav > li.active > a:after,
.skin-pivot .navbar-nav > li > a:hover:after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   bottom: 0;
   bottom: 0;
   left: 0;
   left: 0;
   width: 0;
   width: 100%;
   height: 2px;
   height: 2px;
   background-color: var(--color-primary);
   background-color: var(--dune-gold);
  transition: width var(--transition-base);
}
}


.skin-pivot .navbar-nav > li > a:hover::after,
/* Sidebar & Panels - game style */
.skin-pivot .navbar-nav > li.active > a::after {
.skin-pivot #nav,
   width: 100%;
.skin-pivot #nav-wrapper,
.skin-pivot .nav-content {
  background: var(--dune-dark-transparent);
  border: var(--border-thin) solid var(--dune-gold);
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  position: relative;
}
 
.skin-pivot #nav:before,
.skin-pivot #nav:after,
.skin-pivot #nav-wrapper:before,
.skin-pivot #nav-wrapper:after {
  content: '';
  position: absolute;
   width: 10px;
  height: 10px;
  border: var(--border-thin) solid var(--dune-gold);
}
}


/* Sidebar Navigation */
.skin-pivot #nav:before,
.skin-pivot #nav,
.skin-pivot #nav-wrapper:before {
.skin-pivot #nav-wrapper {
   top: -1px;
   background-color: var(--bg-panel);
   left: -1px;
   border: var(--border-width) solid var(--border-color);
   border-right: none;
   border-radius: var(--radius-base);
   border-bottom: none;
   padding: 0;
  margin-bottom: var(--space-xl);
}
}


.skin-pivot #nav h3,
.skin-pivot #nav:after,
.skin-pivot .panel-heading {
.skin-pivot #nav-wrapper:after {
   background-color: var(--bg-transparent-dark);
   bottom: -1px;
  border-bottom: var(--border-width) solid var(--border-color);
   right: -1px;
  padding: var(--space-sm) var(--space-md);
   border-left: none;
   margin: 0;
   border-top: none;
  font-size: var(--font-size-sm);
   text-transform: uppercase;
   letter-spacing: 0.1em;
}
}


/* List items with game styling */
.skin-pivot .list-group-item {
.skin-pivot .list-group-item {
   background: transparent;
   background: transparent;
   border: none;
   border: none;
   border-bottom: var(--border-width) solid var(--border-color-very-subtle);
   border-bottom: var(--border-thin) solid var(--gold-border-subtle);
   padding: var(--space-sm) var(--space-md);
   color: var(--text-primary);
   transition: background-color var(--transition-base);
  padding: 8px 10px;
   transition: var(--transition-standard);
}
}


Line 324: Line 428:


.skin-pivot .list-group-item:hover {
.skin-pivot .list-group-item:hover {
   background-color: var(--bg-transparent-dark);
   background-color: rgba(200, 161, 101, 0.1);
}
}


/* Search Box */
/* Panel Headings - game accurate */
.skin-pivot input[type="search"] {
.skin-pivot #nav h3,
   background-color: var(--bg-transparent-darker);
.skin-pivot #nav-wrapper h3,
.skin-pivot .panel-heading {
   background-color: rgba(200, 161, 101, 0.15);
  border-bottom: var(--border-thin) solid var(--dune-gold);
   color: var(--text-primary);
   color: var(--text-primary);
   border: var(--border-width) solid var(--border-color);
   margin: 0;
   border-radius: var(--radius-base);
  padding: 8px 12px;
  padding: var(--space-sm) var(--space-md);
  font-weight: bold;
   width: 100%;
  text-transform: uppercase;
   transition: all var(--transition-base);
  letter-spacing: 1px;
  font-size: var(--font-size-sm);
   position: relative;
  display: flex;
  align-items: center;
}
 
.skin-pivot #nav h3:before,
.skin-pivot #nav h3:after,
.skin-pivot #nav-wrapper h3:before,
.skin-pivot #nav-wrapper h3:after,
.skin-pivot .panel-heading:before,
.skin-pivot .panel-heading:after {
  content: '';
  display: inline-block;
   width: 6px;
   height: 6px;
  background-color: var(--dune-gold);
  margin: 0 8px;
}
}


.skin-pivot input[type="search"]:focus {
/* Main content headings */
   outline: none;
.skin-pivot h1,
   border-color: var(--color-primary-hover);
.skin-pivot h2,
   box-shadow: 0 0 0 3px var(--shadow-gold);
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
   font-family: 'Orbitron', 'Segoe UI', sans-serif !important;
   color: var(--dune-gold);
  font-weight: bold;
  margin-top: 1em;
   margin-bottom: 0.5em;
  border-bottom: none;
  text-transform: uppercase;
  padding-bottom: 5px;
  letter-spacing: 0.5px;
}
}


/*--------------------------------------------------------------
.skin-pivot h1,
# 5. CARDS
.skin-pivot h3 {
--------------------------------------------------------------*/
   border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
.dune-card {
   background-color: var(--bg-panel);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-base);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
   position: relative;
   position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}
}


.dune-card::before {
.skin-pivot h1:after,
.skin-pivot h3:after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   top: 0;
   bottom: -1px;
   left: 0;
   left: 0;
   width: 10px;
   width: 30px;
   height: 10px;
   height: 3px;
   border-top: var(--border-width-thick) solid var(--border-color);
   background-color: var(--dune-gold);
   border-left: var(--border-width-thick) solid var(--border-color);
}
 
/* Main headings and first heading - game style */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
  /* Changed from var(--dune-title) to var(--dune-gold) */
  color: var(--dune-gold);
  font-size: var(--font-size-xxl);
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
   border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
}


.dune-card::after {
.skin-pivot h1.firstHeading:after,
.skin-pivot .page-header h1:after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   bottom: 0;
   bottom: -1px;
   right: 0;
   left: 0;
   width: 10px;
   width: 50px;
   height: 10px;
   height: 3px;
   border-bottom: var(--border-width-thick) solid var(--border-color);
   background: linear-gradient(to right, var(--dune-gold), rgba(200, 161, 101, 0));
  border-right: var(--border-width-thick) solid var(--border-color);
}
}


.dune-card:hover {
/* Links site-wide - game style */
   box-shadow: var(--shadow-gold-intense);
.skin-pivot a {
  color: var(--dune-gold);
  text-decoration: none;
   font-weight: bold;
  transition: var(--transition-standard);
  position: relative;
}
}


.dune-card-title {
.skin-pivot a:hover {
   margin: 0 0 var(--space-md);
   color: var(--dune-gold-hover);
   padding-bottom: var(--space-sm);
   text-decoration: none;
   border-bottom: var(--border-width) solid var(--border-color);
   text-shadow: 0 0 5px rgba(200, 161, 101, 0.4);
  color: var(--color-primary);
}
}


.dune-card-description {
.skin-pivot a.new,
   background-color: var(--bg-panel-light);
.skin-pivot a.new:visited {
   border-radius: var(--radius-sm);
   color: var(--text-error) !important;
  padding: var(--space-md);
   text-decoration: none;
  margin-bottom: var(--space-md);
}
}


/*--------------------------------------------------------------
.skin-pivot a.new:hover {
# 6. TABLES
   color: #DD0000 !important;
--------------------------------------------------------------*/
.infobox-dune-standard-table,
.infobox-dune-two-column {
   width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--bg-panel-light);
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: var(--shadow-base);
}
}


.infobox-dune-standard-table th,
/* Journey link text - special styling with diagonal edges */
.infobox-dune-standard-table td,
.skin-pivot a[href*="Journey"] {
.infobox-dune-two-column th,
  color: var(--dune-gold-hover) !important;
.infobox-dune-two-column td {
  text-decoration: none !important;
   padding: var(--space-md);
  font-weight: bold !important;
   text-align: left;
   transition: var(--transition-standard) !important;
   border-bottom: var(--border-width) solid var(--border-color-subtle);
   display: inline-block !important;
  padding: 2px 8px !important;
   border: var(--border-thin) solid var(--dune-gold) !important;
  background-color: rgba(12, 10, 20, 0.6) !important;
  /* Add subtle diagonal corners */
  clip-path: polygon(
    0 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% 100%,
    5px 100%,
    0 calc(100% - 5px)
  ) !important;
}
}


.infobox-dune-standard-table thead th,
.skin-pivot a[href*="Journey"]:hover {
.infobox-dune-two-column thead th {
   background-color: rgba(200, 161, 101, 0.1) !important;
   background-color: var(--bg-panel-dark);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
}


.infobox-dune-standard-table tbody tr:hover,
/*--------------------------------------------------------------
.infobox-dune-two-column tbody tr:hover {
# 5. PIVOT NAV OVERRIDES - GAME STYLE
   background-color: var(--bg-transparent-dark);
--------------------------------------------------------------*/
.skin-pivot nav.tab-bar.hide-for-print {
  background: var(--dune-darker);
  border-bottom: var(--border-thin) solid var(--dune-gold);
   /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
}


.infobox-dune-standard-table tbody tr:last-child td,
.skin-pivot nav.tab-bar.hide-for-print a {
.infobox-dune-two-column tbody tr:last-child td,
  color: var(--dune-gold);
.infobox-dune-two-column tbody tr:last-child th {
  font-weight: bold;
   border-bottom: none;
  text-transform: uppercase;
   letter-spacing: 0.5px;
}
}


/*--------------------------------------------------------------
.skin-pivot nav.tab-bar.hide-for-print a:hover {
# 7. BUTTONS
   color: var(--dune-gold-hover);
--------------------------------------------------------------*/
   text-decoration: none;
.btn,
.game-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
   font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-align: center;
   text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  background-color: var(--color-primary);
  border: var(--border-width) solid var(--color-primary);
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: all var(--transition-base);
}
}


.btn:hover,
.skin-pivot nav.tab-bar.hide-for-print .title {
.game-button:hover {
   display: flex;
  color: var(--text-dark);
   align-items: center;
   background-color: var(--color-primary-hover);
   height: 100%;
   border-color: var(--color-primary-hover);
   box-shadow: var(--shadow-gold);
}
}


.btn:active,
.skin-pivot nav.tab-bar.hide-for-print .title a {
.game-button:active {
  /* Changed from var(--dune-title) to var(--dune-gold) */
   transform: translateY(1px);
  color: var(--dune-gold);
  font-size: var(--font-size-lg);
   text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: var(--border-thin) solid rgba(200, 161, 101, 0.3);
}
}


/* Button Variants */
.skin-pivot #left-nav-aside,
.btn-secondary {
.skin-pivot #middle-nav,
  color: var(--text-primary);
.skin-pivot #right-nav-aside {
   background-color: transparent;
   background-color: transparent;
   border-color: var(--border-color);
   /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
}
}


.btn-secondary:hover {
.skin-pivot li.name.logo img {
   color: var(--text-dark);
  max-width: 100%;
   background-color: var(--color-primary);
  height: auto;
   border-color: var(--color-primary);
   display: inline-block;
   vertical-align: middle;
   margin-right: 10px;
}
}


/*--------------------------------------------------------------
/* Game-style search box */
# 8. FORMS
.skin-pivot li.has-form {
--------------------------------------------------------------*/
  padding: 0 10px;
.form-control {
}
   display: block;
 
.skin-pivot li.has-form input[type="search"] {
  background: rgba(12, 10, 20, 0.6);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  border: var(--border-thin) solid var(--dune-gold);
   padding: 5px 10px;
   width: 100%;
   width: 100%;
   padding: var(--space-sm) var(--space-md);
   height: 30px;
  font-size: var(--font-size-base);
   border-radius: var(--border-radius-sm);
  line-height: var(--line-height-base);
   outline: none;
   color: var(--text-primary);
   transition: var(--transition-standard);
  background-color: var(--bg-transparent-darker);
  background-clip: padding-box;
  border: var(--border-width) solid var(--border-color);
   border-radius: var(--radius-base);
   transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
}


.form-control:focus {
.skin-pivot li.has-form input[type="search"]:focus {
  color: var(--text-primary);
   background: rgba(12, 10, 20, 0.8);
   background-color: var(--bg-transparent-darker);
   border-color: var(--dune-gold-hover);
   border-color: var(--color-primary-hover);
   box-shadow: 0 0 5px rgba(200, 161, 101, 0.3);
  outline: 0;
   box-shadow: 0 0 0 3px var(--shadow-gold);
}
}


.form-control::placeholder {
.skin-pivot li.has-form input[type="search"]::placeholder {
   color: var(--text-muted);
   color: rgba(201, 183, 149, 0.6);
  opacity: 1;
}
}


/*--------------------------------------------------------------
.skin-pivot label.sidebar {
# 9. UTILITIES
  background-color: transparent;
--------------------------------------------------------------*/
  color: var(--dune-gold);
/* Display */
  font-weight: bold;
.d-none { display: none; }
  text-transform: uppercase;
.d-block { display: block; }
  padding: 8px 12px;
.d-inline-block { display: inline-block; }
  margin: 0;
.d-flex { display: flex; }
  display: block;
.d-inline-flex { display: inline-flex; }
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3);
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
}


/* Flexbox */
.skin-pivot li.mw-list-item {
.flex-row { flex-direction: row; }
  position: relative;
.flex-column { flex-direction: column; }
}
.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }
.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }


/* Spacing */
.skin-pivot li.mw-list-item:before {
.m-0 { margin: 0; }
  content: '•';
.m-1 { margin: var(--space-xs); }
  color: var(--dune-gold);
.m-2 { margin: var(--space-sm); }
  position: absolute;
.m-3 { margin: var(--space-md); }
  left: 5px;
.m-4 { margin: var(--space-lg); }
  top: 7px;
.m-5 { margin: var(--space-xl); }
  font-size: 12px;
}


.mt-0 { margin-top: 0; }
.skin-pivot li.mw-list-item a {
.mt-1 { margin-top: var(--space-xs); }
  /* Updated text color to use --dune-gold */
.mt-2 { margin-top: var(--space-sm); }
  color: var(--dune-gold);
.mt-3 { margin-top: var(--space-md); }
  text-decoration: none;
.mt-4 { margin-top: var(--space-lg); }
  display: block;
.mt-5 { margin-top: var(--space-xl); }
  padding: 6px 10px 6px 15px;
  font-size: var(--font-size-sm);
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.1);
  transition: var(--transition-standard);
}


.mb-0 { margin-bottom: 0; }
.skin-pivot li.mw-list-item:last-child a {
.mb-1 { margin-bottom: var(--space-xs); }
  border-bottom: none;
.mb-2 { margin-bottom: var(--space-sm); }
}
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }


.p-0 { padding: 0; }
.skin-pivot li.mw-list-item a:hover {
.p-1 { padding: var(--space-xs); }
  color: var(--dune-gold);
.p-2 { padding: var(--space-sm); }
  background-color: rgba(200, 161, 101, 0.1);
.p-3 { padding: var(--space-md); }
  text-decoration: none;
.p-4 { padding: var(--space-lg); }
}
.p-5 { padding: var(--space-xl); }


/* Text */
/*--------------------------------------------------------------
.text-left { text-align: left; }
# 6. SIDEBAR/HIDING TOOLS
.text-center { text-align: center; }
--------------------------------------------------------------*/
.text-right { text-align: right; }
html body.skin-pivot #p-tb,
.text-uppercase { text-transform: uppercase; }
html body.skin-pivot #p-tb + ul,
.text-lowercase { text-transform: lowercase; }
html body.skin-pivot #p-tb + li,
.text-capitalize { text-transform: capitalize; }
li[id^="t-"] {
 
  display: none !important;
/* Colors */
}
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }
.text-muted { color: var(--text-muted); }
 
/* Backgrounds */
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-dark { background-color: var(--bg-panel-dark); }
.bg-light { background-color: var(--bg-panel-light); }


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 10. RESPONSIVE GRID
# 7. RESPONSIVE LAYOUT - WIKI OPTIMIZED WITH EQUAL HEIGHT COLUMNS
--------------------------------------------------------------*/
--------------------------------------------------------------*/
.responsive-container {
.responsive-container {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: var(--space-lg);
   gap: 1em; /* Reduced from 1.5em to save space */
   margin: var(--space-lg) 0;
  align-items: stretch; /* This helps with equal height */
  width: 100%;
   margin: 1em 0;
  box-sizing: border-box;
}
}


.responsive-col {
.responsive-col {
  display: flex;
  flex-direction: column;
   flex: 1 1 100%;
   flex: 1 1 100%;
   min-width: 0;
   min-width: 300px !important;
  max-width: 100%;
}
}


/* 2 columns at medium screens (>=600px) - reduced from 700px */
@media (min-width: 600px) {
@media (min-width: 600px) {
   .responsive-col {
   .responsive-col {
     flex: 1 1 calc(50% - var(--space-lg));
     flex: 1 1 calc((100% - 1em) / 2);
   }
   }
}
}


/* 3 columns at large screens (>=850px) - reduced from 900px */
@media (min-width: 850px) {
@media (min-width: 850px) {
   .responsive-col {
   .responsive-col {
     flex: 1 1 calc(33.333% - var(--space-lg));
     flex: 1 1 calc((100% - 2 * 1em) / 3);
  }
}
 
/* Make all cards within columns fill available height */
.responsive-col .skin-pivot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the column height */
}
 
/* Ensure dune-card fills the entire space */
.skin-pivot .dune-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the available height */
}
 
/* Ensure card inner content stretches */
.skin-pivot .dune-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the available height */
  overflow: hidden; /* Prevent content overflow */
}
 
/* Fix for table rows displaying correctly */
table.infobox-dune-standard-table tr:last-child td,
table.infobox-dune-two-column tr:last-child td {
  border-bottom: none !important;
}
 
/* Ensure table cells don't expand beyond their container */
table.infobox-dune-standard-table,
table.infobox-dune-two-column {
  table-layout: fixed;
  width: 100%;
}
 
/* Fix for partial rows after tables */
.dune-table-wrapper {
  overflow: hidden;
  border-bottom: none; /* Ensure no extra border shows up */
}
 
/* Clear fix to prevent floating issues */
.dune-table-wrapper:after {
  content: "";
  display: table;
  clear: both;
}
 
/* Add clearfix to card inner elements */
.dune-card-inner:after {
  content: "";
  display: table;
  clear: both;
}
 
/* Fix for IE11 and older browsers */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .responsive-container {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
  }
 
  .responsive-col {
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex: 1 1 100%;
  }
 
  .responsive-col .skin-pivot,
  .skin-pivot .dune-card,
  .skin-pivot .dune-card-inner {
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex: 1 1 auto;
    height: 100%;
   }
   }
}
}


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 11. ANIMATIONS
# 8. TABLES - DUNE THEME FINAL (Light Theme with Borders)
--------------------------------------------------------------*/
--------------------------------------------------------------*/
@keyframes fadeIn {
 
   from { opacity: 0; }
/* === TWO-COLUMN TABLE === */
   to { opacity: 1; }
table.infobox-dune-two-column {
   width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--dune-panel-bg-light);
  border-radius: var(--border-radius-sm);
  border: none !important; /* Remove table border since wrapper has it */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}
 
table.infobox-dune-two-column th {
  background-color: var(--dune-panel-bg-light);
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-bottom: 1px solid var(--gold-border-subtle);
}
table.infobox-dune-two-column td {
  text-align: right !important;
  background-color: var(--dune-panel-bg-light);
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-bottom: 1px solid var(--gold-border-subtle);
}
 
table.infobox-dune-two-column thead th {
  color: var(--dune-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}
 
/* === STANDARD TABLE === */
table.infobox-dune-standard-table {
   width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--dune-panel-bg-light);
  border-radius: var(--border-radius-sm);
  border: none !important; /* Remove table border since wrapper has it */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin-bottom: 0 !important;
}
 
table.infobox-dune-standard-table thead th {
  background-color: var(--dune-panel-bg-dark); /* Only header row gets dark */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--gold-border-subtle);
  color: var(--dune-gold);
}
 
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td {
  background-color: var(--dune-panel-bg-light); /* All other rows use light */
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 1px;
}
}


@keyframes slideInUp {
table.infobox-dune-standard-table tbody td {
   from {
  font-weight: 300;
     transform: translateY(30px);
}
     opacity: 0;
 
/* === Icon containers === */
table.infobox-dune-standard-table th .icon,
table.infobox-dune-two-column th .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
  width: 1.2em;
  color: var(--dune-gold);
}
 
/* === Hover === */
table.infobox-dune-standard-table tr:hover td,
table.infobox-dune-two-column tr:hover td,
table.infobox-dune-two-column tr:hover th {
  background-color: rgba(200, 161, 101, 0.05);
}
 
/* === Bottom Border Cleanup === */
table.infobox-dune-standard-table tbody tr:not(:last-child) td,
table.infobox-dune-two-column tbody tr:not(:last-child) td,
table.infobox-dune-two-column tbody tr:not(:last-child) th {
  border-bottom: 1px solid var(--gold-border-subtle);
}
 
table.infobox-dune-two-column tbody tr:last-child td,
table.infobox-dune-two-column tbody tr:last-child th,
table.infobox-dune-standard-table tr:last-child td {
  border-bottom: none !important;
}
 
/* === Responsive tweaks === */
@media screen and (max-width: 600px) {
   table.infobox-dune-two-column th,
  table.infobox-dune-two-column td,
  table.infobox-dune-standard-table th,
  table.infobox-dune-standard-table td {
  max-width: 100% !important;
     padding: 0.5rem 0.3rem;
     font-size: 0.85rem;
   }
   }
   to {
 
     transform: translateY(0);
   table.infobox-dune-standard-table thead th:nth-child(1),
     opacity: 1;
  table.infobox-dune-standard-table tbody td:nth-child(1) {
     width: 28%;
  }
 
  table.infobox-dune-standard-table thead th:nth-child(2),
  table.infobox-dune-standard-table tbody td:nth-child(2) {
    width: 52%;
  }
 
  table.infobox-dune-standard-table thead th:nth-child(3),
  table.infobox-dune-standard-table tbody td:nth-child(3) {
     width: 20%;
   }
   }
}
}


@keyframes pulse {
@media screen and (max-width: 400px) {
   0%, 100% { opacity: 1; }
   table.infobox-dune-two-column,
   50% { opacity: 0.6; }
  table.infobox-dune-standard-table {
    font-size: 0.8rem;
  }
 
  table.infobox-dune-two-column th,
  table.infobox-dune-two-column td,
   table.infobox-dune-standard-table th,
  table.infobox-dune-standard-table td {
    padding: 0.4rem 0.2rem;
  }
}
}


.animate-fadeIn {
table.infobox-dune-two-column tr,
   animation: fadeIn var(--transition-slow) ease-out;
table.infobox-dune-standard-table tr {
   background-color: var(--dune-panel-bg-light) !important;
}
}


.animate-slideInUp {
 
   animation: slideInUp var(--transition-slow) ease-out;
 
/* Table wrapper fixes */
.dune-table-wrapper {
   border: var(--border-thin) solid #444;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0 !important; /* Ensure no extra margin */
  background-color: transparent !important; /* Ensure no background color */
}
}


.animate-pulse {
/* Clear fix to prevent floating issues */
   animation: pulse 2s ease-in-out infinite;
.dune-table-wrapper:after {
  content: "";
  display: table;
  clear: both;
}
 
/* Specific fix for the partial row after tables */
.dune-card-infobox-left {
  margin-bottom: 0 !important;
}
 
/* Ensure proper separation between sections */
.dune-card-related {
  clear: both;
  margin-top: 20px !important;
  padding-top: 10px !important;
  border-top: var(--border-thin) solid var(--gold-border-very-subtle);
}
 
/* Add clearfix to card inner elements */
.dune-card-inner:after {
  content: "";
  display: table;
  clear: both;
}
 
/* Fix for tr-dark class to ensure it works for the dark header row */
tr.tr-dark th,
tr.tr-dark td,
.tr-dark {
  background-color: var(--dune-panel-bg-dark) !important;
}
 
/* Override any other styling that might be interfering */
table.infobox-dune-standard-table tr.tr-dark th {
   background-color: var(--dune-panel-bg-dark) !important;
  color: var(--dune-gold);
}
 
/* Ensure the dark header appears in all views */
@media screen and (max-width: 600px) {
  tr.tr-dark th,
  tr.tr-dark td,
  table.infobox-dune-standard-table tr.tr-dark th {
    background-color: var(--dune-panel-bg-dark) !important;
  }
}
}


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 12. RADIAL MENU (from second file)
# 9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
--------------------------------------------------------------*/
.dune-radial-menu {
.skin-pivot .dune-card {
   position: fixed;
   position: relative;
   top: 50%;
   background-color: rgba(0, 0, 2, 0.7) !important;
   left: 50%;
   color: var(--text-primary);
   width: 500px;
   width: auto !important;
   height: 500px;
   max-width: 100% !important;
   transform: translate(-50%, -50%) scale(0);
   padding: var(--spacing-lg) !important;
   z-index: var(--z-modal);
  margin: 0 0 var(--spacing-xl) 0 !important;
   opacity: 0;
   border: var(--border-thin) solid var(--dune-gold) !important;
   visibility: hidden;
   box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
   pointer-events: none;
   transition: box-shadow 0.3s ease;
   transition: transform 0.4s ease, opacity 0.3s ease;
   overflow: visible !important;
   clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}
}


.dune-radial-menu.active {
.skin-pivot .dune-card:hover {
   transform: translate(-50%, -50%) scale(1);
   box-shadow: 0 0 12px rgba(200, 161, 101, 0.5) !important;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
}


.dune-radial-overlay {
.skin-pivot .dune-card-decoration {
   position: fixed;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   width: 100vw;
   width: 100%;
   height: 100vh;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.4);
   pointer-events: none;
   backdrop-filter: blur(3px);
  border: 2px solid var(--dune-gold);
   opacity: 0;
   border-radius: 6px;
   visibility: hidden;
  transform: translate(4px, 4px);
   z-index: var(--z-modal-backdrop);
   display: none;
   transition: opacity var(--transition-base);
}
 
.skin-pivot .dune-card-inner {
   position: relative;
   z-index: 1;
}
 
.skin-pivot .dune-card-label {
  /* Leaving the specific label color as-is */
  color: #b6a896;
  font-size: var(--font-size-xs);
   text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: var(--border-thin) solid #444;
  padding-bottom: 4px;
  letter-spacing: 0.8px;
}
}


.dune-radial-overlay.active {
.skin-pivot .dune-card-title {
   opacity: 1;
   margin: 0;
   visibility: visible;
  font-size: var(--font-size-xl);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  text-transform: uppercase;
  border-bottom: var(--border-thin) solid var(--dune-gold);
  padding-bottom: 4px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
   position: relative;
}
}


.dune-radial-item {
.skin-pivot .dune-card-title::after {
  content: '';
   position: absolute;
   position: absolute;
  bottom: -1px;
  right: 0;
  width: 12px;
  height: 1px;
  background-color: transparent;
  border-bottom: 1px solid var(--dune-gold);
  transform: rotate(-45deg);
  transform-origin: bottom right;
}
.skin-pivot .dune-card-title .icon {
  margin-right: 8px;
  color: var(--dune-gold);
}
.skin-pivot .dune-card-description {
  font-size: 1.1em !important;
  line-height: 1.5 !important;
  background-color: var(--dune-panel-bg-light) !important;
  border-radius: var(--border-radius-sm);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  display: block !important;
  color: var(--text-primary) !important;
}
.skin-pivot .dune-card-image {
  text-align: center;
  margin: var(--spacing-sm) 0;
}
.skin-pivot .dune-card-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.has-border {
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  background-color: #262626;
  display: inline-block;
  padding: 4px;
  max-width: 200px;
  margin: 0 auto;
}
.card-image-border {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  padding: 4px;
  background-color: #262626;
}
.card-image-border {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  padding: 4px;
  background-color: #262626;
}
.skin-pivot .dune-card-video {
  margin: var(--spacing-sm) 0;
  border: var(--border-medium) solid var(--dune-gold);
  border-radius: var(--border-radius-md);
  padding: 2px;
  background-color: #262626;
}
/*--------------------------------------------------------------
# 10. LOCKED BEHIND COMPONENT - KEPT FROM NEW VERSION
--------------------------------------------------------------*/
.skin-pivot .dune-card-locked {
  margin: var(--spacing-lg) 0 !important;
  background-color: var(--dune-panel-bg-light) !important;
  border-radius: var(--border-radius-sm);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-md) !important;
  position: relative !important;
  text-align: center !important;
}
.skin-pivot .dune-card-locked-label {
  color: var(--dune-gold) !important;
  font-weight: bold !important;
  font-size: var(--font-size-sm) !important;
  letter-spacing: 0.8px !important;
  margin-bottom: var(--spacing-sm) !important;
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3) !important;
  padding-bottom: var(--spacing-xs) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
}
.skin-pivot .dune-card-locked-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: var(--spacing-xs) !important;
  color: var(--dune-gold) !important;
  font-size: 16px !important;
}
.skin-pivot .dune-card-locked-value {
  color: var(--dune-gold) !important;
  font-weight: normal !important;
  font-size: var(--font-size-md) !important;
  border: var(--border-thin) solid rgba(22, 22, 24, 0.4) !important;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  background-color: rgba(22, 22, 24, 0.4) !important;
  border-radius: var(--border-radius-sm) !important;
  display: inline-block !important;
}
.skin-pivot .dune-card-locked-value a {
  color: var(--dune-gold) !important;
}
.skin-pivot .locked-behind-header {
  background-color: rgba(200, 161, 101, 0.15) !important;
  border-bottom: var(--border-thin) solid var(--dune-gold) !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  margin: -12px -12px 12px -12px !important;
  position: relative !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  color: var(--dune-gold) !important;
  letter-spacing: 0.8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.skin-pivot .locked-behind-header .icon {
  margin-right: var(--spacing-xs) !important;
}
/*--------------------------------------------------------------
# 11. GAME PANEL COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .game-panel {
  background: rgba(0, 0, 2, 0.7);
  border: var(--border-thin) solid var(--dune-gold);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: var(--spacing-xl) !important;
  position: relative;
  padding: var(--spacing-md) !important;
  overflow: visible !important;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}
.skin-pivot .game-panel-header {
  background-color: rgba(200, 161, 101, 0.15);
  border-bottom: 1px solid var(--dune-gold);
  padding: 6px 10px;
  margin: -12px -12px 12px -12px !important;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  letter-spacing: 0.5px;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: center;
}
   width: 80px;
 
   height: 80px;
.skin-pivot .game-panel-header::after {
   background-color: var(--bg-panel);
   content: '';
   border: var(--border-width-thick) solid var(--border-color);
  position: absolute;
   border-radius: var(--radius-lg);
  bottom: -1px;
  right: 0;
   width: 12px;
   height: 1px;
   background-color: transparent;
  border-bottom: 1px solid var(--dune-gold);
  transform: rotate(-45deg);
  transform-origin: bottom right;
}
 
.skin-pivot .game-panel-header::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--dune-gold);
   border-left: 2px solid var(--dune-gold);
  transform: rotate(-45deg);
  margin: 0 12px;
}
 
.skin-pivot .game-panel-content {
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.9em;
  overflow: visible !important;
}
 
/*--------------------------------------------------------------
# 12. UI ELEMENTS - GAME ACCURATE
--------------------------------------------------------------*/
/* Resource Item - game style */
.skin-pivot .resource {
  display: inline-flex !important;
  align-items: center !important;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  background-color: rgba(12, 10, 20, 0.6);
  border: var(--border-thin) solid var(--gold-border-subtle);
   border-radius: var(--border-radius-sm);
  margin: 0 5px 5px 0 !important;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  position: relative;
}
 
.skin-pivot .resource:before,
.skin-pivot .resource:after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--dune-gold);
}
 
.skin-pivot .resource:before {
  top: -2px;
  left: -2px;
}
 
.skin-pivot .resource:after {
  bottom: -2px;
  right: -2px;
}
 
.skin-pivot .resource .resource-icon {
  margin-right: var(--spacing-xs);
  color: var(--dune-gold);
}
 
.skin-pivot .resource .resource-amount {
  font-weight: bold;
  color: var(--dune-gold);
}
 
/* Buttons - game style */
.skin-pivot .game-button {
  background: linear-gradient(to bottom, var(--dune-gold), var(--dune-gold-dark));
  border: var(--border-thin) solid var(--dune-gold);
  /* Button text using a contrasting light tone */
  color: #E2D3AE;
  padding: 8px 12px;
  border-radius: 3px;
   cursor: pointer;
   cursor: pointer;
   transition: all var(--transition-base);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
   transition: all 0.2s ease;
  position: relative;
  text-align: center;
  display: inline-block;
}
 
.skin-pivot .game-button:hover {
  background: linear-gradient(to bottom, var(--dune-gold-hover), var(--dune-gold));
  box-shadow: 0 0 8px rgba(200, 161, 101, 0.5);
}
 
.skin-pivot .game-button:active {
  top: 1px;
}
}


.dune-radial-item:hover {
/* Progress Bar - game style */
   transform: scale(1.1);
.skin-pivot .progress-bar {
   box-shadow: var(--shadow-gold);
  height: 10px;
   background-color: rgba(15, 20, 25, 0.8);
   border: var(--border-thin) solid var(--dune-gold);
  border-radius: 5px;
  overflow: hidden;
  margin: 5px 0;
  position: relative;
}
}


/* Position items in circle */
.skin-pivot .progress-fill {
.dune-radial-item-container {
  height: 100%;
  background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
  width: 0%;
  transition: width 0.3s ease;
}
 
/* Tooltip - game style */
.skin-pivot .tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}
 
.skin-pivot .tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #1F2A37;
  color: var(--text-primary);
  text-align: center;
  border: var(--border-thin) solid var(--dune-gold);
  border-radius: 5px;
  padding: 8px;
   position: absolute;
   position: absolute;
   top: 50%;
   z-index: 1;
  bottom: 125%;
   left: 50%;
   left: 50%;
   transform-origin: center;
   margin-left: -100px;
  transition: all var(--transition-slow);
   opacity: 0;
   opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: 0.85em;
}
}


.dune-radial-item-container.animated {
.skin-pivot .tooltip:hover .tooltip-text {
  visibility: visible;
   opacity: 1;
   opacity: 1;
}
}


/* 10 positions */
/* Badge Indicators */
.dune-radial-item-container.pos-0 { transform: rotate(0deg) translateY(-200px) rotate(0deg); }
.skin-pivot .badge {
.dune-radial-item-container.pos-1 { transform: rotate(36deg) translateY(-200px) rotate(-36deg); }
  display: inline-block;
.dune-radial-item-container.pos-2 { transform: rotate(72deg) translateY(-200px) rotate(-72deg); }
  padding: 3px 6px;
.dune-radial-item-container.pos-3 { transform: rotate(108deg) translateY(-200px) rotate(-108deg); }
  border-radius: 3px;
.dune-radial-item-container.pos-4 { transform: rotate(144deg) translateY(-200px) rotate(-144deg); }
  font-size: 0.75em;
.dune-radial-item-container.pos-5 { transform: rotate(180deg) translateY(-200px) rotate(-180deg); }
  margin-left: 5px;
.dune-radial-item-container.pos-6 { transform: rotate(216deg) translateY(-200px) rotate(-216deg); }
  text-transform: uppercase;
.dune-radial-item-container.pos-7 { transform: rotate(252deg) translateY(-200px) rotate(-252deg); }
}
.dune-radial-item-container.pos-8 { transform: rotate(288deg) translateY(-200px) rotate(-288deg); }
 
.dune-radial-item-container.pos-9 { transform: rotate(324deg) translateY(-200px) rotate(-324deg); }
.skin-pivot .badge-functional {
  background-color: rgba(65, 130, 65, 0.3);
  border: var(--border-thin) solid #5a9d5a;
  color: #a3d9a3;
}
 
.skin-pivot .badge-locked {
  background-color: rgba(130, 65, 65, 0.3);
  border: var(--border-thin) solid #9d5a5a;
  color: #d9a3a3;
}
 
/* Animation for loading */
@keyframes pulsate {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
 
.skin-pivot .loading {
  animation: pulsate 1.5s infinite;
}
 
/* Breadcrumbs - game style */
.skin-pivot .breadcrumbs-container,
.skin-pivot .breadcrumb-trail {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}
 
.skin-pivot .breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: var(--font-size-sm);
}
 
.skin-pivot .breadcrumb-trail a {
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  transition: var(--transition-standard);
}
 
.skin-pivot .breadcrumb-trail a:hover {
  color: var(--dune-gold);
  text-decoration: none;
}
 
.skin-pivot .breadcrumb-trail .separator {
  margin: 0 8px;
  color: var(--dune-gold);
}
 
.skin-pivot .breadcrumb-unavailable {
  background-color: rgba(15, 20, 25, 0.6);
  border: var(--border-thin) solid var(--dune-gold);
  padding: 5px 10px;
  margin-bottom: 10px;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 0.9em;
  border-radius: var(--border-radius-sm);
}
 
/* Misc elements */
.skin-pivot .fromdb {
  color: var(--text-secondary);
  font-size: 0.85em;
  margin: -5px 0 15px 0;
  opacity: 0.7;
  font-style: italic;
}
 
.skin-pivot .video-container {
  border: var(--border-thin) solid var(--dune-gold);
  overflow: hidden;
  margin: 0 0 15px 0 !important;
  position: relative;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}
 
.skin-pivot .related-buildings {
  padding: 8px;
  background-color: rgba(15, 20, 25, 0.4);
}
 
.skin-pivot .related-buildings p {
  margin: 5px 0;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 0.9em;
}
 
.skin-pivot .schematic-section,
.skin-pivot .crafting-section,
.skin-pivot .tutorials-section {
  margin-bottom: 10px;
}
 
.skin-pivot .schematic-section .game-panel,
.skin-pivot .crafting-section .game-panel,
.skin-pivot .tutorials-section .game-panel {
  margin-bottom: 8px;
}


/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 13. BREADCRUMBS
# 13. INVENTORY UI STYLING - GAME ACCURATE
--------------------------------------------------------------*/
--------------------------------------------------------------*/
.dune-breadcrumb-nav {
/* Game-accurate inventory grid */
.skin-pivot .inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 4px;
  padding: 5px;
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  position: relative;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}
 
/* Game-style inventory slot */
.skin-pivot .inventory-slot {
  background-color: rgba(22, 22, 24, 0.8);
  border: var(--border-thin) solid var(--gold-border-subtle);
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   margin-bottom: var(--space-md);
   justify-content: center;
   padding: var(--space-xs) var(--space-sm);
   height: 75px;
   background-color: var(--bg-panel-dark);
   width: 75px;
   border: var(--border-width) solid var(--border-color);
   transition: var(--transition-standard);
  border-radius: var(--radius-sm);
   position: relative;
   font-size: var(--font-size-sm);
}
}


.dune-breadcrumb-nav a {
/* Empty slot styling */
   color: var(--color-primary);
.skin-pivot .inventory-slot.empty {
  transition: color var(--transition-base);
   background-image:  
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--gold-border-subtle), transparent calc(50% + 1px));
}
}


.dune-breadcrumb-nav a:hover {
/* Corner accents for inventory slots */
   color: var(--color-primary-hover);
.skin-pivot .inventory-slot:before,
.skin-pivot .inventory-slot:after {
   content: '';
  position: absolute;
  width: 3px;
  height: 3px;
}
}


.dune-breadcrumb-separator {
.skin-pivot .inventory-slot:before {
   margin: 0 var(--space-sm);
   top: -1px;
   color: var(--text-muted);
  left: -1px;
  border-top: var(--border-thin) solid var(--dune-gold);
   border-left: var(--border-thin) solid var(--dune-gold);
}
}


/*--------------------------------------------------------------
.skin-pivot .inventory-slot:after {
# 14. MEDIA QUERIES
   bottom: -1px;
--------------------------------------------------------------*/
   right: -1px;
/* Tablet */
  border-bottom: var(--border-thin) solid var(--dune-gold);
@media (max-width: 768px) {
   border-right: var(--border-thin) solid var(--dune-gold);
   :root {
}
    --font-size-base: 0.875rem;
 
   }
.skin-pivot .inventory-slot:hover {
 
  border-color: var(--dune-gold);
  .container {
   box-shadow: 0 0 5px rgba(200, 161, 101, 0.4) inset;
    padding-right: var(--space-md);
    padding-left: var(--space-md);
  }
 
  .dune-card {
    padding: var(--space-md);
   }
 
  .responsive-col {
    flex: 1 1 100%;
  }
 
  /* Convert radial menu to grid on mobile */
  .dune-radial-menu.mobile-grid {
    position: relative;
    width: 100%;
    height: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--bg-panel-dark);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius-base);
   }
 
  .dune-radial-item-container {
    position: static;
    transform: none;
    opacity: 1;
  }
}
}


/* Mobile */
/* Item image within slot */
@media (max-width: 480px) {
.skin-pivot .inventory-slot img {
  :root {
   max-width: 85%;
    --font-size-base: 0.8125rem;
   max-height: 85%;
  }
 
  h1 { font-size: var(--font-size-xxl); }
   h2 { font-size: var(--font-size-xl); }
   h3 { font-size: var(--font-size-lg); }
 
  .navbar {
    padding: 0 var(--space-sm);
  }
}
}


/*--------------------------------------------------------------
/* Selected slot styling */
# 15. PRINT STYLES
.skin-pivot .dune-selected {
--------------------------------------------------------------*/
  border: var(--border-thin) solid var(--dune-gold) !important;
@media print {
   box-shadow: 0 0 8px rgba(200, 161, 101, 0.5) inset, 0 0 2px var(--dune-gold) !important;
   body.skin-pivot {
   background-color: rgba(200, 161, 101, 0.1) !important;
    background: white;
    color: black;
  }
 
  .navbar,
  .sidebar,
  .radial-menu,
  .no-print {
    display: none;
   }
 
  .dune-card {
    background: white;
    border: 1px solid black;
    box-shadow: none;
  }
 
  a {
    color: black;
    text-decoration: underline;
  }
}
}


/*--------------------------------------------------------------
/* Item count/stack indicator */
# 16. ACCESSIBILITY
.skin-pivot .item-count {
--------------------------------------------------------------*/
  position: absolute;
/* Focus styles */
  bottom: 2px;
:focus {
  right: 2px;
   outline: 2px solid var(--color-primary);
  background-color: rgba(12, 10, 20, 0.8);
   outline-offset: 2px;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 2px;
   border: var(--border-thin) solid rgba(200, 161, 101, 0.5);
   min-width: 14px;
  text-align: center;
}
}


/* Skip to content link */
/* Item quality/rarity indicator */
.skip-to-content {
.skin-pivot .item-quality {
   position: absolute;
   position: absolute;
   top: -40px;
   top: 0;
   left: 0;
   left: 0;
   background: var(--color-primary);
   width: 100%;
   color: var(--text-dark);
   height: 3px;
  padding: var(--space-sm) var(--space-md);
}
   text-decoration: none;
 
   z-index: var(--z-tooltip);
.skin-pivot .item-quality.common {
  background-color: #a0a0a0;
}
 
.skin-pivot .item-quality.uncommon {
  background-color: #2d862d;
}
 
.skin-pivot .item-quality.rare {
   background-color: #2970c3;
}
 
.skin-pivot .item-quality.epic {
   background-color: #9c43c8;
}
 
.skin-pivot .item-quality.legendary {
  background-color: #cf7a30;
}
}


.skip-to-content:focus {
/* Section header - game accurate */
   top: 0;
.skin-pivot .section-header {
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 5px 10px;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 5px;
   font-weight: bold;
}
}


/* Screen reader only */
.skin-pivot .section-header:before,
.sr-only {
.skin-pivot .section-header:after {
  content: '';
   position: absolute;
   position: absolute;
   width: 1px;
   width: 6px;
   height: 1px;
   height: 6px;
   padding: 0;
   border: var(--border-thin) solid var(--dune-gold);
   margin: -1px;
}
 
.skin-pivot .section-header:before {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
}
 
.skin-pivot .section-header:after {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
}
 
/* Experience bar - game style */
.skin-pivot .xp-bar {
  height: 6px;
  width: 100%;
  background-color: rgba(12, 10, 20, 0.6);
   border: var(--border-thin) solid var(--dune-gold);
  position: relative;
   overflow: hidden;
   overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
}


/* Reduced motion */
.skin-pivot .xp-progress {
@media (prefers-reduced-motion: reduce) {
  height: 100%;
   *,
  background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
   *::before,
  width: 0%;
   *::after {
}
    animation-duration: 0.01ms;
 
    animation-iteration-count: 1;
.skin-pivot .xp-level {
    transition-duration: 0.01ms;
  position: absolute;
    scroll-behavior: auto;
  right: 10px;
   }
  top: -18px;
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 2px 6px;
  font-size: var(--font-size-xs);
  letter-spacing: 0.5px;
}
 
 
/*───────────────────────────────────────────────
14. RESOURCE CARD  –  simplified tooltip style
───────────────────────────────────────────────*/
.skin-pivot .dune-card.dune-resource-card {
   /* override the base dune-card background only */
  --resource-tint: #ce6b25;                    /* default orange */
  background: linear-gradient(
      to bottom,
      var(--resource-tint) 0%,
      rgba(0,0,2,.75) 60%
  ) !important;
  padding: var(--spacing-md);
}
 
/* local sub-elements */
.dune-resource-header {
  display:flex; flex-direction:column;
  background: var(--dune-darker);
  border: var(--border-thin) solid var(--dune-gold);
  padding: 4px 8px;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing:.8px;
  color: var(--dune-gold);
}
 
.dune-resource-title { font-size:1.3rem; font-weight:bold; color:var(--text-highlight); }
.dune-resource-meta  { margin-top:2px; font-size:.8rem;  color:var(--text-secondary); }
 
.dune-resource-thumb { text-align:center; margin:10px 0; }
.dune-resource-thumb img{
  max-width:120px; max-height:120px; object-fit:contain;
}
 
.dune-resource-desc {
  background: var(--dune-panel-bg-light);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-sm);
  font-size:.95rem;
  line-height:1.45;
  color: var(--text-primary);
}
 
 
 
 
 
 
 
 
/* Orbitron Font for UI Headings */
 
/* Hero Section – Radar Theme Overlay */
.dune-hero {
   width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: none; /* transparent, show radar bg */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  z-index: 5;
  border-bottom: 2px solid var(--dune-accent-bronze);
  box-shadow: 0 8px 24px 0 rgba(0,0,0,0.10); /* subtle shadow for floating effect */
}
 
.dune-hero--inner {
  background: rgba(14, 12, 21, 0.84);
  border-radius: 2rem;
   box-shadow: 0 0 32px 6px var(--dune-accent-bronze);
  padding: 2.5rem 2rem;
  max-width: 720px;
  margin: 3rem auto;
  text-align: center;
  backdrop-filter: blur(3px);
  /* Orbitron for the whole hero */
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
}
 
.dune-hero h1 {
  font-size: 2.7rem;
  color: var(--dune-gold);
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
 
.dune-hero p {
  color: var(--dune-gold-dark);
  font-size: 1.13rem;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
}
 
/* Dune Card Grid */
.dune-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}
 
/* DuneCard – Overlaid UI Card */
.dune-card {
  background: rgba(26, 23, 36, 0.89);
  border: 1.5px solid var(--dune-accent-bronze);
  border-radius: 1rem;
  box-shadow: 0 0 18px 2px var(--dune-accent-bronze);
  padding: 1.5rem;
  color: var(--text-primary);
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
}
 
.dune-card h3 {
  margin: 0 0 .5rem;
  color: var(--dune-gold);
  font-size: 1.3rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
}
 
.dune-card {
  background: rgba(26, 23, 36, 0.93);
  border: 1.5px solid var(--dune-accent-bronze);
  border-radius: 1.2rem;
  box-shadow: 0 0 24px 4px var(--dune-accent-bronze);
  padding: 2rem 1.3rem 1.3rem 1.3rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 310px;
  position: relative;
  transition: box-shadow 0.2s;
}
 
.dune-card:hover {
  box-shadow: 0 0 32px 10px var(--dune-accent-bronze);
}
 
.dune-card-icon {
  margin-bottom: .3rem;
  font-size: 2.2rem;
  text-align: center;
  filter: drop-shadow(0 0 6px var(--dune-accent-bronze));
}
 
.dune-card-title {
  font-size: 1.22rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--dune-gold);
  margin-bottom: 0.1rem;
  text-transform: uppercase;
  text-align: center;
}
 
.dune-card-bar {
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--dune-accent-bronze) 0%, transparent 100%);
  border-radius: 2px;
  margin: 0.7rem auto 1rem auto;
}
 
.dune-card-desc {
  color: var(--dune-fg-muted);
  text-align: center;
  font-size: 1.04rem;
  margin-bottom: 1.1rem;
  flex: 1 1 auto;
}
 
.dune-card-btn {
  background: var(--dune-accent-bronze);
  color: #191919 !important;
  padding: 0.5rem 1.1rem;
   border-radius: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  text-align: center;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 0 8px 0 var(--dune-accent-bronze);
  transition: background 0.18s, color 0.18s;
  display: inline-block;
}
 
.dune-card-btn:hover {
  background: var(--dune-gold-hover);
  color: #222 !important;
}
 
.dune-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.2rem auto 2.7rem auto;
  max-width: 1200px;
}
.dune-whatsnew {
  background: rgba(26, 23, 36, 0.96);
  border-left: 4px solid var(--dune-accent-bronze);
  color: var(--dune-gold);
  padding: 1.1rem 1.5rem;
  border-radius: 0.9rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  margin: 2rem 0 2rem 0;
  font-size: 1.08rem;
  box-shadow: 0 0 12px 0 var(--dune-accent-bronze);
  letter-spacing: 0.01em;
}
.dune-whatsnew strong {
  color: var(--dune-accent-bronze);
}
 
.lore-spotlight h2,
.dune-card-grid h2,
h2 {
  color: var(--dune-fg-light);
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 1.8rem 0 1rem 0;
}
 
/* Responsive adjustments for hero overlay */
@media (max-width: 900px) {
  .dune-hero--inner { padding: 1.3rem 0.7rem; max-width: 96vw; }
  .dune-hero { min-height: 200px; }
  .dune-card { padding: 1rem; }
}
 
@media (max-width: 500px) {
  .dune-hero--inner { padding: 0.8rem 0.2rem; }
  .dune-hero h1 { font-size: 1.5rem; }
}
}

Revision as of 00:59, 23 May 2025

/**********************************************************
 * Enhanced Dune-Themed Pivot Skin (Game-Accurate)
 **********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/*--------------------------------------------------------------
# 1. CSS VARIABLES - ENHANCED SYSTEM
--------------------------------------------------------------*/	
:root {
  /* Brand Colors - Core Palette */
  --dune-black: rgba(14, 12, 21, 0.6);
  --dune-panel-bg-dark: rgba(0, 0, 2, 0.7);
  --dune-panel-bg-light: rgba(22, 22, 24, 0.4);
  --dune-dark: rgba(26, 23, 36, 0.7);
  --dune-darker: rgba(12, 10, 20, 0.8);
  --dune-gold: #fce7c8;
  --dune-gold-hover: #E3BB7A;
  --dune-gold-dark: #A07B40;
  
  /* Text Colors */
  --text-primary: #E0E0E0;
  --text-secondary: #BBBBBB;
  --text-title: #E2D3AE;
  --text-inactive: #636363;
  --text-highlight: #FFFFFF;
  --text-link: var(--dune-gold);
  --text-link-hover: var(--dune-gold-hover);
  --text-error: #9c061a;
  --text-success: #4CAF50;
  --text-warning: #FFD700;
  
  /* Faction Colors */
  --faction-atreides: #3D6B8A;
  --faction-harkonnen: #340f14;
  --faction-fremen: #538579;
  --faction-emperor: #8A7045;
  --faction-spacing-guild: #4A4E69;
  --faction-bene-gesserit: #6B4E71;
  
  /* Status Colors */
  --status-complete: #4CAF50;
  --status-incomplete: #FF6B6B;
  --status-locked: #636363;
  --status-available: #3D6B8A;
  --status-craftable: #538579;
  --status-rare: #9c43c8;
  --status-epic: #2970c3;
  --status-legendary: #cf7a30;
  
  /* Opacity & Transparency */
  --opacity-high: 0.9;
  --opacity-medium: 0.7;
  --opacity-low: 0.5;
  --opacity-subtle: 0.3;
  --opacity-hint: 0.1;
  
  /* Color with Transparency */
  --dune-dark-transparent: rgba(14, 12, 21, 0.6);
  --dune-darker-transparent: rgba(12, 10, 20, 0.5);
  --dune-gold-transparent: rgba(200, 161, 101, 0.4);
  --dune-gold-glow: rgba(200, 161, 101, 0.2);
  --dune-gold-intense-glow: rgba(227, 187, 122, 0.4);
  --panel-bg-transparent: rgba(0, 0, 2, 0.7);
  --black-transparent: rgba(0, 0, 0, 0.7);
  --gold-border-subtle: rgba(200, 161, 101, 0.3);
  --gold-border-very-subtle: rgba(200, 161, 101, 0.2);
  
  /* Spacing & Layout */
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-xxl: 24px;
  --spacing-xxxl: 32px;
  
  /* Content Width */
  --content-width-xs: 480px;
  --content-width-sm: 768px;
  --content-width-md: 1024px;
  --content-width-lg: 1280px;
  --content-width-xl: 1440px;
  
  /* Borders */
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  --border-radius-xs: 1px;
  --border-radius-sm: 2px;
  --border-radius-md: 3px;
  --border-radius-lg: 4px;
  --border-radius-xl: 6px;
  --border-radius-circle: 50%;
  --border-angle: 30deg;
  
  /* Shadows */
  --shadow-subtle: 0 0 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 0 10px rgba(0, 0, 0, 0.5);
  --shadow-strong: 0 0 15px rgba(0, 0, 0, 0.7);
  --shadow-inset-subtle: inset 0 0 5px rgba(0, 0, 0, 0.3);
  --shadow-inset-medium: inset 0 0 8px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 8px rgba(200, 161, 101, 0.3);
  --shadow-gold-intense: 0 0 12px rgba(227, 187, 122, 0.5);
  --shadow-error: 0 0 8px rgba(255, 107, 107, 0.5);
  --shadow-success: 0 0 8px rgba(76, 175, 80, 0.5);
  
  /* Typography */
  --font-stack: "Orbitron", "Segoe UI", sans-serif;
  --font-stack-secondary: "Montserrat", "Arial", sans-serif;
  --font-stack-mono: "Courier New", monospace;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.85rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.4rem;
  --font-size-xxl: 1.6rem;
  --font-size-xxxl: 2rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.35;
  --line-height-relaxed: 1.5;
  --line-height-loose: 1.7;
  --letter-spacing-tight: -0.05em;
  --letter-spacing-normal: 0em;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;
  --letter-spacing-widest: 0.15em;
  
  /* Z-index layers */
  --z-index-background: -1;
  --z-index-default: 1;
  --z-index-tooltip: 100;
  --z-index-dropdown: 200;
  --z-index-modal: 300;
  --z-index-overlay: 400;
  
  /* Animation & Transitions */
  --transition-fast: all 0.1s ease;
  --transition-standard: all 0.2s ease;
  --transition-slow: all 0.3s ease;
  --animation-speed-fast: 0.3s;
  --animation-speed-normal: 0.5s;
  --animation-speed-slow: 0.8s;
  
  /* Component dimensions */
  --button-height-sm: 24px; 
  --button-height-md: 32px;
  --button-height-lg: 40px;
  --input-height-sm: 24px;
  --input-height-md: 32px;
  --input-height-lg: 40px;
  --nav-height: 40px;
  --card-padding: var(--spacing-lg);
  --panel-padding: var(--spacing-md);
  
  /* Diagonal cuts - for clip-path */
  --diagonal-cut-small: 5px;
  --diagonal-cut-medium: 10px;
  --diagonal-cut-large: 15px;
  
  /* Polygon style - for clip-path */
  --clip-path-hexagonal-header: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    calc(100% - 20px) 40px,
    20px 40px,
    0 20px
  );
  
  /* Gradients */
  --gradient-gold: linear-gradient(to bottom, var(--dune-gold), var(--dune-gold-dark));
  --gradient-gold-hover: linear-gradient(to bottom, var(--dune-gold-hover), var(--dune-gold));
  --gradient-dark: linear-gradient(135deg, #111010, #1a1917);
  --gradient-gold-horizontal: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
  
  /* Aspect ratios */
  --aspect-ratio-square: 1 / 1;
  --aspect-ratio-landscape: 16 / 9;
  --aspect-ratio-portrait: 9 / 16;
  --aspect-ratio-ultrawide: 21 / 9;
  
  /* Images & Icons */
  --icon-size-xs: 12px;
  --icon-size-sm: 16px;
  --icon-size-md: 24px;
  --icon-size-lg: 32px;
  --icon-size-xl: 48px;
}

/*--------------------------------------------------------------
# 2. GLOBAL RESET & BODY
--------------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
}

body.skin-pivot {
  background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-stack);
  line-height: 1.35;
  font-size: 15px;
}

/*--------------------------------------------------------------
# 3. MAIN CONTAINERS & TRANSPARENCY
--------------------------------------------------------------*/
/* Transparent main containers */
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
  background: transparent;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  margin: 0;
}

/* Force major wrappers to be transparent */
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .columns,
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.skin-pivot .exit-off-canvas {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

/* Footer, catlinks, printfooter: also transparent */
.skin-pivot footer,
.skin-pivot .footer,
.skin-pivot #footer,
.skin-pivot .mw-footer,
.skin-pivot #mw-footer-container,
.skin-pivot #mw-footer,
.skin-pivot #catlinks,
.skin-pivot .catlinks,
.skin-pivot .printfooter,
.skin-pivot #mw-data-after-content {
  background: transparent !important;
  border: none !important;
  color: var(--dune-gold) !important;
}

/* Fix for MediaWiki scrollbars */
.mw-body-content,
.skin-pivot .mw-body,
.skin-pivot #content,
.skin-pivot #mw-content-text {
  overflow: visible !important;
}

/*--------------------------------------------------------------
# 4. NAVIGATION & HEADINGS - GAME-STYLED
--------------------------------------------------------------*/
.dune-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 50px);
  gap: 10px 10px; /* vertical and horizontal spacing */
  justify-content: center;
  padding: 10px;
}
.dune-icon-grid .dune-icon {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background: var(--dune-darker);
  border: 2px solid var(--dune-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* or swap for <img> icons */
  box-shadow: 0 0 10px rgba(200,161,101,0.13);
  transition: box-shadow 0.18s, border-color 0.15s;
  cursor: pointer;
}

.dune-icon-grid .dune-icon:hover {
  border-color: var(--dune-gold-hover);
  box-shadow: 0 0 20px var(--dune-gold-glow);
}


/* Game-like top navigation */
.skin-pivot .navbar {
  background: var(--dune-darker) !important;
  border: none !important;
  height: var(--nav-height);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: var(--border-thin) solid var(--dune-gold) !important;
}

.skin-pivot .navbar:before,
.skin-pivot .navbar:after {
  content: '';
  position: absolute;
  height: var(--border-thin);
  background-color: var(--dune-gold);
  bottom: -1px;
  width: 20px;
}

.skin-pivot .navbar:before {
  left: 20px;
  transform: skewX(var(--border-angle));
}

.skin-pivot .navbar:after {
  right: 20px;
  transform: skewX(calc(-1 * var(--border-angle)));
}

.skin-pivot .navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.skin-pivot .navbar-nav > li {
  position: relative;
  display: inline-block;
}

.skin-pivot .navbar-nav > li > a {
  color: var(--dune-gold) !important;
  font-weight: bold !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  margin: 0 5px;
  position: relative;
  text-align: center;
}

.skin-pivot .navbar-nav > li.active > a {
  color: var(--dune-gold-hover) !important;
  box-shadow: 0 -2px 0 var(--dune-gold-hover) inset;
}

.skin-pivot .navbar-nav > li > a:hover {
  color: var(--dune-gold-hover) !important;
  text-shadow: 0 0 5px var(--dune-gold-glow);
}

.skin-pivot .navbar-nav > li.active > a:after,
.skin-pivot .navbar-nav > li > a:hover:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--dune-gold);
}

/* Sidebar & Panels - game style */
.skin-pivot #nav,
.skin-pivot #nav-wrapper,
.skin-pivot .nav-content {
  background: var(--dune-dark-transparent);
  border: var(--border-thin) solid var(--dune-gold);
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  position: relative;
}

.skin-pivot #nav:before,
.skin-pivot #nav:after,
.skin-pivot #nav-wrapper:before,
.skin-pivot #nav-wrapper:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: var(--border-thin) solid var(--dune-gold);
}

.skin-pivot #nav:before,
.skin-pivot #nav-wrapper:before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.skin-pivot #nav:after,
.skin-pivot #nav-wrapper:after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* List items with game styling */
.skin-pivot .list-group-item {
  background: transparent;
  border: none;
  border-bottom: var(--border-thin) solid var(--gold-border-subtle);
  color: var(--text-primary);
  padding: 8px 10px;
  transition: var(--transition-standard);
}

.skin-pivot .list-group-item:last-child {
  border-bottom: none;
}

.skin-pivot .list-group-item:hover {
  background-color: rgba(200, 161, 101, 0.1);
}

/* Panel Headings - game accurate */
.skin-pivot #nav h3,
.skin-pivot #nav-wrapper h3,
.skin-pivot .panel-heading {
  background-color: rgba(200, 161, 101, 0.15);
  border-bottom: var(--border-thin) solid var(--dune-gold);
  color: var(--text-primary);
  margin: 0;
  padding: 8px 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--font-size-sm);
  position: relative;
  display: flex;
  align-items: center;
}

.skin-pivot #nav h3:before,
.skin-pivot #nav h3:after,
.skin-pivot #nav-wrapper h3:before,
.skin-pivot #nav-wrapper h3:after,
.skin-pivot .panel-heading:before,
.skin-pivot .panel-heading:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--dune-gold);
  margin: 0 8px;
}

/* Main content headings */
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
  font-family: 'Orbitron', 'Segoe UI', sans-serif !important;
  color: var(--dune-gold);
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0.5em;
  border-bottom: none;
  text-transform: uppercase;
  padding-bottom: 5px;
  letter-spacing: 0.5px;
}

.skin-pivot h1,
.skin-pivot h3 {
  border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
  position: relative;
}

.skin-pivot h1:after,
.skin-pivot h3:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--dune-gold);
}

/* Main headings and first heading - game style */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
  /* Changed from var(--dune-title) to var(--dune-gold) */
  color: var(--dune-gold);
  font-size: var(--font-size-xxl);
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.skin-pivot h1.firstHeading:after,
.skin-pivot .page-header h1:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--dune-gold), rgba(200, 161, 101, 0));
}

/* Links site-wide - game style */
.skin-pivot a {
  color: var(--dune-gold);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition-standard);
  position: relative;
}

.skin-pivot a:hover {
  color: var(--dune-gold-hover);
  text-decoration: none;
  text-shadow: 0 0 5px rgba(200, 161, 101, 0.4);
}

.skin-pivot a.new,
.skin-pivot a.new:visited {
  color: var(--text-error) !important;
  text-decoration: none;
}

.skin-pivot a.new:hover {
  color: #DD0000 !important;
}

/* Journey link text - special styling with diagonal edges */
.skin-pivot a[href*="Journey"] {
  color: var(--dune-gold-hover) !important;
  text-decoration: none !important;
  font-weight: bold !important;
  transition: var(--transition-standard) !important;
  display: inline-block !important;
  padding: 2px 8px !important;
  border: var(--border-thin) solid var(--dune-gold) !important;
  background-color: rgba(12, 10, 20, 0.6) !important;
  /* Add subtle diagonal corners */
  clip-path: polygon(
    0 0, 
    calc(100% - 5px) 0, 
    100% 5px, 
    100% 100%, 
    5px 100%, 
    0 calc(100% - 5px)
  ) !important;
}

.skin-pivot a[href*="Journey"]:hover {
  background-color: rgba(200, 161, 101, 0.1) !important;
}

/*--------------------------------------------------------------
# 5. PIVOT NAV OVERRIDES - GAME STYLE
--------------------------------------------------------------*/
.skin-pivot nav.tab-bar.hide-for-print {
  background: var(--dune-darker);
  border-bottom: var(--border-thin) solid var(--dune-gold);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.skin-pivot nav.tab-bar.hide-for-print a {
  color: var(--dune-gold);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skin-pivot nav.tab-bar.hide-for-print a:hover {
  color: var(--dune-gold-hover);
  text-decoration: none;
}

.skin-pivot nav.tab-bar.hide-for-print .title {
  display: flex;
  align-items: center;
  height: 100%;
}

.skin-pivot nav.tab-bar.hide-for-print .title a {
  /* Changed from var(--dune-title) to var(--dune-gold) */
  color: var(--dune-gold);
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: var(--border-thin) solid rgba(200, 161, 101, 0.3);
}

.skin-pivot #left-nav-aside,
.skin-pivot #middle-nav,
.skin-pivot #right-nav-aside {
  background-color: transparent;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
}

.skin-pivot li.name.logo img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

/* Game-style search box */
.skin-pivot li.has-form {
  padding: 0 10px;
}

.skin-pivot li.has-form input[type="search"] {
  background: rgba(12, 10, 20, 0.6);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  border: var(--border-thin) solid var(--dune-gold);
  padding: 5px 10px;
  width: 100%;
  height: 30px;
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-standard);
}

.skin-pivot li.has-form input[type="search"]:focus {
  background: rgba(12, 10, 20, 0.8);
  border-color: var(--dune-gold-hover);
  box-shadow: 0 0 5px rgba(200, 161, 101, 0.3);
}

.skin-pivot li.has-form input[type="search"]::placeholder {
  color: rgba(201, 183, 149, 0.6);
}

.skin-pivot label.sidebar {
  background-color: transparent;
  color: var(--dune-gold);
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 12px;
  margin: 0;
  display: block;
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3);
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
}

.skin-pivot li.mw-list-item {
  position: relative;
}

.skin-pivot li.mw-list-item:before {
  content: '•';
  color: var(--dune-gold);
  position: absolute;
  left: 5px;
  top: 7px;
  font-size: 12px;
}

.skin-pivot li.mw-list-item a {
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  text-decoration: none;
  display: block;
  padding: 6px 10px 6px 15px;
  font-size: var(--font-size-sm);
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.1);
  transition: var(--transition-standard);
}

.skin-pivot li.mw-list-item:last-child a {
  border-bottom: none;
}

.skin-pivot li.mw-list-item a:hover {
  color: var(--dune-gold);
  background-color: rgba(200, 161, 101, 0.1);
  text-decoration: none;
}

/*--------------------------------------------------------------
# 6. SIDEBAR/HIDING TOOLS
--------------------------------------------------------------*/
html body.skin-pivot #p-tb,
html body.skin-pivot #p-tb + ul,
html body.skin-pivot #p-tb + li,
li[id^="t-"] {
  display: none !important;
}

/*--------------------------------------------------------------
# 7. RESPONSIVE LAYOUT - WIKI OPTIMIZED WITH EQUAL HEIGHT COLUMNS
--------------------------------------------------------------*/
.responsive-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1em; /* Reduced from 1.5em to save space */
  align-items: stretch; /* This helps with equal height */
  width: 100%;
  margin: 1em 0;
  box-sizing: border-box;
}

.responsive-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  min-width: 300px !important;
  max-width: 100%;
}

/* 2 columns at medium screens (>=600px) - reduced from 700px */
@media (min-width: 600px) {
  .responsive-col {
    flex: 1 1 calc((100% - 1em) / 2);
  }
}

/* 3 columns at large screens (>=850px) - reduced from 900px */
@media (min-width: 850px) {
  .responsive-col {
    flex: 1 1 calc((100% - 2 * 1em) / 3);
  }
}

/* Make all cards within columns fill available height */
.responsive-col .skin-pivot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the column height */
}

/* Ensure dune-card fills the entire space */
.skin-pivot .dune-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the available height */
}

/* Ensure card inner content stretches */
.skin-pivot .dune-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%; /* Fill the available height */
  overflow: hidden; /* Prevent content overflow */
}

/* Fix for table rows displaying correctly */
table.infobox-dune-standard-table tr:last-child td,
table.infobox-dune-two-column tr:last-child td {
  border-bottom: none !important;
}

/* Ensure table cells don't expand beyond their container */
table.infobox-dune-standard-table,
table.infobox-dune-two-column {
  table-layout: fixed;
  width: 100%;
}

/* Fix for partial rows after tables */
.dune-table-wrapper {
  overflow: hidden;
  border-bottom: none; /* Ensure no extra border shows up */
}

/* Clear fix to prevent floating issues */
.dune-table-wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/* Add clearfix to card inner elements */
.dune-card-inner:after {
  content: "";
  display: table;
  clear: both;
}

/* Fix for IE11 and older browsers */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .responsive-container {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
  }
  
  .responsive-col {
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex: 1 1 100%;
  }
  
  .responsive-col .skin-pivot,
  .skin-pivot .dune-card,
  .skin-pivot .dune-card-inner {
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex: 1 1 auto;
    height: 100%;
  }
}

/*--------------------------------------------------------------
# 8. TABLES - DUNE THEME FINAL (Light Theme with Borders)
--------------------------------------------------------------*/

/* === TWO-COLUMN TABLE === */
table.infobox-dune-two-column {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--dune-panel-bg-light);
  border-radius: var(--border-radius-sm);
  border: none !important; /* Remove table border since wrapper has it */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}

table.infobox-dune-two-column th {
  background-color: var(--dune-panel-bg-light);
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-bottom: 1px solid var(--gold-border-subtle);
}
table.infobox-dune-two-column td {
  text-align: right !important;
  background-color: var(--dune-panel-bg-light);
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-bottom: 1px solid var(--gold-border-subtle);
}

table.infobox-dune-two-column thead th {
  color: var(--dune-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

/* === STANDARD TABLE === */
table.infobox-dune-standard-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--dune-panel-bg-light);
  border-radius: var(--border-radius-sm);
  border: none !important; /* Remove table border since wrapper has it */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin-bottom: 0 !important;
}

table.infobox-dune-standard-table thead th {
  background-color: var(--dune-panel-bg-dark); /* Only header row gets dark */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--gold-border-subtle);
  color: var(--dune-gold);
}

table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td {
  background-color: var(--dune-panel-bg-light); /* All other rows use light */
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: var(--text-primary);
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 1px;
}

table.infobox-dune-standard-table tbody td {
  font-weight: 300;
}

/* === Icon containers === */
table.infobox-dune-standard-table th .icon,
table.infobox-dune-two-column th .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
  width: 1.2em;
  color: var(--dune-gold);
}

/* === Hover === */
table.infobox-dune-standard-table tr:hover td,
table.infobox-dune-two-column tr:hover td,
table.infobox-dune-two-column tr:hover th {
  background-color: rgba(200, 161, 101, 0.05);
}

/* === Bottom Border Cleanup === */
table.infobox-dune-standard-table tbody tr:not(:last-child) td,
table.infobox-dune-two-column tbody tr:not(:last-child) td,
table.infobox-dune-two-column tbody tr:not(:last-child) th {
  border-bottom: 1px solid var(--gold-border-subtle);
}

table.infobox-dune-two-column tbody tr:last-child td,
table.infobox-dune-two-column tbody tr:last-child th,
table.infobox-dune-standard-table tr:last-child td {
  border-bottom: none !important;
}

/* === Responsive tweaks === */
@media screen and (max-width: 600px) {
  table.infobox-dune-two-column th,
  table.infobox-dune-two-column td,
  table.infobox-dune-standard-table th,
  table.infobox-dune-standard-table td {
  	max-width: 100% !important;
    padding: 0.5rem 0.3rem;
    font-size: 0.85rem;
  }

  table.infobox-dune-standard-table thead th:nth-child(1),
  table.infobox-dune-standard-table tbody td:nth-child(1) {
    width: 28%;
  }

  table.infobox-dune-standard-table thead th:nth-child(2),
  table.infobox-dune-standard-table tbody td:nth-child(2) {
    width: 52%;
  }

  table.infobox-dune-standard-table thead th:nth-child(3),
  table.infobox-dune-standard-table tbody td:nth-child(3) {
    width: 20%;
  }
}

@media screen and (max-width: 400px) {
  table.infobox-dune-two-column,
  table.infobox-dune-standard-table {
    font-size: 0.8rem;
  }

  table.infobox-dune-two-column th,
  table.infobox-dune-two-column td,
  table.infobox-dune-standard-table th,
  table.infobox-dune-standard-table td {
    padding: 0.4rem 0.2rem;
  }
}

table.infobox-dune-two-column tr,
table.infobox-dune-standard-table tr {
  background-color: var(--dune-panel-bg-light) !important;
}



/* Table wrapper fixes */
.dune-table-wrapper {
  border: var(--border-thin) solid #444;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0 !important; /* Ensure no extra margin */
  background-color: transparent !important; /* Ensure no background color */
}

/* Clear fix to prevent floating issues */
.dune-table-wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/* Specific fix for the partial row after tables */
.dune-card-infobox-left {
  margin-bottom: 0 !important;
}

/* Ensure proper separation between sections */
.dune-card-related {
  clear: both;
  margin-top: 20px !important;
  padding-top: 10px !important;
  border-top: var(--border-thin) solid var(--gold-border-very-subtle);
}

/* Add clearfix to card inner elements */
.dune-card-inner:after {
  content: "";
  display: table;
  clear: both;
}

/* Fix for tr-dark class to ensure it works for the dark header row */
tr.tr-dark th,
tr.tr-dark td,
.tr-dark {
  background-color: var(--dune-panel-bg-dark) !important;
}

/* Override any other styling that might be interfering */
table.infobox-dune-standard-table tr.tr-dark th {
  background-color: var(--dune-panel-bg-dark) !important;
  color: var(--dune-gold);
}

/* Ensure the dark header appears in all views */
@media screen and (max-width: 600px) {
  tr.tr-dark th,
  tr.tr-dark td,
  table.infobox-dune-standard-table tr.tr-dark th {
    background-color: var(--dune-panel-bg-dark) !important;
  }
}

/*--------------------------------------------------------------
# 9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .dune-card {
  position: relative;
  background-color: rgba(0, 0, 2, 0.7) !important;
  color: var(--text-primary);
  width: auto !important;
  max-width: 100% !important;
  padding: var(--spacing-lg) !important;
  margin: 0 0 var(--spacing-xl) 0 !important;
  border: var(--border-thin) solid var(--dune-gold) !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
  transition: box-shadow 0.3s ease;
  overflow: visible !important;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}

.skin-pivot .dune-card:hover {
  box-shadow: 0 0 12px rgba(200, 161, 101, 0.5) !important;
}

.skin-pivot .dune-card-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: 2px solid var(--dune-gold);
  border-radius: 6px;
  transform: translate(4px, 4px);
  display: none;
}

.skin-pivot .dune-card-inner {
  position: relative;
  z-index: 1;
}

.skin-pivot .dune-card-label {
  /* Leaving the specific label color as-is */
  color: #b6a896;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: var(--border-thin) solid #444;
  padding-bottom: 4px;
  letter-spacing: 0.8px;
}

.skin-pivot .dune-card-title {
  margin: 0;
  font-size: var(--font-size-xl);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  text-transform: uppercase;
  border-bottom: var(--border-thin) solid var(--dune-gold);
  padding-bottom: 4px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  position: relative;
}

.skin-pivot .dune-card-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 12px;
  height: 1px;
  background-color: transparent;
  border-bottom: 1px solid var(--dune-gold);
  transform: rotate(-45deg);
  transform-origin: bottom right;
}

.skin-pivot .dune-card-title .icon {
  margin-right: 8px;
  color: var(--dune-gold);
}

.skin-pivot .dune-card-description {
  font-size: 1.1em !important;
  line-height: 1.5 !important;
  background-color: var(--dune-panel-bg-light) !important;
  border-radius: var(--border-radius-sm);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  display: block !important;
  color: var(--text-primary) !important;
}

.skin-pivot .dune-card-image {
  text-align: center;
  margin: var(--spacing-sm) 0;
}

.skin-pivot .dune-card-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.has-border {
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  background-color: #262626;
  display: inline-block;
  padding: 4px;
  max-width: 200px;
  margin: 0 auto;
}

.card-image-border {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  padding: 4px;
  background-color: #262626;
}

.card-image-border {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  border: 2px solid var(--dune-gold);
  border-radius: 4px;
  padding: 4px;
  background-color: #262626;
}


.skin-pivot .dune-card-video {
  margin: var(--spacing-sm) 0;
  border: var(--border-medium) solid var(--dune-gold);
  border-radius: var(--border-radius-md);
  padding: 2px;
  background-color: #262626;
}

/*--------------------------------------------------------------
# 10. LOCKED BEHIND COMPONENT - KEPT FROM NEW VERSION
--------------------------------------------------------------*/
.skin-pivot .dune-card-locked {
  margin: var(--spacing-lg) 0 !important;
  background-color: var(--dune-panel-bg-light) !important;
  border-radius: var(--border-radius-sm);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-md) !important;
  position: relative !important;
  text-align: center !important;
}

.skin-pivot .dune-card-locked-label {
  color: var(--dune-gold) !important;
  font-weight: bold !important;
  font-size: var(--font-size-sm) !important;
  letter-spacing: 0.8px !important;
  margin-bottom: var(--spacing-sm) !important;
  border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3) !important;
  padding-bottom: var(--spacing-xs) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
}

.skin-pivot .dune-card-locked-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: var(--spacing-xs) !important;
  color: var(--dune-gold) !important;
  font-size: 16px !important;
}

.skin-pivot .dune-card-locked-value {
  color: var(--dune-gold) !important;
  font-weight: normal !important;
  font-size: var(--font-size-md) !important;
  border: var(--border-thin) solid rgba(22, 22, 24, 0.4) !important;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  background-color: rgba(22, 22, 24, 0.4) !important;
  border-radius: var(--border-radius-sm) !important;
  display: inline-block !important;
}

.skin-pivot .dune-card-locked-value a {
  color: var(--dune-gold) !important;
}

.skin-pivot .locked-behind-header {
  background-color: rgba(200, 161, 101, 0.15) !important;
  border-bottom: var(--border-thin) solid var(--dune-gold) !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  margin: -12px -12px 12px -12px !important;
  position: relative !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  color: var(--dune-gold) !important;
  letter-spacing: 0.8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.skin-pivot .locked-behind-header .icon {
  margin-right: var(--spacing-xs) !important;
}

/*--------------------------------------------------------------
# 11. GAME PANEL COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .game-panel {
  background: rgba(0, 0, 2, 0.7);
  border: var(--border-thin) solid var(--dune-gold);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: var(--spacing-xl) !important;
  position: relative;
  padding: var(--spacing-md) !important;
  overflow: visible !important;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}

.skin-pivot .game-panel-header {
  background-color: rgba(200, 161, 101, 0.15);
  border-bottom: 1px solid var(--dune-gold);
  padding: 6px 10px;
  margin: -12px -12px 12px -12px !important;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.skin-pivot .game-panel-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 12px;
  height: 1px;
  background-color: transparent;
  border-bottom: 1px solid var(--dune-gold);
  transform: rotate(-45deg);
  transform-origin: bottom right;
}

.skin-pivot .game-panel-header::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--dune-gold);
  border-left: 2px solid var(--dune-gold);
  transform: rotate(-45deg);
  margin: 0 12px;
}

.skin-pivot .game-panel-content {
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.9em;
  overflow: visible !important;
}

/*--------------------------------------------------------------
# 12. UI ELEMENTS - GAME ACCURATE
--------------------------------------------------------------*/
/* Resource Item - game style */
.skin-pivot .resource {
  display: inline-flex !important;
  align-items: center !important;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  background-color: rgba(12, 10, 20, 0.6);
  border: var(--border-thin) solid var(--gold-border-subtle);
  border-radius: var(--border-radius-sm);
  margin: 0 5px 5px 0 !important;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  position: relative;
}

.skin-pivot .resource:before,
.skin-pivot .resource:after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--dune-gold);
}

.skin-pivot .resource:before {
  top: -2px;
  left: -2px;
}

.skin-pivot .resource:after {
  bottom: -2px;
  right: -2px;
}

.skin-pivot .resource .resource-icon {
  margin-right: var(--spacing-xs);
  color: var(--dune-gold);
}

.skin-pivot .resource .resource-amount {
  font-weight: bold;
  color: var(--dune-gold);
}

/* Buttons - game style */
.skin-pivot .game-button {
  background: linear-gradient(to bottom, var(--dune-gold), var(--dune-gold-dark));
  border: var(--border-thin) solid var(--dune-gold);
  /* Button text using a contrasting light tone */
  color: #E2D3AE;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
  display: inline-block;
}

.skin-pivot .game-button:hover {
  background: linear-gradient(to bottom, var(--dune-gold-hover), var(--dune-gold));
  box-shadow: 0 0 8px rgba(200, 161, 101, 0.5);
}

.skin-pivot .game-button:active {
  top: 1px;
}

/* Progress Bar - game style */
.skin-pivot .progress-bar {
  height: 10px;
  background-color: rgba(15, 20, 25, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  border-radius: 5px;
  overflow: hidden;
  margin: 5px 0;
  position: relative;
}

.skin-pivot .progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
  width: 0%;
  transition: width 0.3s ease;
}

/* Tooltip - game style */
.skin-pivot .tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.skin-pivot .tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #1F2A37;
  color: var(--text-primary);
  text-align: center;
  border: var(--border-thin) solid var(--dune-gold);
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: 0.85em;
}

.skin-pivot .tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Badge Indicators */
.skin-pivot .badge {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.75em;
  margin-left: 5px;
  text-transform: uppercase;
}

.skin-pivot .badge-functional {
  background-color: rgba(65, 130, 65, 0.3);
  border: var(--border-thin) solid #5a9d5a;
  color: #a3d9a3;
}

.skin-pivot .badge-locked {
  background-color: rgba(130, 65, 65, 0.3);
  border: var(--border-thin) solid #9d5a5a;
  color: #d9a3a3;
}

/* Animation for loading */
@keyframes pulsate {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.skin-pivot .loading {
  animation: pulsate 1.5s infinite;
}

/* Breadcrumbs - game style */
.skin-pivot .breadcrumbs-container,
.skin-pivot .breadcrumb-trail {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

.skin-pivot .breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: var(--font-size-sm);
}

.skin-pivot .breadcrumb-trail a {
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  transition: var(--transition-standard);
}

.skin-pivot .breadcrumb-trail a:hover {
  color: var(--dune-gold);
  text-decoration: none;
}

.skin-pivot .breadcrumb-trail .separator {
  margin: 0 8px;
  color: var(--dune-gold);
}

.skin-pivot .breadcrumb-unavailable {
  background-color: rgba(15, 20, 25, 0.6);
  border: var(--border-thin) solid var(--dune-gold);
  padding: 5px 10px;
  margin-bottom: 10px;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 0.9em;
  border-radius: var(--border-radius-sm);
}

/* Misc elements */
.skin-pivot .fromdb {
  color: var(--text-secondary);
  font-size: 0.85em;
  margin: -5px 0 15px 0;
  opacity: 0.7;
  font-style: italic;
}

.skin-pivot .video-container {
  border: var(--border-thin) solid var(--dune-gold);
  overflow: hidden;
  margin: 0 0 15px 0 !important;
  position: relative;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}

.skin-pivot .related-buildings {
  padding: 8px;
  background-color: rgba(15, 20, 25, 0.4);
}

.skin-pivot .related-buildings p {
  margin: 5px 0;
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 0.9em;
}

.skin-pivot .schematic-section,
.skin-pivot .crafting-section,
.skin-pivot .tutorials-section {
  margin-bottom: 10px;
}

.skin-pivot .schematic-section .game-panel,
.skin-pivot .crafting-section .game-panel,
.skin-pivot .tutorials-section .game-panel {
  margin-bottom: 8px;
}

/*--------------------------------------------------------------
# 13. INVENTORY UI STYLING - GAME ACCURATE
--------------------------------------------------------------*/
/* Game-accurate inventory grid */
.skin-pivot .inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 4px;
  padding: 5px;
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  position: relative;
  clip-path: polygon(
    0 0,
    10px 0,
    100% 0,
    100% 10px,
    100% 100%,
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(100% - 10px)
  ) !important;
}

/* Game-style inventory slot */
.skin-pivot .inventory-slot {
  background-color: rgba(22, 22, 24, 0.8);
  border: var(--border-thin) solid var(--gold-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  width: 75px;
  transition: var(--transition-standard);
  position: relative;
}

/* Empty slot styling */
.skin-pivot .inventory-slot.empty {
  background-image: 
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--gold-border-subtle), transparent calc(50% + 1px));
}

/* Corner accents for inventory slots */
.skin-pivot .inventory-slot:before,
.skin-pivot .inventory-slot:after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
}

.skin-pivot .inventory-slot:before {
  top: -1px;
  left: -1px;
  border-top: var(--border-thin) solid var(--dune-gold);
  border-left: var(--border-thin) solid var(--dune-gold);
}

.skin-pivot .inventory-slot:after {
  bottom: -1px;
  right: -1px;
  border-bottom: var(--border-thin) solid var(--dune-gold);
  border-right: var(--border-thin) solid var(--dune-gold);
}

.skin-pivot .inventory-slot:hover {
  border-color: var(--dune-gold);
  box-shadow: 0 0 5px rgba(200, 161, 101, 0.4) inset;
}

/* Item image within slot */
.skin-pivot .inventory-slot img {
  max-width: 85%;
  max-height: 85%;
}

/* Selected slot styling */
.skin-pivot .dune-selected {
  border: var(--border-thin) solid var(--dune-gold) !important;
  box-shadow: 0 0 8px rgba(200, 161, 101, 0.5) inset, 0 0 2px var(--dune-gold) !important;
  background-color: rgba(200, 161, 101, 0.1) !important;
}

/* Item count/stack indicator */
.skin-pivot .item-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background-color: rgba(12, 10, 20, 0.8);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 2px;
  border: var(--border-thin) solid rgba(200, 161, 101, 0.5);
  min-width: 14px;
  text-align: center;
}

/* Item quality/rarity indicator */
.skin-pivot .item-quality {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.skin-pivot .item-quality.common {
  background-color: #a0a0a0;
}

.skin-pivot .item-quality.uncommon {
  background-color: #2d862d;
}

.skin-pivot .item-quality.rare {
  background-color: #2970c3;
}

.skin-pivot .item-quality.epic {
  background-color: #9c43c8;
}

.skin-pivot .item-quality.legendary {
  background-color: #cf7a30;
}

/* Section header - game accurate */
.skin-pivot .section-header {
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 5px 10px;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 5px;
  font-weight: bold;
}

.skin-pivot .section-header:before,
.skin-pivot .section-header:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: var(--border-thin) solid var(--dune-gold);
}

.skin-pivot .section-header:before {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
}

.skin-pivot .section-header:after {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
}

/* Experience bar - game style */
.skin-pivot .xp-bar {
  height: 6px;
  width: 100%;
  background-color: rgba(12, 10, 20, 0.6);
  border: var(--border-thin) solid var(--dune-gold);
  position: relative;
  overflow: hidden;
}

.skin-pivot .xp-progress {
  height: 100%;
  background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
  width: 0%;
}

.skin-pivot .xp-level {
  position: absolute;
  right: 10px;
  top: -18px;
  background-color: rgba(12, 10, 20, 0.8);
  border: var(--border-thin) solid var(--dune-gold);
  /* Updated text color to use --dune-gold */
  color: var(--dune-gold);
  padding: 2px 6px;
  font-size: var(--font-size-xs);
  letter-spacing: 0.5px;
}


/*───────────────────────────────────────────────
 14. RESOURCE CARD  –  simplified tooltip style
───────────────────────────────────────────────*/
.skin-pivot .dune-card.dune-resource-card {
  /* override the base dune-card background only */
  --resource-tint: #ce6b25;                    /* default orange */
  background: linear-gradient(
      to bottom,
      var(--resource-tint) 0%,
      rgba(0,0,2,.75) 60%
  ) !important;
  padding: var(--spacing-md);
}

/* local sub-elements */
.dune-resource-header {
  display:flex; flex-direction:column;
  background: var(--dune-darker);
  border: var(--border-thin) solid var(--dune-gold);
  padding: 4px 8px;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing:.8px;
  color: var(--dune-gold);
}

.dune-resource-title { font-size:1.3rem; font-weight:bold; color:var(--text-highlight); }
.dune-resource-meta  { margin-top:2px; font-size:.8rem;  color:var(--text-secondary); }

.dune-resource-thumb { text-align:center; margin:10px 0; }
.dune-resource-thumb img{
   max-width:120px; max-height:120px; object-fit:contain;
}

.dune-resource-desc {
  background: var(--dune-panel-bg-light);
  border: var(--border-thin) solid #444;
  padding: var(--spacing-sm);
  font-size:.95rem;
  line-height:1.45;
  color: var(--text-primary);
}








/* Orbitron Font for UI Headings */

/* Hero Section – Radar Theme Overlay */
.dune-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: none; /* transparent, show radar bg */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  z-index: 5;
  border-bottom: 2px solid var(--dune-accent-bronze);
  box-shadow: 0 8px 24px 0 rgba(0,0,0,0.10); /* subtle shadow for floating effect */
}

.dune-hero--inner {
  background: rgba(14, 12, 21, 0.84);
  border-radius: 2rem;
  box-shadow: 0 0 32px 6px var(--dune-accent-bronze);
  padding: 2.5rem 2rem;
  max-width: 720px;
  margin: 3rem auto;
  text-align: center;
  backdrop-filter: blur(3px);
  /* Orbitron for the whole hero */
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
}

.dune-hero h1 {
  font-size: 2.7rem;
  color: var(--dune-gold);
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dune-hero p {
  color: var(--dune-gold-dark);
  font-size: 1.13rem;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
}

/* Dune Card Grid */
.dune-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}

/* DuneCard – Overlaid UI Card */
.dune-card {
  background: rgba(26, 23, 36, 0.89);
  border: 1.5px solid var(--dune-accent-bronze);
  border-radius: 1rem;
  box-shadow: 0 0 18px 2px var(--dune-accent-bronze);
  padding: 1.5rem;
  color: var(--text-primary);
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dune-card h3 {
  margin: 0 0 .5rem;
  color: var(--dune-gold);
  font-size: 1.3rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

.dune-card {
  background: rgba(26, 23, 36, 0.93);
  border: 1.5px solid var(--dune-accent-bronze);
  border-radius: 1.2rem;
  box-shadow: 0 0 24px 4px var(--dune-accent-bronze);
  padding: 2rem 1.3rem 1.3rem 1.3rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 310px;
  position: relative;
  transition: box-shadow 0.2s;
}

.dune-card:hover {
  box-shadow: 0 0 32px 10px var(--dune-accent-bronze);
}

.dune-card-icon {
  margin-bottom: .3rem;
  font-size: 2.2rem;
  text-align: center;
  filter: drop-shadow(0 0 6px var(--dune-accent-bronze));
}

.dune-card-title {
  font-size: 1.22rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--dune-gold);
  margin-bottom: 0.1rem;
  text-transform: uppercase;
  text-align: center;
}

.dune-card-bar {
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--dune-accent-bronze) 0%, transparent 100%);
  border-radius: 2px;
  margin: 0.7rem auto 1rem auto;
}

.dune-card-desc {
  color: var(--dune-fg-muted);
  text-align: center;
  font-size: 1.04rem;
  margin-bottom: 1.1rem;
  flex: 1 1 auto;
}

.dune-card-btn {
  background: var(--dune-accent-bronze);
  color: #191919 !important;
  padding: 0.5rem 1.1rem;
  border-radius: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  text-align: center;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 0 8px 0 var(--dune-accent-bronze);
  transition: background 0.18s, color 0.18s;
  display: inline-block;
}

.dune-card-btn:hover {
  background: var(--dune-gold-hover);
  color: #222 !important;
}

.dune-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.2rem auto 2.7rem auto;
  max-width: 1200px;
}
.dune-whatsnew {
  background: rgba(26, 23, 36, 0.96);
  border-left: 4px solid var(--dune-accent-bronze);
  color: var(--dune-gold);
  padding: 1.1rem 1.5rem;
  border-radius: 0.9rem;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  margin: 2rem 0 2rem 0;
  font-size: 1.08rem;
  box-shadow: 0 0 12px 0 var(--dune-accent-bronze);
  letter-spacing: 0.01em;
}
.dune-whatsnew strong {
  color: var(--dune-accent-bronze);
}

.lore-spotlight h2,
.dune-card-grid h2,
h2 {
  color: var(--dune-fg-light);
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 1.8rem 0 1rem 0;
}

/* Responsive adjustments for hero overlay */
@media (max-width: 900px) {
  .dune-hero--inner { padding: 1.3rem 0.7rem; max-width: 96vw; }
  .dune-hero { min-height: 200px; }
  .dune-card { padding: 1rem; }
}

@media (max-width: 500px) {
  .dune-hero--inner { padding: 0.8rem 0.2rem; }
  .dune-hero h1 { font-size: 1.5rem; }
}