MediaWiki:Common.css: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(608 intermediate revisions by 2 users not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;


 
400;600;700;800&display=swap'); h1, h2, h3, h4, h5, h6 {
/* =========================================================
     color: white !important;
  COLOR SCHEME ONLY ΓÇö DOES NOT TOUCH LAYOUT
     font-family: 'Arial', sans-serif;
  ========================================================= */
    font-weight: bold;
 
    text-shadow: 1px 1px 2px #000;
/* BODY & MAIN CONTENT COLORS */
body, #content, #mw-content-text, #column-content {
     background-color: #242428 !important; /* Dark stone */
     color: #D6D6C9 !important;           /* Pale sand */
}
}


/* LINKS */
h1 {
a, .mw-body a, .quest-template a, .npc-template a, table a, .wikitable a {
     font-size: 2em;
    color: #E6C98B !important;
     font-weight: bold !important;
    text-decoration: none !important;
}
a:hover, .mw-body a:hover, .quest-template a:hover, .npc-template a:hover, table a:hover, .wikitable a:hover {
    color: #F0D9A0 !important;
    text-decoration: underline !important;
}
}


/* Global style for all wiki headers */
h2 {
h1, h2, h3, h4, h5, h6 {
     font-size: 1.8em;
    color: white !important;      /* Text color */
    font-family: 'Arial', sans-serif; /* Font style */
     font-weight: bold;             /* Bold text */
    text-shadow: 1px 1px 2px #000; /* Optional: subtle shadow for readability */
}
}


/* Optional: specific size adjustments for nested headers */
h3 {
h1 { font-size: 2em; }
    font-size: 1.5em;
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
 
/* =========================================================
SideBAR
========================================================= */
 
/* Force sidebar search field to match theme (MonoBook) */
#p-search,                /* portlet wrapper */
#p-search .pBody,
#p-search .pBody form,
#p-search .pBody input,
#p-search input#searchInput,
#searchInput,
#searchInput[type="search"],
#searchInput[type="text"],
.portlet#p-search input,
.portlet#p-search input[type="text"] {
    background-color: #242428 !important;  /* your theme bg ΓÇö change if needed */
    color: #D6D6C9 !important;              /* label/text color */
    border: 1px solid #3C3C3C !important;  /* subtle border to match theme */
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: none !important;      /* remove gradients */
}
}


/* Ensure the input field itself is styled (some skins wrap it) */
h4 {
#p-search input#searchInput,
     font-size: 1.2em;
#p-search input,
input#searchInput,
.portlet#p-search input[type="text"],
#searchInput[type="search"] {
     background-color: #242428 !important;
    color: #D6D6C9 !important;
    border: 1px solid #3C3C3C !important;
    padding: 4px 6px !important;
    margin: 2px 0 !important;
    outline: none !important;
}
}


/* Placeholder text color */
h5 {
#searchInput::placeholder,
     font-size: 1em;
#searchInput::-webkit-input-placeholder,
#searchInput:-ms-input-placeholder {
     color: #9F9F8F !important; /* muted placeholder color that matches theme */
}
}


/* Search buttons */
h6 {
#searchGoButton,
     font-size: 0.9em;
#mw-searchButton,
#p-search .searchButton,
#p-search input[type="submit"] {
     background-color: #3C3C3C !important;
    color: #E6C98B !important;
    border: 1px solid #2B2B2B !important;
    box-shadow: none !important;
}
}


/* Button hover */
.job-layout {
#searchGoButton:hover,
    display: flex;
#mw-searchButton:hover,
    justify-content: center;
#p-search .searchButton:hover,
    align-items: flex-start;
#p-search input[type="submit"]:hover {
    gap: 150px;
     background-color: #2E2E31 !important;
    width: 100%;
     margin: 0 auto;
}
}


/* If the input is inside a <label> or <div> that sets white bg, neutralize it */
.job-left, .job-right {
#p-search label,
    max-width: 350px;
#p-search div,
    margin-top: 0;
#p-search .pBody,
     padding-top: 0;
#p-search .pBody * {
     background: transparent !important;
}
}


 
.job-right {
/* SIDEBAR HEADERS */
     text-align: center;
#column-one h3[id^="p-"], .portlet h5 {
    background-color: #2B2B2B !important;
    color: #CCCCCC !important;
    font-size: 1em !important;  /* Increase header size */
    line-height: 1.1em !important;
    text-transform: uppercase !important;
    display: block !important;              /* Make header full width */
    width: 100% !important;                /* Span entire sidebar */
     text-transform: uppercase !important;  /* All caps */
    border-bottom: 2px solid #7A3B12 !important; /* Match your gold/brown tone */
    padding-bottom: 1px !important;        /* Space above border */
    margin-bottom: 2px !important;         /* Space below border */
}
}


/* MonoBook Sidebar Logo Resize */
.job-artwork, .job-right img {
#p-logo {
     width: 90%;
     width: 160px !important;   /* adjust size here */
     max-width: 450px;
     height: 160px!important;
     margin: 0 auto;
     margin: 0 auto !important;    /* <-- centers it horizontally */
    padding: 0;
     display: block;
}
}


#p-logo a {
.spell-list {
     display: block !important;
     background: #1d1916 !important;
     width: 160px !important;   /* same size as above */
     border: 1px solid #E3B44A !important;
     height: 160px !important;
     color: #B9C4D1 !important;
     background-size: contain !important; /* <-- makes it scale correctly */
     padding: 6px !important;
     background-repeat: no-repeat !important;
     margin-bottom: 12px !important;
    background-position: center !important;
    margin: 0 auto !important;     /* ensure anchor is centered */
}
}


/* MonoBook ΓÇö Tools portlet container */
.spell-list__cols {
#p-tb,
     display: grid !important;
#p-tb .pBody {
     grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
     background-color: #242428 !important;   /* your dark bg */
     gap: 6px !important;
     border: 1px solid #3C3C3C !important;
     align-items: start !important;
     color: #D6D6C9 !important;
     padding: 4px 6px !important;
}
}


/* Tools header ("Tools") */
.spell-col {
#p-tb h3 {
    background: #1C2B44 !important;
     color: #E6C98B !important;             /* same gold header color you use */
    border: 1px solid #E3B44A !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
     color: #B9C4D1 !important;
}
 
.spell-row {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    min-height: 0 !important;
    height: auto !important;
     background: transparent !important;
     background: transparent !important;
     border: none !important;
     border-bottom: 1px solid rgba(227,180,74,0.06) !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
}
}


/* Individual tool links */
 
#p-tb ul li a {
 
     display: block;
.spell-data {
     background: transparent !important;
     display: flex !important;
     color: #D6D6C9 !important;
    align-items: center !important;
     gap: 1px !important;
     padding: 0 !important;
     margin: 0 !important;
     margin: 0 !important;
     padding: 2px 0 !important;
     line-height: 1 !important;
     border: none !important;
     height: auto !important;
     font-size: 1.1em !important;  /* Increase link size */
     color: #B9C4D1 !important;
    line-height: 1.25em !important;
}
}


/* Hover state */
.spell-name {
#p-tb ul li a:hover {
     padding: 0 !important;
     background-color: #2E2E31 !important;
     margin: 0 !important;
     color: #E6C98B !important;             /* gold-ish hover color */
    font-size: 16px !important;
     text-decoration: none !important;
     line-height: 1 !important;
}
}


/* Remove leftover white from nested elements */
.spell-icon img, .spell-icon-wrap img, .spell-row img {
#p-tb *,
    width: 20px !important;
#p-tb .pBody * {
    height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
     background: transparent !important;
     background: transparent !important;
    border: none !important;
}
}


/* =========================================================
.spell-divider {
Footer
    display: inline-block !important;
========================================================= */
    align-self: stretch !important;
    width: 1px !important;
    min-width: 1px !important;
    background: #F2D07A !important;
    margin: 0 3px !important;
    box-sizing: border-box !important;
}


.spell-divider * {
    background: #F2D07A !important;
}




/* =========================================================
NPC Page
========================================================= */


/* NPC TEMPLATE & QUEST */
.SpellList {
.npc-template, .quest-right, .exp-camp-wrapper {
     background: #1d1916 !important;
     background-color: #242428 !important;
     border: 1px solid #E3B44A !important;
     color: #D6D6C9 !important;
     padding: 6px !important;
}
     display: flex !important;
.npc-left, .npc-right {
     flex-wrap: wrap !important;
     background-color: #242428 !important;
     gap: 8px !important;
     color: #D6D6C9 !important;
     color: #B9C4D1 !important;
     border-color: #3C3C3C !important;
}
.npc-header, .zones-header {
     background-color: #3C3C3C !important;
     color: #E6C98B !important;
    border-bottom: 2px solid #D6B25E !important;
}
}
.npc-box, .eqoa-image-box {
    border: 1px solid #3C3C3C !important;
    background-color: #242428 !important;
}
.npc-image { text-align: center; }


/* TABLES */
.SpellRow {
.npc-table, table.info-table, table.npc-zone-table, .exp-camp-table {
    width: calc(50% - 20px) !important;
     background-color: #242428 !important;
     background: #1C2B44 !important;
     color: #D6D6C9 !important;
    border: 1px solid #E3B44A !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
     color: #B9C4D1 !important;
}
}
table.info-table tr td:first-child {
 
     background-color: #3C3C3C !important;
.spell-list table, .spell-list tr, .spell-list td, .spell-list th, .spell-col table, .spell-col tr, .spell-col td, .spell-col th {
     color: #E6C98B !important;
     background: transparent !important;
     font-weight: bold;
    border: none !important;
    padding: 0 !important;
     margin: 0 !important;
     box-shadow: none !important;
}
}
table.info-table tr:nth-child(odd) td:last-child { background-color: #242428 !important; }
table.info-table tr:nth-child(even) td:last-child { background-color: #2E2E31 !important; }
table.npc-zone-table tr:nth-child(odd):not(:first-child) { background-color: #242428 !important; }
table.npc-zone-table tr:nth-child(even):not(:first-child) { background-color: #2E2E31 !important; }


/* NPC NAME & INFOBOX */
.spell-list .box, .spell-list .mp-inner, .spell-list .mainpage-box, .spell-list .portal, .spell-list .infobox, .spell-col .infobox {
.infobox { border: 4px solid #555 !important; border-radius: 6px; }
     background: transparent !important;
.npcname-header, .infobox .npcname-row td {
     border: none !important;
     background-color: #2B2B2B !important;
     color: inherit !important;
     color: #E6C98B !important;
     border: 2px solid #D6B25E !important;
}
}


.npcname-header {
.zone-data-table {
     font-size: 30px !important;
     width: 100% !important;
     text-align: center !important;
    border-collapse: collapse !important;
     font-family: 'Nunito', sans-serif !important;
     margin-top: 20px !important;
     font-weight: 600 !important;
     font-size: 14px !important;
     letter-spacing: 1.5px;
    background: var(--wiki-panel) !important;
     color: var(--wiki-text) !important;
     border: 1px solid var(--wiki-border) !important;
}
}


 
.zone-data-table th {
/* =========================
     background: var(--wiki-panel-2) !important;
  MAIN PAGE BOXES ΓÇö LIGHTER BG
     color: var(--wiki-link) !important;
  ========================= */
     font-weight: bold !important;
/* =========================
     border: 1px solid var(--wiki-border) !important;
  MAIN PAGE BANNERS
    padding: 8px !important;
  ========================= */
.mp-banner {
     border: 2px solid #ffffff;
     padding: 2px;
     margin-bottom: 10px;
     max-width: 100%;
}
}


.mp-banner-inner {
.zone-data-table td {
     background-color: #405b74;
     background: var(--wiki-panel) !important;
     padding: 12px;
    color: var(--wiki-text) !important;
     text-align: center;
     border: 1px solid var(--wiki-border-soft) !important;
     padding: 6px !important;
}
}


.mp-banner-title {
.zone-data-table tr:nth-child(even) td {
     font-weight: bold;
     background: var(--wiki-panel-2) !important;
    color: #ffffff;
    font-size: 18px;
}
}


.mp-banner-subtitle {
.zone-data-table a {
     color: #ffffff;
     color: var(--wiki-link) !important;
     font-style: italic;
     font-weight: bold !important;
     font-size: 14px;
     text-decoration: none !important;
}
}


/* =========================
.zone-data-table a:hover {
  MAIN PAGE BOXES
    color: var(--wiki-link-hover) !important;
  ========================= */
    text-decoration: underline !important;
/* =========================
  MAIN PAGE BOXES
  ========================= */
/* FLEX COLUMNS */
.mp-flex-columns {
display: flex;
gap: 10px; flex-wrap: nowrap; /* ensures World | Character stay side by side */
}
 
/* COLUMNS */
.mp-column {
flex: 1;
min-width: 300px;
}
/* BOTTOM SECTIONS (full width) */
.mp-bottom {
width: 100%;
clear: both; /* make sure it stays below flex columns */
}
/* MAIN PAGE BOXES */
.mp-box {
background-color: #2a2a2f; /* lighter #242428 */ color: #d6d6c9; border: 2px solid #444; border-radius: 4px; padding: 10px; margin-bottom: 10px; box-sizing: border-box; } /* BANNER */ .mp-banner { background-color: #405b74; text-align: center; padding: 12px; color: #ffffff; } .mp-banner-title { font-weight: bold; font-size: 1.5em; } .mp-banner-subtitle { font-style: italic; font-size: 1em; }
 
/* BOX CONTENT */
.mp-box ul,
.mp-box li {
 
  list-style-type: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
}


.mp-box li {
.zone-data-table.zone-monster-table {
margin-bottom: 5px;
    table-layout: fixed !important;
font-size: 0.95em;
    width: 100% !important;
}
.mp-box a {  
color: #E6C98B;
font-weight: bold;  
text-decoration: none;
}
.mp-box a:hover {
color: #F0D9A0;
text-decoration: underline;  
}
}


/* Override Vector skin blue bullet icons */
.zone-quest-name,
.mw-body-content ul li {
.zone-npc-name {
    list-style: none !important;
     width: 40% !important;
    background-image: none !important;
     background: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
}


 
.zone-quest-type,
 
.zone-quest-starter,
 
.zone-quest-location {
/* =========================
     width: 20% !important;
JOB PAGE LAYOUT
========================= */
 
/* ===== Job Page Layout ===== */
.job-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* top alignment */
    gap: 150px;              /* final spacing you set */
     width: 100%;
    margin: 0 auto;
}
}


/* Left + Right sections */
.zone-npc-type,
.job-left,
.zone-npc-location {
.job-right {
     width: 30% !important;
     max-width: 350px;
    margin-top: 0;
    padding-top: 0;
}
}


/* Right artwork */
.zone-monster-name {
.job-right {
     width: 22% !important;
     text-align: center;
}
}


/* Artwork image */
.zone-monster-level {
.job-artwork,
     width: 8% !important;
.job-right img {
     text-align: center !important;
     width: 90%;
     max-width: 450px;
    margin: 0 auto;
    padding: 0;
    display: block;
}
}


/* ===== Infobox ===== */
.zone-monster-drops {
.job-infobox-table {
     width: 32% !important;
     width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 0;
    padding-top: 0;
}
}


.job-infobox-header th {
.zone-monster-family {
     background: #3c4a55;
     width: 18% !important;
    color: white;
    padding: 8px;
    text-align: center;
 
}
}


.job-infobox-label td:first-child {
.zone-monster-notes {
    background: #d3dce4;
     width: 20% !important;
     width: 40%;
    padding: 6px;
}
}


.job-infobox-label td:last-child {
.zone-data-table.zone-monster-table th,
     background: #e9eff4;
.zone-data-table.zone-monster-table td {
     padding: 6px;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
     word-break: normal !important;
     vertical-align: middle !important;
}
}


/* ===== Center Boxes Under Infobox ===== */
.zones-box {
.job-center-boxes {
     background: var(--wiki-panel) !important;
     display: flex;
     border: 1px solid var(--wiki-border) !important;
     justify-content: space-between;
    color: var(--wiki-text) !important;
     gap: 10px;
     padding: 0 !important;
     margin-top: 12px;
     margin-bottom: 12px !important;
    box-sizing: border-box !important;
}
}


.job-center-box {
.zones-header {
     background: #e2e9ef;
     background: var(--wiki-panel-2) !important;
     width: 48%;
     color: var(--wiki-link) !important;
     text-align: center;
     border-bottom: 1px solid var(--wiki-border) !important;
     padding: 6px;
     padding: 6px 8px !important;
     border-radius: 6px;
     font-weight: bold !important;
     font-weight: bold;
     font-size: 1.1em !important;
    margin: 0 !important;
    text-shadow: none !important;
}
}


.job-center-box a {
.zones-content {
     color: #003366;
    background: var(--wiki-panel) !important;
     text-decoration: none;
     color: var(--wiki-text) !important;
     padding: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
}


/* ===== Page Contents Box ===== */
.zones-content a {
.job-contents-box {
     color: var(--wiki-link) !important;
     background: #d7dee6;
     font-weight: bold !important;
    margin-top: 15px;
     text-decoration: none !important;
     padding: 10px;
    border-radius: 6px;
     font-size: 12px;
}
}


.job-contents-title {
.zones-content a:hover {
     font-weight: bold;
     color: var(--wiki-link-hover) !important;
     margin-bottom: 8px;
     text-decoration: underline !important;
}
}


/* ===== Remove borders from detail tables ===== */
.zones-content pre {
.eqoa-detail-table,
    font-size: 0 !important;
.eqoa-detail-table td {
    line-height: 1.4 !important;
    background: transparent !important;
     border: none !important;
     border: none !important;
     background: transparent !important;
     padding: 6px 8px !important;
 
    margin: 0 !important;
    white-space: normal !important;
}
}


/* ===== Class Mastery Table ===== */
.zones-content pre a {
.class-mastery-table {
    font-size: 14px !important;
     width: 100%;
    display: block !important;
     border-collapse: collapse;
    margin: 0 !important;
     background: transparent;
    padding: 0 !important;
    line-height: 1.35 !important;
     color: var(--wiki-link) !important;
     font-weight: bold !important;
     text-decoration: none !important;
}
}


.class-mastery-table th {
.zones-content pre a:hover {
    background: var(--eqoa-header-bg, #2c2c2c);
     color: var(--wiki-link-hover) !important;
     color: var(--eqoa-header-text, #e6e6e6);
     text-decoration: underline !important;
    padding: 6px 10px;
     text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #444;
}
}


.class-mastery-table td {
.zones-header, .zone-details-header {
     padding: 6px 10px;
     font-size: 1.25em !important;
    border-bottom: 1px solid #333;
}
}


.class-mastery-table,
.zones-content, .zone-details-content, .zones-content pre a, .zone-details-text {
.class-mastery-table tr,
     font-size: 16px !important;
.class-mastery-table td {
     border: none;
}
}


/* Optional manual tweak */
.zone-details-box {
.job-right {
    width: 100% !important;
     margin-top: -90px; /* preserved exactly as your final adjustment */
     margin-bottom: 12px !important;
    box-sizing: border-box !important;
}
}


 
.zone-details-row {
/* ============================================================
    display: flex !important;
  SPELL LIST ΓÇö Final Clean Version (Latest Style Preserved)
    flex-direction: column !important;
  ============================================================ */
    align-items: stretch !important;
 
    padding: 8px 6px !important;
/* MAIN CONTAINER */
    margin: 0 !important;
.spell-list {
    border-bottom: 1px solid var(--wiki-border-soft) !important;
  background: #0A1420 !important;
    background-color: var(--wiki-panel) !important;
  border: 1px solid #E3B44A !important;
    color: var(--wiki-text) !important;
  color: #B9C4D1 !important;
    box-sizing: border-box !important;
  padding: 6px !important;
  margin-bottom: 12px !important;
}
}


/* GRID COLUMNS */
.zone-details-row:nth-child(even) {
.spell-list__cols {
    background-color: var(--wiki-panel-2) !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 6px !important;
  align-items: start !important;
}
}


/* COLUMN BOX */
.zone-details-row:last-child {
.spell-col {
    border-bottom: none !important;
  background: #1C2B44 !important;
  border: 1px solid #E3B44A !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  color: #B9C4D1 !important;
}
}


/* ----------------------------------------------
.zone-details-label {
  ROW LAYOUT (compact, aligned, tight)
    display: block !important;
  ---------------------------------------------- */
    width: auto !important;
.spell-row {
    margin-bottom: 6px !important;
  display: flex !important;
    color: var(--wiki-link) !important;
  align-items: center !important;
    font-weight: 700 !important;
  padding: 0 !important;
    font-size: 1.02rem !important;
  margin: 0 !important;
    line-height: 1.1 !important;
  line-height: 1 !important;
    background: transparent !important;
  min-height: 0 !important;
    text-shadow: none !important;
  height: auto !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(227,180,74,0.06) !important;
}
}


/* LEVEL BOX ΓÇö big/gold */
.zone-details-label b {
.spell-lvl {
    color: inherit !important;
  width: 26px !important;
  min-width: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 1px 0 0 !important;
  color: #E3B44A !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}
}


/* MAIN SPELL DATA (icon + name + extra icon) */
.zone-details-text {
.spell-data {
    display: block !important;
  display: flex !important;
    width: auto !important;
  align-items: center !important;
    color: var(--wiki-text) !important;
  gap: 1px !important;
    background: transparent !important;
  padding: 0 !important;
    line-height: 1.35 !important;
  margin: 0 !important;
    font-size: 0.95rem !important;
  line-height: 1 !important;
    white-space: normal !important;
  height: auto !important;
    text-shadow: none !important;
  color: #B9C4D1 !important;
}
}


/* SPELL NAME */
.zone-details-row a, .zone-details-content a {
.spell-name {
    color: var(--wiki-link) !important;
  padding: 0 !important;
    font-weight: bold !important;
  margin: 0 !important;
    text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
}


/* ICONS (final version: 20px tight alignment) */
.zone-details-row a:hover, .zone-details-content a:hover {
.spell-icon img,
    color: var(--wiki-link-hover) !important;
.spell-icon-wrap img,
    text-decoration: underline !important;
.spell-row img {
  width: 20px !important;
  height: 20px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
}


/* VERTICAL DIVIDER (gold, full height) */
.exp-camp-wrapper {
.spell-divider {
    width: 100% !important;
  display: inline-block !important;
    margin: 18px 0 !important;
  align-self: stretch !important;
    overflow-x: auto !important;
  width: 1px !important;
  min-width: 1px !important;
  background: #F2D07A !important;
  margin: 0 3px !important;
  box-sizing: border-box !important;
 
}
}


/* If something inside divider resets background */
.exp-camp-table {
.spell-divider * {
    width: 100% !important;
  background: #F2D07A !important;
    border-collapse: collapse !important;
}
    table-layout: fixed !important;
 
    background: var(--wiki-panel) !important;
/* Alternate divider using right border */
    color: var(--wiki-text) !important;
.spell-lvl.divider-right {
    border: 1px solid var(--wiki-border) !important;
  border-right: 1px solid #F2D07A !important;
  padding-right: 4px !important;
  margin-right: 3px !important;
}
}


/* ----------------------------------------------
.exp-camp-table td {
  LEGACY SUPPORT (SpellList + SpellRow)
    background: var(--wiki-panel) !important;
  ---------------------------------------------- */
    color: var(--wiki-text) !important;
.SpellList {
    border: 1px solid var(--wiki-border-soft) !important;
  background: #0A1420 !important;
    padding: 8px 10px !important;
  border: 1px solid #E3B44A !important;
    vertical-align: top !important;
  padding: 6px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  color: #B9C4D1 !important;
}
}


.SpellRow {
.exp-camp-table tr:nth-child(even) td {
  width: calc(50% - 20px) !important;
    background: var(--wiki-panel-2) !important;
  background: #1C2B44 !important;
  border: 1px solid #E3B44A !important;
  padding: 6px 8px !important;
  box-sizing: border-box !important;
  color: #B9C4D1 !important;
}
}


/* ----------------------------------------------
.exp-camp-table th:nth-child(1), .exp-camp-table td:nth-child(1) {
  TABLE RESET (avoid MW interference)
    width: 8% !important;
  ---------------------------------------------- */
    text-align: center !important;
.spell-list table,
.spell-list tr,
.spell-list td,
.spell-list th,
.spell-col table,
.spell-col tr,
.spell-col td,
.spell-col th {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
}


/* ----------------------------------------------
.exp-camp-table th:nth-child(2), .exp-camp-table td:nth-child(2) {
  BLOCK OVERRIDE PROTECTION
    width: 15% !important;
  ---------------------------------------------- */
.spell-list .box,
.spell-list .mp-inner,
.spell-list .mainpage-box,
.spell-list .portal,
.spell-list .infobox,
.spell-col .infobox {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
}
}


/* ----------------------------------------------
.exp-camp-table th:nth-child(3), .exp-camp-table td:nth-child(3) {
  RESPONSIVE
    width: 18% !important;
  ---------------------------------------------- */
@media (max-width: 520px) {
  .spell-list__cols { grid-template-columns: 1fr !important; }
  .SpellRow { width: 100% !important; }
}
}


 
.exp-camp-table th:nth-child(4), .exp-camp-table td:nth-child(4) {
 
    width: 24% !important;
/* ----------------------------------------------
    line-height: 1.45 !important;
  Item Page
  ---------------------------------------------- */
 
/* ------------------------------
  ITEM BOX STYLES (CLEAN + FIXED)
--------------------------------*/
 
.item-box {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 12px;
  border: 1px solid #fff;
  width: 600px;
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;   /* FIX: prevents white box behind image */
}
}


.item-header {
.exp-camp-table th:nth-child(5), .exp-camp-table td:nth-child(5) {
  font-weight: bold;
    width: 35% !important;
  font-size: 2.5em;
  margin-bottom: 5px;
}
}


.item-stats div {
.exp-camp-table a, .exp-camp-table .mw-collapsible-toggle, .exp-camp-table .mw-collapsible-toggle a {
  margin: 2px 0;
    color: var(--wiki-link) !important;
  background: transparent !important; /* ensures no white behind image */
    font-weight: bold !important;
  font-size: 1.5em;
    text-decoration: none !important;
}
}


.item-attributes {
.exp-camp-table a:hover, .exp-camp-table .mw-collapsible-toggle a:hover {
  margin-top: 5px;
    color: var(--wiki-link-hover) !important;
  font-size: 1.5em;
    text-decoration: underline !important;
}
}


.item-attr-table {
.exp-camp-table th.headerSort, .exp-camp-table th.headerSortUp, .exp-camp-table th.headerSortDown {
  width: 100%;
    background: var(--wiki-panel-2) !important;
  border-collapse: collapse;
    color: var(--wiki-link) !important;
  text-align: left;
}
}


.item-attr-table th, .item-attr-table td {
.exp-camp-table caption {
  border-bottom: 1px dotted #fff;
    caption-side: top !important;
  padding: 2px 5px;
    background: var(--wiki-panel-2) !important;
}
    color: var(--wiki-heading) !important;
.item-container {
    padding: 8px 10px !important;
  display: flex;
    border: 1px solid var(--wiki-border) !important;
  flex-direction: row;
    border-bottom: none !important;
  gap: 20px;
    font-family: Georgia, "Times New Roman", serif !important;
  align-items: flex-start;
    font-size: 24px !important;
}
    font-weight: 900 !important;
 
    line-height: 1.2 !important;
/* LEFT SIDE */
    text-align: center !important;
.item-left {
  flex: 1;
}
}


/* RIGHT SIDE */
.exp-camp-table th {
.item-right {
    background: var(--wiki-panel-2) !important;
  width: 250px;
    color: var(--wiki-link) !important;
  display: flex;
    border: 1px solid var(--wiki-border) !important;
  flex-direction: column;
    padding: 8px 10px !important;
  gap: 20px;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}
}


.item-image-block {
.exp-camp-table .exp-camp-row td:nth-child(1), .exp-camp-table .exp-camp-row td:nth-child(2), .exp-camp-table .exp-camp-row td:nth-child(4), .exp-camp-table .exp-camp-row td:nth-child(3), .exp-camp-table .exp-camp-row td:nth-child(5) {
  text-align: center;
    text-align: center !important;
  border: 1px solid #aaa;
    vertical-align: middle !important;
  background: #f8f8f8;
    font-family: Georgia, "Times New Roman", serif !important;
  padding: 10px;
    font-size: 17px !important;
  border-radius: 6px;
    font-weight: 800 !important;
}
}


.item-image-label {
.exp-camp-notes .eqoa-header {
  font-weight: bold;
    font-family: Georgia, "Times New Roman", serif !important;
  margin-bottom: 5px;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}
}


.item-image {
.exp-camp-notes .eqoa-body {
  max-width: 100%;
    font-family: Georgia, "Times New Roman", serif !important;
  height: auto;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}
}


 
.items-filter-box {
/* ----------------------------------------------
    background: var(--wiki-panel) !important;
Zone Row Color
    color: var(--wiki-text) !important;
---------------------------------------------- */
    border: 1px solid var(--wiki-border) !important;
/* Shared row striping for all zone data tables */
    padding: 10px !important;
.zone-data-table tr:nth-child(odd):not(:first-child) {
    margin: 15px 0 10px 0 !important;
     background-color: #242428 !important;   /* dark row */
     box-sizing: border-box !important;
}
}


.zone-data-table tr:nth-child(even):not(:first-child) {
.items-filter-box input {
     background-color: #2E2E31 !important;   /* lighter row */
    width: 90px !important;
    margin: 4px !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
     padding: 3px !important;
}
}


/* Shared cell border + padding */
.items-filter-box button {
.zone-data-table td {
    margin-left: 8px !important;
     border: 1px solid #3C3C3C !important;
    background: var(--wiki-button-bg) !important;
     padding: 6px !important;
    color: var(--wiki-button-text) !important;
     border: 1px solid var(--wiki-border) !important;
     padding: 4px 8px !important;
    cursor: pointer !important;
}
}


/* Shared link styling */
.character-builder-box {
.zone-data-table a {
     --cb-bg: #080807;
     color: #E6C98B !important;
    --cb-panel: #1d1916;
     font-weight: bold !important;
     --cb-panel-2: #141210;
     text-decoration: none !important;
     --cb-panel-3: #1b1814;
}
    --cb-border: #3a3129;
.zone-data-table a:hover {
    --cb-border-soft: rgba(240, 180, 0, 0.22);
     color: #F0D9A0 !important;
    --cb-gold: #f0b400;
     text-decoration: underline !important;
    --cb-gold-soft: #d4a137;
}
    --cb-gold-hover: #ffd45a;
/* ============================================================
    --cb-text: #e6e1d8;
  ZONE PAGE STYLE (matching NPC/Quest color scheme)
    --cb-muted: #aaa197;
  ============================================================ */
     --cb-danger: #ff9b8f;
 
     --cb-danger-bg: rgba(130, 38, 28, 0.22);
/* Main container */
    --cb-good: #9eff9e;
.zone-left {
    --cb-blue: #8fd9ff;
     width: 100%;
    background: var(--cb-bg);
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    border-radius: 4px;
    padding: 16px;
    margin: 15px 0;
    font-family: Arial, Helvetica, sans-serif;
     line-height: 1.45;
}
}


/* Generic box (same as .npc-box) */
.character-builder-title-row {
.zones-box {
    display: flex;
     background-color: #242428 !important;
    justify-content: space-between;
     border: 1px solid #3C3C3C !important;
     align-items: center;
     color: #D6D6C9 !important;
     gap: 12px;
     padding: 0 !important;
     border-bottom: 1px solid var(--cb-border);
     margin-bottom: 12px !important;
     padding-bottom: 8px;
     margin-bottom: 14px;
}
}


/* Section header (matches .npc-header / .zones-header that you already have) */
.character-builder-title {
.zones-header {
    flex: 1;
     background-color: #3C3C3C !important;
     text-align: center;
     color: #E6C98B !important;
     color: #ffffff;
     border-bottom: 2px solid #D6B25E !important;
     font-size: 26px;
     padding: 6px 8px !important;
     font-weight: 700;
     font-weight: bold !important;
     text-shadow: 1px 1px 2px #000;
 
    margin: 0;
     font-size: 1.1em !important;
     border: 0;
     margin: 0 !important;
     padding: 0;
}
}


/* Content area */
.cb-builder-tabs {
.zones-content {
     display: flex;
     background-color: #242428 !important;
    gap: 8px;
     color: #D6D6C9 !important;
     margin: 12px 0 14px;
     padding: 8px !important;
     border-bottom: 1px solid var(--cb-border);
     margin: 0 !important;
     padding-bottom: 8px;
}
}


/* TOC row wrapper ΓÇö no layout interference */
.cb-tab-button {
.zones-toc-row {
     background: var(--cb-panel-3);
     margin-top: 10px !important;
    border: 1px solid var(--cb-border);
    border-radius: 3px;
    color: var(--cb-gold);
    cursor: pointer;
    padding: 7px 14px;
    font-weight: 700;
}
}


/* Ensure inner TOC box matches outer box style */
.cb-tab-button:hover {
.zones-toc-row .zones-box {
     background: var(--cb-panel-2);
     background-color: #242428 !important;
    color: var(--cb-gold-hover);
     border: 0px solid #3C3C3C !important;
     border-color: var(--cb-gold-soft);
}
}


/* Ensure TOC links use your global link color */
.cb-tab-active {
.zones-content a {
     background: var(--cb-gold);
    color: #E6C98B !important;
     color: #080807;
    font-weight: bold !important;
     border-color: var(--cb-gold);
    text-decoration: none !important;
}
.zones-content a:hover {
     color: #F0D9A0 !important;
    text-decoration: underline !important;
}
.zones-content *,
.zones-toc-row .zones-content * {
    background: transparent !important;
}
.zones-content {
     background-color: #242428 !important;
     border: none;
}
.zones-content,
.zones-content *,
.zones-toc-row .zones-content,
.zones-toc-row .zones-content * {
    border: none !important;
}
/* Hide literal '*' bullets inside pre while keeping links visible */
.zones-content pre {
  font-size: 0 !important;          /* make the raw text nodes invisible */
  line-height: 1.4 !important;
  background: transparent !important;
  padding: 6px 8px !important;
}
}


/* Restore readable font size for links inside the pre */
.cb-tab-panel {
.zones-content pre a {
    display: none;
  font-size: 14px !important;        /* pick your preferred size */
  display: block !important;        /* place each link on its own line */
  margin: 0 !important;
  padding: 0 !important;
  color: #E6C98B !important;
  font-weight: bold !important;
  text-decoration: none !important;
}
}


/* Hover state */
.cb-tab-panel-active {
.zones-content pre a:hover {
    display: block;
  color: #F0D9A0 !important;
  text-decoration: underline !important;
}
}


/* Zone Details Row Layout */
.character-builder-controls {
.zone-details-row {
     display: flex;
     display: block;                   /* stack child elements vertically */
    flex-wrap: wrap;
     padding: 6px 4px !important;
    gap: 8px 12px;
     border-bottom: 1px solid #3C3C3C !important;
    align-items: center;
     background-color: #242428 !important;
     background: var(--cb-panel);
     color: #D6D6C9 !important;
     border: 1px solid var(--cb-border);
     margin-bottom: 6px;
     border-radius: 4px;
     padding: 10px;
     margin-bottom: 15px;
}
}


.zone-details-row:last-child {
.character-builder-controls label {
     border-bottom: none !important;
    color: var(--cb-gold);
     font-weight: 700;
}
}


.zone-details-text {
.character-builder-controls select, .character-builder-controls input, .character-builder-controls textarea, .cb-slot-search, .cb-slot-filter, .cb-slot-sort {
     display: block;                   /* ensure text is block-level */
     background: var(--cb-bg);
     width: auto;                       /* remove fixed column width */
     color: var(--cb-text);
     color: #D6D6C9 !important;
     border: 1px solid var(--cb-border);
     background: transparent !important;
     border-radius: 3px;
     line-height: 1.3;
     padding: 6px 8px;
}
}


/* ============================================================
.character-builder-controls textarea {
  ZONE PAGE COLUMN LAYOUT ΓÇö 55% LEFT / 45% RIGHT
    resize: vertical;
  ============================================================ */
}


.zone-left, .zone-right {
.character-builder-controls select:focus, .character-builder-controls input:focus, .character-builder-controls textarea:focus, .cb-slot-search:focus, .cb-slot-filter:focus, .cb-slot-sort:focus {
     box-sizing: border-box !important;
     outline: none;
    border-color: var(--cb-gold);
    box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
}
}


.zone-left {
.character-builder-controls button, #cb-refresh-items, #cb-generate-share-url, #cb-copy-share-url, #cb-reset-build, #cb-export-card, #cb-show-bis, #cb-compare-builds {
     width: 55% !important;
     background: var(--cb-panel-3);
     float: left !important;
    border: 1px solid var(--cb-border);
     margin-right: 10px !important; /* small gap */
    border-radius: 3px;
    color: var(--cb-gold);
    cursor: pointer;
     padding: 7px 12px;
     font-weight: 700;
}
}


.zone-right {
.character-builder-controls button:hover, #cb-refresh-items:hover, #cb-generate-share-url:hover, #cb-copy-share-url:hover, #cb-reset-build:hover, #cb-export-card:hover, #cb-show-bis:hover, #cb-compare-builds:hover {
     width: 45% !important;
     background: var(--cb-panel-2);
     float: right !important;
     color: var(--cb-gold-hover);
    border-color: var(--cb-gold-soft);
}
}


/* ============================================================
.character-builder-stat-table, .character-builder-equipped-table {
  ZoneDetails & ZoneDetailsRow ΓÇö Label-as-Header (stacked)
  Replaces previous ZoneDetails rules ΓÇö paste entire block
  ============================================================ */
 
/* Wrapper inherits .zones-box styling, but we add a unique hook */
.zone-details-box {
     width: 100%;
     width: 100%;
     margin-bottom: 12px !important;
     border-collapse: collapse;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
}
}


/* Header uses your existing style, nothing extra needed */
.character-builder-stat-table th {
.zone-details-header {
     background: var(--cb-panel-3);
     /* inherits .zones-header */
    color: var(--cb-gold);
    border: 1px solid var(--cb-border);
    padding: 8px;
    text-align: center;
}
}


/* Content area inherits exact zones-content style */
.character-builder-stat-table td, .character-builder-equipped-table td {
.zone-details-content {
    background: var(--cb-panel-2);
     /* inherits .zones-content */
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    padding: 7px;
}
 
.character-builder-equipped-table td:first-child {
     color: var(--cb-gold);
    width: 35%;
    font-weight: 700;
}
}


/* Row layout: keep flex but stack children vertically so label appears above text */
.character-builder-equipment-layout {
.zone-details-row {
     display: flex !important;
     display: flex !important;
     flex-direction: column !important; /* <-- stack label above text */
     flex-direction: row !important;
     align-items: stretch !important;
     align-items: flex-start !important;
    padding: 8px 6px !important;
     gap: 16px !important;
    border-bottom: 1px solid #3C3C3C !important;
     width: 100% !important;
    background-color: #242428 !important;
     color: #D6D6C9 !important;
     margin-bottom: 6px !important;
}
}


/* Last row: remove border */
.character-builder-equipped-summary {
.zone-details-row:last-child {
    order: 1;
     border-bottom: none !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    margin-top: 36px !important;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
     border-radius: 4px;
    padding: 10px;
    position: sticky;
    top: 10px;
}
}


/* Label: styled and placed above the text (acts like a header) */
.character-builder-gear-column {
.zone-details-label {
     order: 2;
     display: block !important;
     flex: 1 1 auto !important;
    width: auto !important;
     min-width: 0 !important;
    margin-bottom: 6px !important;    /* distance between label and text */
    color: #E6C98B !important;
    font-weight: 700 !important;
     font-size: 1.02rem !important;    /* slightly larger than body text */
    line-height: 1.1 !important;
     letter-spacing: 0.2px !important;
    background: transparent !important;
}
}


/* Text: sits below the label */
.character-builder-gear-grid {
.zone-details-text {
     display: grid !important;
     display: block !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
     width: auto !important;
     gap: 8px !important;
}


     color: #D6D6C9 !important;
.character-builder-slot {
     background: transparent !important;
     background: var(--cb-panel);
     line-height: 1.35 !important;
     border: 1px solid var(--cb-border);
     font-size: 0.95rem !important;
     border-left: 3px solid var(--cb-gold);
     white-space: normal !important;   /* allow wrapping */
     border-radius: 4px;
    padding: 8px;
    display: flex;
     flex-direction: column;
}
}


/* Links keep same style */
.character-builder-slot label {
.zone-details-row a {
    display: block;
     color: #E6C98B !important;
     color: var(--cb-gold);
     font-weight: bold !important;
     font-weight: 700;
     text-decoration: none !important;
     margin-bottom: 4px;
}
}


.zone-details-row a:hover {
.cb-upgrade-toggle {
     color: #F0D9A0 !important;
    display: flex;
     text-decoration: underline !important;
    align-items: center;
    gap: 4px;
     color: var(--cb-muted);
    font-size: 12px;
    font-weight: 700;
     white-space: nowrap;
}
}


/* ============================================================
.cb-upgrade-toggle input {
  ZoneDetails ΓÇö Full styling (header matches main .zones-header)
    accent-color: var(--cb-gold);
  Replace any previous ZoneDetails / zone-details rules with this
}
  ============================================================ */


/* Wrapper inherits .zones-box styling, but we add a unique hook */
.cb-item-picker-list {
.zone-details-box {
     max-height: 120px;
     width: 100%;
     overflow-y: auto;
     margin-bottom: 12px !important;
     border: 1px solid var(--cb-border);
     box-sizing: border-box !important;
    background: var(--cb-bg);
    border-radius: 3px;
}
}


/* Header: MATCH .zones-header style (dark grey bg, gold text, gold bottom border) */
.cb-picker-item {
.zone-details-header {
     color: var(--cb-text);
     background-color: #3C3C3C !important;   /* same as .zones-header */
     padding: 4px 6px;
     color: #E6C98B !important;             /* gold header text */
     border-bottom: 1px solid rgba(240, 180, 0, 0.08);
     border-bottom: 2px solid #D6B25E !important; /* gold bottom border */
     cursor: pointer;
     padding: 6px 8px !important;
     transition: background 0.12s ease, color 0.12s ease;
     font-weight: bold !important;
    font-size: 1.1em !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    box-shadow: none !important;            /* ensure no white shadow */
    background-image: none !important;
}
}


/* Remove any inner background, pseudo-elements, or inline-block boxes inside the header */
.cb-picker-item:hover {
.zone-details-box .zone-details-header,
     background: var(--cb-panel-3);
.zone-details-box .zone-details-header * ,
     color: var(--cb-gold-hover);
.zone-details-box .zone-details-header h1,
.zone-details-box .zone-details-header h2,
.zone-details-box .zone-details-header h3,
.zone-details-box .zone-details-header h4,
.zone-details-box .zone-details-header h5,
.zone-details-box .zone-details-header h6,
.zone-details-box .zone-details-header .mw-headline,
.zone-details-box .zone-details-header .plainlinks,
.zone-details-box .zone-details-header span {
     background: transparent !important;
    background-image: none !important;
     background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
}
}


/* Remove pseudo element content that may generate small white boxes */
.cb-picker-selected {
.zone-details-box .zone-details-header::before,
    background: var(--cb-panel-3);
.zone-details-box .zone-details-header::after,
    color: var(--cb-gold-hover);
.zone-details-box .zone-details-header *::before,
     font-weight: 700;
.zone-details-box .zone-details-header *::after {
     box-shadow: inset 3px 0 0 var(--cb-gold);
    content: none !important;
     background: transparent !important;
    background-image: none !important;
     box-shadow: none !important;
}
}


/* If header contains inline children, ensure they are full-width and transparent */
.cb-picker-none {
.zone-details-box .zone-details-header > * {
     color: var(--cb-muted);
     display: block !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
}


/* Content area inherits zones-content styling (keeps consistent look) */
.cb-picker-disabled, .cb-slot-disabled-note {
.zone-details-content {
     color: var(--cb-danger);
     background-color: #242428 !important;
     padding: 4px;
    color: #D6D6C9 !important;
     font-size: 12px;
     padding: 8px !important;
     margin: 0 !important;
    border: none !important;
}
}


/* ZoneDetails rows:
.character-builder-warning-box {
  Label acts as a header above the text (stacked) and keeps the color scheme */
     background: var(--cb-danger-bg);
.zone-details-row {
     border: 1px solid rgba(220, 90, 70, 0.35);
     display: flex !important;
     border-radius: 3px;
    flex-direction: column !important; /* label above text */
     color: #ffb0a0;
    align-items: stretch !important;
     padding: 8px;
     padding: 8px 6px !important;
     margin: 10px 0;
     border-bottom: 1px solid #3C3C3C !important;
     font-size: 13px;
     background-color: #242428 !important;
     color: #D6D6C9 !important;
     margin-bottom: 6px !important;
     box-sizing: border-box !important;
}
}


.zone-details-row:last-child {
.character-builder-tooltip {
     border-bottom: none !important;
    position: absolute;
    z-index: 99999;
    background: var(--cb-bg);
    color: var(--cb-text);
    border: 1px solid var(--cb-gold-soft);
     border-radius: 4px;
    padding: 10px;
    min-width: 220px;
    max-width: 340px;
    font-size: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
    pointer-events: none;
    animation: cbTooltipFade 0.12s ease-out;
}
}


/* Label: styled to look like a small header (gold) */
.cb-tooltip-title {
.zone-details-label {
     color: var(--cb-gold-hover);
     display: block !important;
     font-weight: 700;
    width: auto !important;
     font-size: 14px;
    margin-bottom: 6px !important;    /* spacing between label and text */
     border-bottom: 1px solid var(--cb-border);
    color: #E6C98B !important;
     margin-bottom: 5px;
     font-weight: 700 !important;
     padding-bottom: 3px;
     font-size: 1.02rem !important;
     line-height: 1.1 !important;
     letter-spacing: 0.2px !important;
     background: transparent !important;
}
}


/* Text: sits below the label (pale sand color) */
.cb-tooltip-line {
.zone-details-text {
     margin: 2px 0;
     display: block !important;
    width: auto !important;
    color: #D6D6C9 !important;
    background: transparent !important;
    line-height: 1.35 !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
}
}


/* Link rules inside ZoneDetails keep global link colors */
.cb-tooltip-stats {
.zone-details-row a,
    margin-top: 5px;
.zone-details-content a {
     display: grid;
     color: #E6C98B !important;
     grid-template-columns: 1fr 1fr;
     font-weight: bold !important;
     gap: 2px 8px;
     text-decoration: none !important;
}
}


.zone-details-row a:hover,
.cb-tooltip-stats span {
.zone-details-content a:hover {
     color: var(--cb-gold);
     color: #F0D9A0 !important;
     font-weight: 700;
     text-decoration: underline !important;
}
}


/* Optional responsive behavior: restore side-by-side label/text on very wide screens
.cb-compare-tooltip {
  Uncomment if you want column layout on desktops: */
     min-width: 260px;
 
/*
@media (min-width: 1100px) {
  .zone-details-row {
     flex-direction: row !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .zone-details-label { width: 30% !important; margin-bottom: 0 !important; }
  .zone-details-text  { width: 70% !important; }
}
}
*/


 
.cb-equipped-item-name {
/* ============================================================
     color: var(--cb-gold-hover);
  CLASS INFO TABLE ΓÇö Matches EQOA global style
     cursor: pointer;
  ============================================================ */
     transition: filter 0.14s ease, text-shadow 0.14s ease;
 
.class-info-table {
     background-color: #242428 !important;  /* same as npc-box / zones-box */
    border: 1px solid #3C3C3C !important;
    color: #D6D6C9 !important;
    margin-bottom: 12px !important;
     width: 100% !important;
     box-sizing: border-box !important;
}
}


/* Header (matches .zones-header / .npc-header) */
.cb-equipped-item-name:hover {
.class-info-header {
     filter: brightness(1.12);
     background-color: #3C3C3C !important;
     text-decoration: underline;
    color: #E6C98B !important;
    border-bottom: 2px solid #D6B25E !important;
    padding: 6px 8px !important;
    font-weight: bold !important;
     font-size: 1.15em !important;
}
}


/* Inner table structure */
.cb-item-page-link {
.class-info-table-inner {
     margin-left: 6px;
     width: 100% !important;
     font-weight: 700;
     border-collapse: collapse !important;
    cursor: pointer;
     background: transparent !important;
    opacity: 0.75;
     color: var(--cb-gold);
}
}


/* Column headers (Pros / Cons) */
.cb-item-page-link:hover {
.class-info-col-header {
     opacity: 1;
     background-color: #2B2B2B !important;
     color: var(--cb-gold-hover);
     color: #E6C98B !important;
    text-align: center !important;
    padding: 6px !important;
    font-weight: bold !important;
    border-bottom: 1px solid #3C3C3C !important;
    border-right: 1px solid #D6B25E !important; /* ΓåÉ Added vertical line */
}
}


/* Ensure last header (Con) has no extra border */
.cb-overcap {
.class-info-col-header:last-child {
    color: var(--cb-good);
     border-right: none !important;
     font-weight: 700;
}
}


/* Rows striping ΓÇö matches all your other tables */
.cb-compare-positive {
.class-info-row:nth-child(odd) td {
     color: var(--cb-good);
     background-color: #242428 !important;
     animation: cbStatGainPulse 0.45s ease-out;
}
 
.class-info-row:nth-child(even) td {
     background-color: #2E2E31 !important;
}
}


/* Cell formatting */
.cb-compare-negative {
.class-info-row td {
     color: var(--cb-danger);
     padding: 6px 10px !important;
     animation: cbStatLossPulse 0.45s ease-out;
    border-bottom: 1px solid #3C3C3C !important;
     color: #D6D6C9 !important;
    vertical-align: top !important;
}
}


/* NEW: Vertical divider between Pro and Con cells */
.character-builder-stat-table td {
.class-info-row td:first-child {
    text-align: center;
     border-right: 1px solid #D6B25E !important; /* ΓåÉ New visible divider */
    font-weight: 700;
     transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
}
}


/* Links inside cells follow global rules */
.cb-stat-flash {
.class-info-row a {
     animation: cbStatFlash 0.55s ease-out;
     color: #E6C98B !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
}


.class-info-row a:hover {
.cb-rarity-common {
     color: #F0D9A0 !important;
     color: #d7d7d7;
    text-decoration: underline !important;
}
}


 
.cb-rarity-uncommon {
/******************************
     color: #6fd96f;
  RAID ENCOUNTER TABLE STYLE
*******************************/
.raid-encounter-table {
     margin: 10px 0;
}
}


/* Table frame (same as exp-camp tables) */
.cb-rarity-rare {
.raid-encounter-table .exp-camp-table {
     color: #63a9ff;
     width: 100%;
     text-shadow: 0 0 4px rgba(99,169,255,0.45);
    border-collapse: collapse;
    background-color: #242428 !important; /* dark stone */
     color: #D6D6C9 !important;            /* pale sand text */
    border: 1px solid #3C3C3C !important; /* dark border */
}
}


/* Headers ΓÇö match .npc-header / .zones-header */
.cb-rarity-ultra-rare {
.raid-encounter-table th {
     color: #d26bff;
     background-color: #3C3C3C !important; /* header gray */
     text-shadow: 0 0 6px rgba(210,107,255,0.8), 0 0 12px rgba(255,120,60,0.45);
     color: #E6C98B !important;            /* gold */
    font-size: 18px;
    font-weight: bold;
    padding: 6px 10px;
    border-bottom: 2px solid #D6B25E !important; /* gold underline */
    vertical-align: top !important; /* NEW */
}
}


/* Base row styling ΓÇö same as zone-data-table */
.cb-rarity-legendary {
.raid-encounter-table .exp-camp-row td {
     color: #b54848;
     background-color: #242428 !important;  
     text-shadow: 0 0 5px rgba(181,72,72,0.55), 0 0 12px rgba(120,20,20,0.35);
     color: #D6D6C9 !important;
     animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
     border: 1px solid #3C3C3C !important;
    padding: 6px 10px;
 
    /* Γ£à FIX: force text to top */
    vertical-align: top !important;
}
}


/* Alternating shading ΓÇö match .npc-table / .zone-data-table */
.cb-rarity-relic {
.raid-encounter-table .exp-camp-row:nth-child(even) td {
    color: #d4af37;
     background-color: #2E2E31 !important;
    text-shadow: 0 0 6px rgba(212,175,55,0.55), 0 0 14px rgba(255,220,120,0.35);
     animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
}
}


/* Increase size of <b> headers inside Raid Encounter Table */
.cb-tooltip-rarity-common {
.raid-encounter-table td b {
     border-color: #666;
     font-size: 1.75em !important;  /* adjust 1.15 ΓåÆ 1.2 / 1.3 etc */
    color: #CCCCCC!important;    /* optional gold color like your headers */
    font-weight: bold !important;
    display: block !important;    /* makes it behave like a title */
    margin-bottom: 4px !important; /* spacing below the header */
}
}


/* Style ONLY wiki links ([[ ]]) inside the Raid Encounter table */
.cb-tooltip-rarity-uncommon {
.raid-encounter-table td a {
     border-color: #5fd35f;
     font-size: 1.2em !important;    /* bigger */
    color: #E6C98B !important;       /* gold */
}
}


/* Base row styling ΓÇö remove background color here */
.cb-tooltip-rarity-rare {
.raid-encounter-table .exp-camp-row td {
     border-color: #63a9ff;
     color: #D6D6C9 !important;
    border: 1px solid #3C3C3C !important;
    padding: 6px 10px;
    vertical-align: top !important;
}
}


/* Remove base background color from all cells */
.cb-tooltip-rarity-ultra-rare {
.raid-encounter-table .exp-camp-row td {
     border-color: #b46cff;
    color: #D6D6C9 !important;
     border: 1px solid #3C3C3C !important;
    padding: 6px 10px;
    vertical-align: top !important;
    background-color: unset !important; /* ensure no inherited color */
}
}


/* Two-column alternating colors */
.cb-tooltip-rarity-legendary {
.raid-encounter-table .exp-camp-row td:nth-child(odd) {
     border-color: #b54848;
     background-color: #242428 !important; /* Color 1: dark stone */
    box-shadow: 0 0 12px rgba(181,72,72,0.45), 0 0 20px rgba(120,20,20,0.28);
}
}


.raid-encounter-table .exp-camp-row td:nth-child(even) {
.cb-tooltip-rarity-relic {
     background-color: #2E2E31 !important; /* Color 2: slightly lighter */
     border-color: #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,0.55), 0 0 24px rgba(255,215,100,0.28);
}
}


/* Target only the headers in the Raid Encounter Table */
.cb-export-card {
.raid-encounter-table th {
     width: 1200px;
     font-size: 25px !important; /* adjust size as needed */
     background: radial-gradient(circle at top, #111827 0%, #050505 60%);
     font-weight: bold !important;
     border: 3px solid #9b793d;
     color: #E6C98B !important;   /* optional: gold color */
    border-radius: 20px;
     padding: 8px 12px !important; /* optional: more spacing */
     padding: 30px;
     background-color: #3C3C3C !important; /* keep header background */
    color: #f4e6c8;
     border-bottom: 2px solid #D6B25E !important; /* gold underline */
     font-family: Georgia, serif;
     box-sizing: border-box;
}
}


/* UNIVERSAL SUPER-TIGHT RAID SPACING */
.cb-export-main-title {
 
    text-align: center;
/* shrink checkbox */
    font-size: 60px;
.raid-checkboxify input[type="checkbox"] {
     font-weight: bold;
     transform: scale(0.75);
     color: #d9a64d;
     margin: 0 4px 0 0 !important;
     letter-spacing: 2px;
     padding: 0 !important;
     line-height: 1;
     vertical-align: middle;
}
}


/* tighten link spacing */
.cb-export-sub-title {
.raid-checkboxify a {
     text-align: center;
     display: inline-block;
    font-size: 42px;
     margin: 0 !important;
     color: #d9a64d;
     padding: 0 !important;
     margin-top: 8px;
     line-height: 1.0 !important;
     margin-bottom: 14px;
}
}


/* force each checkbox/link pair onto its own line with tiny spacing */
.cb-export-top-info {
.raid-checkboxify br {
     display: flex;
    line-height: 0.03;
     gap: 20px;
}
     margin-bottom: 22px;
 
/* collapse any default spacing around list items */
.raid-checkboxify * {
     margin-top: 0 !important;
     margin-bottom: 0 !important;
     padding-top: 0 !important;
    padding-bottom: 0 !important;
}
}


.raid-checkboxify p {
.cb-export-info-box {
     margin: 0 !important;
     flex: 1;
     padding: 0 !important;
    border: 2px solid #7b5a28;
     line-height: 0.7 !important;
    border-radius: 12px;
     padding: 16px 20px;
    background: rgba(0,0,0,0.28);
     font-size: 24px;
}
}


 
.cb-export-main-grid {
body {
    display: grid;
     overflow-x: hidden !important;
     grid-template-columns: 1fr 1.1fr;
    gap: 25px;
}
}


 
.cb-export-subsection-title {
/* ============================================
     font-size: 22px;
  DARK THEME WIKITABLE STYLE (matches your wiki)
     color: #d9a64d;
  ============================================ */
     margin-bottom: 8px;
 
     font-weight: bold;
.wikitable {
     background-color: #242428 !important;
     color: #D6D6C9 !important;
     border: 1px solid #7A3E00 !important;
     border-collapse: collapse !important;
    width: 100%;
}
}


/* Table headers */
.cb-export-divider {
.wikitable > tr > th,
     border-top: 1px solid rgba(155,121,61,0.65);
.wikitable > * > tr > th {
     margin: 14px 0;
     background-color: #1A1A1D !important;
    color: #E3B44A !important;
    border: 1px solid #7A3E00 !important;
    padding: 8px 6px !important;
     text-align: left;
}
}


/* Table cells */
.cb-export-stats-grid {
.wikitable > tr > td,
     display: grid;
.wikitable > * > tr > td {
     grid-template-columns: 1fr 1fr;
     background-color: #242428 !important;
     gap: 7px 32px;
     color: #D6D6C9 !important;
     font-size: 23px;
     border: 1px solid #3A2E2A !important;
     padding: 6px 6px !important;
}
}


/* Zebra striping */
#cb-export-vitals {
.wikitable > tr:nth-child(even) > td,
     grid-template-columns: 1fr;
.wikitable > * > tr:nth-child(even) > td {
     background-color: #1E1E22 !important;
}
}


/* Sortable table indicators */
#cb-export-items {
table.sortable thead th {
    font-size: 21px;
     cursor: pointer;
     line-height: 1.38;
}
}


table.sortable thead th:hover {
.cb-export-bottom-row {
     background-color: #302F33 !important;
    display: grid;
     color: #E3B44A !important;
     grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
     margin-top: 25px;
}
}


.cb-export-bottom-box {
    min-height: 230px;
}


/* Force gold border below each data row */
.cb-export-url-box {
.class-mastery-table tr:not(.mastery-header-row) {
    font-size: 14px;
     border: 1px solid #cccccc!important;
    line-height: 1.45;
    background: rgba(0,0,0,0.45);
     border: 1px solid #7b5a28;
    padding: 12px;
    border-radius: 10px;
    word-break: break-all;
    color: #f2f2f2;
}
}


.cb-export-qr-box {
    width: 190px;
    height: 190px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}


.cb-export-notes-box {
    font-size: 19px;
    line-height: 1.35;
    background: rgba(0,0,0,0.35);
    padding: 12px;
    border-radius: 10px;
    min-height: 135px;
    white-space: pre-wrap;
    color: #f2f2f2;
}


.cb-export-panel-title, .cb-export-subsection-title {
    text-align: center;
}


.cb-export-sub-title::after, .cb-export-panel-title::after {
    content: "";
    display: block;
    width: 85%;
    height: 1px;
    margin: 10px auto 0;
    background: linear-gradient(
        to right,
        transparent,
        #9b793d,
        #d9a64d,
        #9b793d,
        transparent
    );
}


.cm-calculator-box {
    --cm-bg: #080807;
    --cm-panel: #1d1916;
    --cm-panel-2: #141210;
    --cm-panel-3: #1b1814;
    --cm-border: #3a3129;
    --cm-border-soft: rgba(240, 180, 0, 0.22);
    --cm-gold: #f0b400;
    --cm-gold-soft: #d4a137;
    --cm-gold-hover: #ffd45a;
    --cm-text: #e6e1d8;
    --cm-muted: #aaa197;
    --cm-danger: #ff9b8f;
    --cm-danger-bg: rgba(130, 38, 28, 0.22);
    --cm-good: #9eff9e;
    --cm-blue: #8fd9ff;
    background: var(--cm-bg);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    padding: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}


.cm-calculator-box .character-builder-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 8px;
    margin-bottom: 14px;
    text-shadow: 1px 1px 2px #000;
}


.cm-calculator-box .character-builder-section-title {
    color: var(--cm-gold);
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 5px;
}


.cm-calculator-box .character-builder-controls, .cm-search-tools, .cm-purchased-panel, .cm-master-class-panel, .cm-unlocked-box {
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    padding: 10px;
}


.cm-calculator-box .character-builder-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, max-content));
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 15px;
}


.cm-calculator-box label {
    color: var(--cm-gold);
    font-weight: 700;
}


.cm-calculator-box select, .cm-calculator-box input, .cm-search-input {
    background: var(--cm-bg);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    padding: 6px 8px;
}


.cm-calculator-box select:focus, .cm-calculator-box input:focus, .cm-search-input:focus {
    outline: none;
    border-color: var(--cm-gold);
    box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
}


.cm-tab-button, .cm-view-button, .cm-action-button, .cm-reset-button, .cm-clear-search-button, .cm-mini-remove-button {
    background: var(--cm-panel-3);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    color: var(--cm-gold);
    cursor: pointer;
    padding: 7px 12px;
    font-weight: 700;
}


.cm-tab-button:hover, .cm-view-button:hover, .cm-action-button:hover, .cm-reset-button:hover, .cm-clear-search-button:hover, .cm-mini-remove-button:hover {
    background: var(--cm-panel-2);
    color: var(--cm-gold-hover);
    border-color: var(--cm-gold-soft);
}


.cm-tab-active, .cm-view-active {
    background: var(--cm-gold);
    color: #080807;
    border-color: var(--cm-gold);
}


.cm-calculator-box .character-builder-stat-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
}


.cm-calculator-box .character-builder-stat-table th {
    background: var(--cm-panel-3);
    color: var(--cm-gold);
    border: 1px solid var(--cm-border);
    padding: 8px;
}


.cm-calculator-box .character-builder-stat-table td {
    background: var(--cm-panel-2);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    text-align: center;
    padding: 8px;
    font-weight: 700;
}


.cm-tabs, .cm-view-toggle, .cm-build-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}


.cm-main-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 14px;
    align-items: start;
}


#cm-mastery-panel, #cm-mastery-panel.character-builder-warning-box {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}


.cm-search-row {
    display: flex;
    gap: 8px;
}


.cm-search-input {
    flex: 1;
    min-width: 220px;
}


.cm-search-input::placeholder {
    color: var(--cm-muted);
}


.cm-lock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--cm-muted);
    font-weight: 700;
}


.cm-lock-toggle input {
    accent-color: var(--cm-gold);
}


.cm-panel-title {
    color: var(--cm-gold);
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 5px;
}


.cm-master-class-label {
    color: var(--cm-gold);
    font-weight: 700;
}


#cm-unlocked-summary {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}


.cm-unlocked-grid {
    display: grid;
    gap: 10px;
}


.cm-unlocked-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


.cm-purchased-group-title {
    color: var(--cm-gold);
    font-size: 13px;
    font-weight: 700;
    margin: 8px 0 4px;
}


.cm-purchased-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    padding: 5px 7px;
    margin-bottom: 5px;
    cursor: pointer;
}


.cm-purchased-item:hover {
    background: var(--cm-panel-3);
    border-color: var(--cm-gold-soft);
}


.cm-purchased-cost {
    color: var(--cm-gold-hover);
    font-weight: 700;
}


.cm-card {
    position: relative;
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
    border-left: 3px solid var(--cm-gold);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 9px;
    color: var(--cm-text);
    transition: background 0.12s ease, border-color 0.12s ease;
}


.cm-card:hover {
    background: var(--cm-panel-2);
    border-color: var(--cm-gold-soft);
}


.cm-purchasable-card {
    cursor: pointer;
}


.cm-card-locked {
    opacity: 0.68;
    background: #0b0a09;
    border-color: rgba(180, 80, 60, 0.35);
    cursor: not-allowed;
}


.cm-card-locked:hover {
    background: #0b0a09;
    border-color: rgba(180, 80, 60, 0.35);
}


.cm-card-title {
    color: var(--cm-gold-hover);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}


.cm-card-locked .cm-card-title {
    color: var(--cm-muted);
}


.cm-card-desc {
    color: var(--cm-muted);
    margin: 6px 0;
}


.cm-card-meta, .cm-card-req, .cm-chain-preview, .cm-unlock-hint {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 5px;
}


.cm-card-meta {
    color: var(--cm-gold);
    font-weight: 700;
}


.cm-card-req, .cm-chain-preview {
    color: var(--cm-muted);
}


.cm-unlock-hint {
    background: var(--cm-danger-bg);
    border: 1px solid rgba(220, 90, 70, 0.35);
    border-radius: 3px;
    color: #ffb0a0;
    padding: 6px 8px;
}


.cm-card-type-tag {
    display: inline-block;
    background: #080807;
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    color: var(--cm-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    text-transform: uppercase;
}


.cm-type-general {
    border-left-color: var(--cm-gold);
}


.cm-type-racial {
    border-left-color: #7ccf7a;
}


.cm-type-archetype {
    border-left-color: #7ab7ff;
}


.cm-type-class {
    border-left-color: #ff9d66;
}


.cm-type-master {
    border-left-color: #d9a3ff;
}


.cm-type-general .cm-card-type-tag {
    color: var(--cm-gold);
}


.cm-type-racial .cm-card-type-tag {
    color: #7ccf7a;
}


.cm-type-archetype .cm-card-type-tag {
    color: #7ab7ff;
}


.cm-type-class .cm-card-type-tag {
    color: #ff9d66;
}


.cm-type-master .cm-card-type-tag {
    color: #d9a3ff;
}


.cm-card-compact {
    padding: 8px 10px;
}


.cm-card-compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}


.cm-card-compact .cm-card-meta {
    margin-top: 0;
    white-space: nowrap;
}


.cm-stat-min-req {
    color: #ffcf7a;
    font-weight: 700;
}


.cm-req-owned, .cm-chain-owned {
    color: var(--cm-good);
}


.cm-req-missing {
    color: var(--cm-danger);
}


.cm-chain-current {
    color: var(--cm-gold-hover);
    font-weight: 700;
}


.cm-chain-step, .cm-chain-arrow {
    color: var(--cm-muted);
}


.cm-tooltip {
    position: fixed;
    z-index: 999999;
    width: 340px;
    pointer-events: none;
    background: #080807;
    border: 1px solid var(--cm-gold-soft);
    border-radius: 4px;
    color: var(--cm-text);
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
}


.cm-tooltip-title {
    color: var(--cm-gold-hover);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}


.cm-tooltip-desc {
    color: var(--cm-muted);
    margin-bottom: 6px;
}


.cm-tooltip-meta, .cm-tooltip-req {
    color: var(--cm-gold);
    font-size: 12px;
    margin-top: 5px;
}


.cm-tooltip-stat {
    color: #b8f2b0;
    font-size: 12px;
}


.cm-tooltip-spell-add {
    color: var(--cm-blue);
    font-size: 12px;
}


.cm-tooltip-spell-remove {
    color: var(--cm-danger);
    font-size: 12px;
}


:root, .eqoa-theme-dark {
    --wiki-bg: #100d0a;
    --wiki-panel: #19130f;
    --wiki-panel-2: #241b12;
    --wiki-border: #2c241d;
    --wiki-border-soft: #221b16;
    --wiki-text: #d8d0c4;
    --wiki-muted: #8f867a;
    --wiki-heading: #ffffff;
    --wiki-link: #d89a22;
    --wiki-link-hover: #ffb733;
    --wiki-button-bg: #2b1f14;
    --wiki-button-text: #f2e8d8;
}


.eqoa-theme-light {
    --wiki-bg: #f6f4f1;
    --wiki-panel: #ffffff;
    --wiki-panel-2: #fbfaf8;
    --wiki-border: #d8d1c7;
    --wiki-border-soft: #e6e0d8;
    --wiki-text: #2b211b;
    --wiki-muted: #665a50;
    --wiki-heading: #1f1712;
    --wiki-link: #5a3928;
    --wiki-link-hover: #8a5538;
    --wiki-button-bg: #3b2a20;
    --wiki-button-text: #ffffff;
}


html, body, #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-parser-output {
    background: var(--wiki-bg) !important;
    color: var(--wiki-text) !important;
}


h1, h2, h3, h4, h5, h6, .firstHeading {
    color: var(--wiki-heading) !important;
    text-shadow: none !important;
}


a, .mw-body a, .portlet a, .wikitable a, .mw-parser-output a {
    color: var(--wiki-link) !important;
    font-weight: 700;
    text-decoration: none;
}


a:hover, .mw-body a:hover, .portlet a:hover, .wikitable a:hover, .mw-parser-output a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline;
}


.wikitable, .toc, .catlinks, .thumbinner, .quest-template, .npc-template {
    background: var(--wiki-panel) !important;
    border-color: var(--wiki-border) !important;
    color: var(--wiki-text) !important;
}


.wikitable th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-heading) !important;
    border-color: var(--wiki-border) !important;
}


.wikitable td {
    border-color: var(--wiki-border-soft) !important;
}


input, select, textarea {
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    color: var(--wiki-text) !important;
}


.eqoa-theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 34px;
    height: 34px;
    background: var(--wiki-button-bg);
    border: 1px solid var(--wiki-border);
    border-radius: 6px;
    color: var(--wiki-button-text);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}


.eqoa-theme-toggle:hover {
    background: #6b4b38;
    color: #ffffff;
}


.eqoa-theme-light .character-builder-box, .eqoa-theme-light .cm-calculator-box {
    color-scheme: light;
}


.eqoa-theme-dark .character-builder-box, .eqoa-theme-dark .cm-calculator-box {
    color-scheme: dark;
}


html.eqoa-theme-light body, html.eqoa-theme-light #globalWrapper, html.eqoa-theme-light #column-content, html.eqoa-theme-light #column-one, html.eqoa-theme-light #content, html.eqoa-theme-light #bodyContent, html.eqoa-theme-light #mw-content-text, html.eqoa-theme-light .mw-body, html.eqoa-theme-light .mw-parser-output, html.eqoa-theme-light #p-personal, html.eqoa-theme-light #p-cactions, html.eqoa-theme-light #p-cactions ul, html.eqoa-theme-light #p-personal ul {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    background-image: none !important;
    color: #2b211b !important;
}


html.eqoa-theme-light .portlet, html.eqoa-theme-light .generated-sidebar, html.eqoa-theme-light #p-search, html.eqoa-theme-light #p-tb, html.eqoa-theme-light #p-navigation, html.eqoa-theme-light #p-logo {
    background: #f6f4f1 !important;
    border-color: #d8d1c7 !important;
    color: #2b211b !important;
}


html.eqoa-theme-light .portlet h3, html.eqoa-theme-light .generated-sidebar h3, html.eqoa-theme-light #p-search h3, html.eqoa-theme-light #p-tb h3 {
    background: #ece8e1 !important;
    border: 1px solid #d8d1c7 !important;
    color: #4a3427 !important;
}


html.eqoa-theme-light .portlet .pBody, html.eqoa-theme-light .generated-sidebar .pBody, html.eqoa-theme-light #p-search .pBody, html.eqoa-theme-light #p-tb .pBody {
    background: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}


html.eqoa-theme-light #searchInput, html.eqoa-theme-light #p-search input#searchInput, html.eqoa-theme-light #p-search input[name="search"] {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    background-image: none !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
    box-shadow: none !important;
}


html.eqoa-theme-light #searchInput:focus {
    background: #ffffff !important;
    border-color: #8a5538 !important;
}


html.eqoa-theme-light #searchGoButton, html.eqoa-theme-light #mw-searchButton, html.eqoa-theme-light input[type="submit"], html.eqoa-theme-light input[type="button"] {
    background: #3b2a20 !important;
    border: 1px solid #4a3427 !important;
    color: #ffffff !important;
}


html.eqoa-theme-light #p-cactions li, html.eqoa-theme-light #p-personal li {
    background: #f6f4f1 !important;
    border-color: #d8d1c7 !important;
}


html.eqoa-theme-light #p-cactions li a, html.eqoa-theme-light #p-personal li a {
    background: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}


html.eqoa-theme-light #p-cactions li.selected a {
    background: #ece8e1 !important;
    color: #1f1712 !important;
}


html.eqoa-theme-light body .mw-parser-output > div, html.eqoa-theme-light body .mw-parser-output > div > div, html.eqoa-theme-light body .mw-parser-output > div > div > div, html.eqoa-theme-light body .mw-parser-output table, html.eqoa-theme-light body .mw-parser-output tr, html.eqoa-theme-light body .mw-parser-output td, html.eqoa-theme-light body .mw-parser-output th, html.eqoa-theme-light body .mw-parser-output [style*="background"], html.eqoa-theme-light body .mw-parser-output [style*="background-color"], html.eqoa-theme-light body .mw-parser-output [style*="#0"], html.eqoa-theme-light body .mw-parser-output [style*="#1"], html.eqoa-theme-light body .mw-parser-output [style*="#2"], html.eqoa-theme-light body .mw-parser-output [style*="black"], html.eqoa-theme-light body .mw-parser-output [style*="brown"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}


html.eqoa-theme-light body .mw-parser-output h1, html.eqoa-theme-light body .mw-parser-output h2, html.eqoa-theme-light body .mw-parser-output h3, html.eqoa-theme-light body .mw-parser-output h4, html.eqoa-theme-light body .mw-parser-output b, html.eqoa-theme-light body .mw-parser-output strong, html.eqoa-theme-light body .mw-parser-output span, html.eqoa-theme-light body .mw-parser-output p, html.eqoa-theme-light body .mw-parser-output small, html.eqoa-theme-light body .mw-parser-output li {
    color: #2b211b !important;
}


html.eqoa-theme-light body .mw-parser-output a {
    color: #5a3928 !important;
}


 
html.eqoa-theme-light body .mw-parser-output a:hover {
 
     color: #8a5538 !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* =========================================================
  EQOA.LIVE COLOR MATCH OVERRIDE ΓÇö COLORS ONLY
  ========================================================= */
 
:root {
    --eqoa-bg: #0D0C0A;              /* main black background */
    --eqoa-bg-soft: #17130F;        /* warm dark brown-black */
    --eqoa-panel: #1D1813;          /* panel boxes */
    --eqoa-panel-2: #2A241E;        /* lighter inner boxes */
    --eqoa-border: #332A22;          /* subtle brown border */
    --eqoa-border-light: #4A4035;    /* lighter divider */
    --eqoa-gold: #F2B705;            /* Sandstorm gold */
    --eqoa-gold-soft: #D8A83A;      /* muted gold */
    --eqoa-gold-hover: #FFD45A;      /* hover gold */
     --eqoa-text: #E8E2D6;            /* warm white */
    --eqoa-muted: #AFA79B;          /* muted gray-beige */
    --eqoa-white: #FFFFFF;
}
}


/* Main page/background */
html.eqoa-theme-light body .mw-parser-output hr {
body,
    border-color: #d8d1c7 !important;
#content,
     background: #d8d1c7 !important;
#mw-content-text,
     color: #d8d1c7 !important;
#column-content,
.npc-template,
.quest-right,
.exp-camp-wrapper,
.npc-left,
.npc-right,
.npc-box,
.eqoa-image-box,
.zones-box,
.zones-content,
.zone-details-content,
.class-info-table,
.wikitable,
table.info-table,
table.npc-zone-table,
.exp-camp-table,
.zone-data-table {
     background-color: var(--eqoa-bg) !important;
     color: var(--eqoa-text) !important;
}
}


/* Main page boxes/panels */
html.eqoa-theme-light .character-builder-box, html.eqoa-theme-light .cm-calculator-box {
.mp-box,
     background: #f6f4f1 !important;
.spell-list,
     color: #2b211b !important;
.SpellList,
.spell-col,
.SpellRow,
.item-box,
#p-tb,
#p-tb .pBody,
#p-search,
#p-search .pBody {
     background-color: var(--eqoa-panel) !important;
     color: var(--eqoa-text) !important;
    border-color: var(--eqoa-border-light) !important;
}
}


/* Alternate rows */
html.eqoa-theme-dark .character-builder-box, html.eqoa-theme-dark .cm-calculator-box {
table.info-table tr:nth-child(even) td:last-child,
    background: #080808 !important;
table.npc-zone-table tr:nth-child(even):not(:first-child),
     color: #eeeeee !important;
.zone-data-table tr:nth-child(even):not(:first-child),
.class-info-row:nth-child(even) td,
.wikitable > tr:nth-child(even) > td,
.wikitable > * > tr:nth-child(even) > td,
.raid-encounter-table .exp-camp-row td:nth-child(even) {
     background-color: var(--eqoa-bg-soft) !important;
}
}


/* Headers ΓÇö remove blue look */
.eqoa-item-page {
.npc-header,
    max-width: 1100px;
.zones-header,
     margin: 20px auto;
.zone-details-header,
     color: var(--wiki-text);
.class-info-header,
     font-family: Arial, sans-serif;
.raid-encounter-table th,
.wikitable > tr > th,
.wikitable > * > tr > th,
.job-infobox-header th,
.npcname-header,
.infobox .npcname-row td,
.class-info-col-header,
#column-one h3[id^="p-"],
.portlet h5 {
     background-color: var(--eqoa-bg-soft) !important;
     color: var(--eqoa-gold) !important;
     border-color: var(--eqoa-border-light) !important;
}
}


/* Main page banner ΓÇö EQOA.live does not use blue */
.eqoa-item-left {
.mp-banner,
     display: flex;
.mp-banner-inner {
     flex-direction: column;
     background-color: var(--eqoa-panel) !important;
     gap: 18px;
     color: var(--eqoa-white) !important;
     border-color: var(--eqoa-border-light) !important;
}
}


/* Links */
.eqoa-section {
a,
    background: var(--wiki-panel) !important;
.mw-body a,
    color: var(--wiki-text) !important;
.quest-template a,
     border: 1px solid var(--wiki-border) !important;
.npc-template a,
    box-shadow: none !important;
table a,
.wikitable a,
.mp-box a,
.zones-content a,
.zone-details-row a,
.zone-details-content a,
.class-info-row a,
.zone-data-table a,
.raid-encounter-table td a {
     color: var(--eqoa-gold) !important;
}
}


a:hover,
.eqoa-section-title {
.mw-body a:hover,
    padding: 10px 14px;
.quest-template a:hover,
    font-size: 24px;
.npc-template a:hover,
    color: var(--wiki-link) !important;
table a:hover,
    border-bottom: 1px solid var(--wiki-border) !important;
.wikitable a:hover,
     background: var(--wiki-panel-2) !important;
.mp-box a:hover,
    text-transform: uppercase;
.zones-content a:hover,
    letter-spacing: 1px;
.zone-details-row a:hover,
    text-shadow: none !important;
.zone-details-content a:hover,
.class-info-row a:hover,
.zone-data-table a:hover {
     color: var(--eqoa-gold-hover) !important;
}
}


/* Text */
.eqoa-section-content {
h1, h2, h3, h4, h5, h6 {
    padding: 14px;
     color: var(--eqoa-white) !important;
    font-size: 18px;
     text-shadow: 1px 1px 2px #000 !important;
    line-height: 1.45;
     color: var(--wiki-text) !important;
     background: var(--wiki-panel) !important;
}
}


.zone-details-label,
.eqoa-section a {
.spell-lvl,
     color: var(--wiki-link) !important;
#p-tb h3 {
    text-decoration: none !important;
     color: var(--eqoa-gold) !important;
    font-weight: bold !important;
 
}
}


.zone-details-text,
.eqoa-section a:hover {
.spell-data,
     color: var(--wiki-link-hover) !important;
.spell-name,
    text-decoration: underline !important;
.class-info-row td,
    text-shadow: none !important;
.wikitable td {
     color: var(--eqoa-text) !important;
}
}


/* Borders */
.eqoa-itembox-name {
.npc-left,
    font-size: 34px;
.npc-right,
    margin-bottom: 16px;
.npc-box,
     color: var(--wiki-heading) !important;
.eqoa-image-box,
    text-shadow: none !important;
.zones-box,
.zone-details-row,
.class-info-table,
.class-info-row td,
.zone-data-table td,
.wikitable,
.wikitable > tr > th,
.wikitable > * > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > td,
.raid-encounter-table .exp-camp-table,
.raid-encounter-table .exp-camp-row td,
.spell-list,
.SpellList,
.spell-col,
.SpellRow,
.mp-box {
     border-color: var(--eqoa-border-light) !important;
}
}


/* Sidebar */
.eqoa-itembox-line {
#column-one,
     line-height: 1.05;
#column-one .portlet,
#column-one .pBody {
     background-color: var(--eqoa-bg) !important;
    color: var(--eqoa-text) !important;
}
}


/* Search box */
.eqoa-itembox-flags {
#searchInput,
     margin-top: 8px;
#searchInput[type="search"],
     margin-bottom: 8px;
#searchInput[type="text"],
     line-height: 1.05;
#p-search input,
.portlet#p-search input[type="text"] {
     background-color: var(--eqoa-bg-soft) !important;
     color: var(--eqoa-text) !important;
     border-color: var(--eqoa-border-light) !important;
}
}


#searchInput::placeholder {
.eqoa-itembox-stats div {
     color: var(--eqoa-muted) !important;
     line-height: 1.05;
}
}


#searchGoButton,
.eqoa-itembox-desc {
#mw-searchButton,
    margin-top: 12px;
#p-search .searchButton,
     font-size: 22px;
#p-search input[type="submit"] {
     color: var(--wiki-muted) !important;
     background-color: var(--eqoa-panel-2) !important;
     text-shadow: none !important;
     color: var(--eqoa-gold) !important;
     border-color: var(--eqoa-border-light) !important;
}
}


#searchGoButton:hover,
.eqoa-itembox {
#mw-searchButton:hover,
     background: var(--wiki-panel) !important;
#p-search .searchButton:hover,
     border: 2px solid var(--wiki-border) !important;
#p-search input[type="submit"]:hover {
    box-shadow: none !important;
     background-color: var(--eqoa-bg-soft) !important;
    padding: 20px 26px;
     color: var(--eqoa-gold-hover) !important;
     color: var(--wiki-text) !important;
}
     font-family: monospace;
 
    font-size: 28px;
/* Job page light boxes converted */
    line-height: 1;
.job-infobox-label td:first-child,
    text-shadow: none !important;
.job-infobox-label td:last-child,
    margin-left: auto;
.job-center-box,
    margin-right: auto;
.job-contents-box {
     background-color: var(--eqoa-panel) !important;
     color: var(--eqoa-text) !important;
}
}


.job-center-box a {
.eqoa-related-item-tooltip {
     color: var(--eqoa-gold) !important;
    position: absolute;
    z-index: 999999;
    width: 330px;
    background: var(--wiki-panel) !important;
     color: var(--wiki-text) !important;
    border: 2px solid var(--wiki-border) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28) !important;
    padding: 12px 14px;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.15;
    text-shadow: none !important;
    pointer-events: none;
}
}


/* Item image block */
.eqoa-related-tooltip-title {
.item-image-block {
     font-size: 20px;
     background-color: var(--eqoa-panel) !important;
    color: var(--wiki-heading) !important;
     border-color: var(--eqoa-border-light) !important;
     margin-bottom: 8px;
     color: var(--eqoa-text) !important;
     text-shadow: none !important;
}
}


 
.eqoa-related-tooltip-stats {
 
     margin-top: 8px;
 
/* =========================================================
  EQOA.LIVE FINAL TUNING ΓÇö LESS BROWN, MORE BLACK/CHARCOAL
  ========================================================= */
 
:root {
    --eqoa-bg: #080807;
    --eqoa-bg-soft: #11100E;
    --eqoa-panel: #141210;
    --eqoa-panel-2: #1B1814;
    --eqoa-border: #2F2A24;
    --eqoa-border-light: #4A4035;
    --eqoa-gold: #F0B400;
    --eqoa-gold-soft: #D4A137;
     --eqoa-gold-hover: #FFD45A;
    --eqoa-text: #E6E1D8;
    --eqoa-muted: #9E978C;
}
}


/* Make main body closer to eqoa.live */
.eqoa-related-tooltip-stats div {
body,
     line-height: 1.15;
#content,
#mw-content-text,
#column-content {
     background-color: #080807 !important;
}
}


/* Darken all major content boxes */
.eqoa-related-tooltip-stats span {
.mp-box,
    color: var(--wiki-heading) !important;
.mp-banner,
     text-shadow: none !important;
.mp-banner-inner,
.npc-box,
.zones-box,
.zone-details-content,
.class-info-table,
.wikitable,
.exp-camp-table,
.raid-encounter-table .exp-camp-table {
     background-color: #141210 !important;
}
}


/* New? Start Here box / main page sections */
.eqoa-related-item-tooltip .cb-rarity-common {
.mp-box,
     color: #d7d7d7 !important;
.npc-template,
.quest-right,
.exp-camp-wrapper {
     background-color: #141210 !important;
    border-color: #3A3129 !important;
}
}


/* Make headers less panel-blue/brown and more eqoa.live black */
.eqoa-related-item-tooltip .cb-rarity-uncommon {
.npc-header,
     color: #6fd96f !important;
.zones-header,
.zone-details-header,
.class-info-header,
.raid-encounter-table th,
.wikitable > tr > th,
.wikitable > * > tr > th,
#column-one h3[id^="p-"],
.portlet h5 {
     background-color: #11100E !important;
    color: #F0B400 !important;
    border-bottom-color: #3A3129 !important;
}
}


/* Thin divider lines closer to eqoa.live */
.eqoa-related-item-tooltip .cb-rarity-rare {
.mp-box,
     color: #63a9ff !important;
.mp-banner,
    text-shadow: 0 0 4px rgba(99,169,255,0.45) !important;
.npc-box,
.zones-box,
.zone-details-row,
.class-info-table,
.wikitable,
.zone-data-table td {
     border-color: #3A3129 !important;
}
}


/* Sidebar should be almost black */
.eqoa-related-item-tooltip .cb-rarity-ultra-rare {
#column-one,
     color: #d26bff !important;
#column-one .portlet,
     text-shadow: 0 0 6px rgba(210,107,255,0.8),
#column-one .pBody,
        0 0 12px rgba(255,120,60,0.45) !important;
#p-search,
#p-search .pBody,
#p-tb,
#p-tb .pBody {
     background-color: #080807 !important;
     border-color: #2F2A24 !important;
}
}


/* Search input/button darker */
.eqoa-related-item-tooltip .cb-rarity-legendary {
#searchInput,
     color: #b54848 !important;
#searchInput[type="search"],
     text-shadow: 0 0 5px rgba(181,72,72,0.55),
#searchInput[type="text"],
        0 0 12px rgba(120,20,20,0.35) !important;
#p-search input {
     animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
     background-color: #11100E !important;
     color: #E6E1D8 !important;
     border-color: #3A3129 !important;
}
}


#searchGoButton,
.eqoa-related-item-tooltip .cb-rarity-relic {
#mw-searchButton,
     color: #d4af37 !important;
#p-search .searchButton,
     text-shadow: 0 0 6px rgba(212,175,55,0.55),
#p-search input[type="submit"] {
        0 0 14px rgba(255,220,120,0.35) !important;
     background-color: #1B1814 !important;
     animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
     color: #F0B400 !important;
     border-color: #3A3129 !important;
}
}


/* Links: stronger Sandstorm yellow */
.eqoa-related-item-tooltip.tooltip-rarity-common {
a,
     border-color: #666 !important;
.mw-body a,
.quest-template a,
.npc-template a,
table a,
.wikitable a,
.mp-box a,
.zones-content a,
.zone-details-row a,
.zone-details-content a,
.class-info-row a,
.zone-data-table a,
.raid-encounter-table td a {
     color: #F0B400 !important;
}
}


/* White text closer to site */
.eqoa-related-item-tooltip.tooltip-rarity-uncommon {
body,
     border-color: #5fd35f !important;
#content,
#mw-content-text,
#column-content,
.mp-box,
.zones-content,
.zone-details-text,
.class-info-row td,
.wikitable td {
     color: #E6E1D8 !important;
}
}


/* Muted text */
.eqoa-related-item-tooltip.tooltip-rarity-rare {
.mp-banner-subtitle,
     border-color: #63a9ff !important;
small,
    box-shadow: 0 0 12px rgba(99,169,255,0.35),
.mw-body-content,
        0 0 20px rgba(0,0,0,0.65) !important;
.zone-details-text {
     color: #C9C1B5 !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-ultra-rare {
    border-color: #b46cff !important;
    box-shadow: 0 0 12px rgba(180,108,255,0.45),
        0 0 20px rgba(210,107,255,0.25),
        0 0 24px rgba(0,0,0,0.65) !important;
}


/* =========================================================
.eqoa-related-item-tooltip.tooltip-rarity-legendary {
  EXP CAMP TABLE ΓÇö GRID STYLE + COLLAPSIBLE
    border-color: #b54848 !important;
  ========================================================= */
    box-shadow: 0 0 12px rgba(181,72,72,0.45),
        0 0 20px rgba(120,20,20,0.28),
        0 0 24px rgba(0,0,0,0.65) !important;
}


.exp-camp-wrapper {
.eqoa-related-item-tooltip.tooltip-rarity-relic {
     width: 100% !important;
     border-color: #d4af37 !important;
     margin: 18px 0 !important;
     box-shadow: 0 0 12px rgba(212,175,55,0.55),
    overflow-x: auto !important;
        0 0 24px rgba(255,215,100,0.28),
        0 0 24px rgba(0,0,0,0.65) !important;
}
}


.exp-camp-table {
.eqoa-npc-page {
     width: 100% !important;
     background: var(--wiki-bg) !important;
    border-collapse: collapse !important;
     color: var(--wiki-text) !important;
    table-layout: fixed !important;
     padding: 0;
     background-color: #080807 !important;
     margin: 0;
     color: #E6E1D8 !important;
     border: 1px solid #4A4035 !important;
}
}


/* Caption/header above table */
.eqoa-npc-top-row {
.exp-camp-table caption {
     display: flex;
    caption-side: top !important;
     flex-wrap: wrap;
    background-color: #11100E !important;
     gap: 10px;
    color: #FFFFFF !important;
     align-items: flex-start;
     font-size: 1.1em !important;
     font-weight: bold !important;
     padding: 8px 10px !important;
     border: 1px solid #4A4035 !important;
    border-bottom: none !important;
    text-align: center !important;
}
}


/* Header row */
.eqoa-npc-info-box, .eqoa-npc-zones-box {
.exp-camp-table th {
     background: var(--wiki-panel) !important;
     background-color: #1B1814 !important;
     color: var(--wiki-text) !important;
     color: #F0B400 !important;
     border: 2px solid var(--wiki-border) !important;
     border: 1px solid #4A4035 !important;
     margin: 0 0 12px 0;
    padding: 8px 10px !important;
    text-align: center !important;
    font-weight: bold !important;
     vertical-align: middle !important;
}
}


/* Data cells */
.eqoa-npc-info-box {
.exp-camp-table td {
     flex: 1;
     background-color: #141210 !important;
     min-width: 340px;
    color: #E6E1D8 !important;
    border: 1px solid #4A4035 !important;
    padding: 8px 10px !important;
     vertical-align: top !important;
}
}


/* Alternating row color */
.eqoa-npc-image-box {
.exp-camp-table tr:nth-child(even) td {
    flex: 1;
     background-color: #11100E !important;
    min-width: 260px;
    background: var(--wiki-panel) !important;
     border: 1px solid var(--wiki-border) !important;
    padding: 6px;
    text-align: center;
}
}


.exp-camp-table tr:nth-child(odd) td {
.eqoa-npc-caption {
     background-color: #141210 !important;
     font-size: smaller;
    color: var(--wiki-muted) !important;
    margin-top: 4px;
}
}


/* Column widths */
.eqoa-npc-zones-box {
.exp-camp-table th:nth-child(1),
     margin-top: 10px;
.exp-camp-table td:nth-child(1) {
     width: 8% !important;
    text-align: center !important;
}
}


.exp-camp-table th:nth-child(2),
.eqoa-npc-info-table, .eqoa-npc-info-table tr, .eqoa-npc-info-table td {
.exp-camp-table td:nth-child(2) {
    width: 100%;
     width: 15% !important;
    border-collapse: collapse;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
     border-color: var(--wiki-border-soft) !important;
}
}


.exp-camp-table th:nth-child(3),
.eqoa-npc-info-table td {
.exp-camp-table td:nth-child(3) {
     padding: 6px 8px !important;
     width: 18% !important;
}
}


.exp-camp-table th:nth-child(4),
.eqoa-npc-info-table td:first-child {
.exp-camp-table td:nth-child(4) {
    width: 28%;
     width: 24% !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
     font-weight: bold !important;
}
}


.exp-camp-table th:nth-child(5),
.eqoa-npc-info-table td:last-child {
.exp-camp-table td:nth-child(5) {
    background: var(--wiki-panel) !important;
     width: 35% !important;
     color: var(--wiki-text) !important;
}
}


/* Links inside table */
.eqoa-npc-zone-table {
.exp-camp-table a {
     width: 100%;
     color: #F0B400 !important;
    border-collapse: collapse;
     font-weight: bold !important;
    text-align: center;
 
    margin: 0;
     text-decoration: none !important;
    border: 1px solid var(--wiki-border) !important;
     background: var(--wiki-panel) !important;
     color: var(--wiki-text) !important;
}
}


.exp-camp-table a:hover {
.eqoa-npc-zone-table th {
     color: #FFD45A !important;
    background: var(--wiki-panel-2) !important;
     text-decoration: underline !important;
     color: var(--wiki-link) !important;
     border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
}
}


/* Keep NPC list readable */
.eqoa-npc-zone-table td {
.exp-camp-table td:nth-child(4) {
    background: var(--wiki-panel) !important;
     line-height: 1.45 !important;
    color: var(--wiki-text) !important;
     border: 1px solid var(--wiki-border-soft) !important;
    padding: 7px !important;
}
}


/* Keep collapse/expand text visible */
.eqoa-npc-zone-table tr:nth-child(even) td {
.exp-camp-table .mw-collapsible-toggle,
     background: var(--wiki-panel-2) !important;
.exp-camp-table .mw-collapsible-toggle a {
     color: #F0B400 !important;
    font-weight: bold !important;
}
}


/* Sort arrows visible */
.eqoa-npc-legend {
.exp-camp-table th.headerSort,
     width: 100%;
.exp-camp-table th.headerSortUp,
     border-collapse: collapse;
.exp-camp-table th.headerSortDown {
     margin: 0;
     background-color: #1B1814 !important;
     background: var(--wiki-panel-2) !important;
     color: #F0B400 !important;
     color: var(--wiki-text) !important;
}
 
 
/* =========================================================
  LYCAN GUIDE SECTIONS ΓÇö FULL BOXED STYLE
  ========================================================= */
 
.lycan-section-wrapper {
    display: block !important;
     width: 100% !important;
     margin: 14px 0 !important;
     clear: both !important;
}
}


.lycan-section-table {
.eqoa-npc-legend td {
     display: table !important;
     padding: 6px 8px !important;
     width: 100% !important;
     background: var(--wiki-panel-2) !important;
    min-width: 100% !important;
     color: var(--wiki-text) !important;
    border-collapse: collapse !important;
     border-top: 1px solid var(--wiki-border) !important;
    table-layout: fixed !important;
    background-color: #141210 !important;
     color: #E6E1D8 !important;
     border: 1px solid #4A4035 !important;
}
}


/* Header bar */
.eqoa-npc-section {
.lycan-section-table caption {
     margin-top: 12px !important;
     display: table-caption !important;
    caption-side: top !important;
    width: auto !important;
    background-color: #11100E !important;
    color: #FFFFFF !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    padding: 8px 10px !important;
    border: 1px solid #4A4035 !important;
    border-bottom: none !important;
    text-align: center !important;
}
}


/* Content box */
html.eqoa-theme-light .eqoa-npc-page, html.eqoa-theme-light .eqoa-npc-info-box, html.eqoa-theme-light .eqoa-npc-zones-box, html.eqoa-theme-light .eqoa-npc-image-box {
.lycan-section-table td {
     background: var(--wiki-panel) !important;
     display: table-cell !important;
     color: var(--wiki-text) !important;
    width: 100% !important;
     border-color: var(--wiki-border) !important;
    background-color: #141210 !important;
     color: #E6E1D8 !important;
     border: 1px solid #4A4035 !important;
    padding: 12px !important;
    vertical-align: top !important;
}
}


/* Links */
html.eqoa-theme-light .raid-list__title,
.lycan-section-table a {
html.eqoa-theme-light .raid-list__section-title,
     color: #F0B400 !important;
html.eqoa-theme-light .raid-encounter-table b,
     font-weight: bold !important;
html.eqoa-theme-light .raid-checkboxify b,
     text-decoration: none !important;
html.eqoa-theme-light .eqoa-header,
}
html.eqoa-theme-light .spell-list__title,
html.eqoa-theme-light .npcname-header,
html.eqoa-theme-light .zones-header,
html.eqoa-theme-light .zone-details-header,
html.eqoa-theme-light .zone-info-table .zone-info-title,
html.eqoa-theme-light h2#quests,
html.eqoa-theme-light h2#npcs,
html.eqoa-theme-light h2#rare,
html.eqoa-theme-light h2#regular,
html.eqoa-theme-light h2#items {
     display: flex !important;
     align-items: center !important;
     justify-content: center !important;


.lycan-section-table a:hover {
    min-height: 36px !important;
    color: #FFD45A !important;
     line-height: 20px !important;
     text-decoration: underline !important;
}


/* Expand / Collapse */
    margin: 0 0 8px 0 !important;
.lycan-section-table .mw-collapsible-toggle {
     padding: 0 12px !important;
     float: right !important;
     box-sizing: border-box !important;
     margin-right: 8px !important;
}


.lycan-section-table .mw-collapsible-toggle,
    background: rgb(74, 53, 24) !important;
.lycan-section-table .mw-collapsible-toggle a {
    background-color: rgb(74, 53, 24) !important;
    color: #F0B400 !important;
     background-image: none !important;
     font-weight: bold !important;
}


    color: rgb(216, 154, 34) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;


    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow: hidden !important;
}


html.eqoa-theme-light .raid-list__title *,
html.eqoa-theme-light .raid-list__section-title *,
html.eqoa-theme-light .eqoa-header *,
html.eqoa-theme-light .spell-list__title *,
html.eqoa-theme-light .npcname-header *,
html.eqoa-theme-light .zones-header *,
html.eqoa-theme-light .zone-details-header *,
html.eqoa-theme-light .zone-info-table .zone-info-title *,
html.eqoa-theme-light h2#quests *,
html.eqoa-theme-light h2#npcs *,
html.eqoa-theme-light h2#rare *,
html.eqoa-theme-light h2#regular *,
html.eqoa-theme-light h2#items * {
    color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}


html.eqoa-theme-light .raid-list__title,
html.eqoa-theme-light .raid-list__title .mw-headline,
html.eqoa-theme-light .raid-list__section-title,
html.eqoa-theme-light .raid-list__section-title *,
html.eqoa-theme-light .raid-encounter-table b,
html.eqoa-theme-light .raid-checkboxify b {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;


/* =========================================================
    color: rgb(250, 248, 245) !important;
  LYCAN SPAWN TABLE
    border: 0 !important;
  ========================================================= */
    border-radius: 4px !important;
    box-shadow: none !important;


.lycan-spawn-table {
     text-shadow: none !important;
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
     background-color: #141210 !important;
    color: #E6E1D8 !important;
}
}


/* Header */
html.eqoa-theme-light .eqoa-header,
.lycan-spawn-table th {
html.eqoa-theme-light div.eqoa-header {
     background-color: #1B1814 !important;
     display: flex !important;
     color: #F0B400 !important;
     align-items: center !important;
    border: 1px solid #4A4035 !important;
     justify-content: center !important;
    padding: 10px !important;
    text-align: center !important;
     font-weight: bold !important;
}


/* Cells */
     min-height: 36px !important;
.lycan-spawn-table td {
     line-height: 20px !important;
     background-color: #141210 !important;
    color: #E6E1D8 !important;
     border: 1px solid #4A4035 !important;
    padding: 10px !important;
    vertical-align: top !important;
}


/* Alternate row shading */
    margin: 0 0 8px 0 !important;
.lycan-spawn-table tr:nth-child(even) td {
    padding: 0 12px !important;
     background-color: #11100E !important;
     box-sizing: border-box !important;
}


/* Column sizing */
    background: rgb(60, 40, 27) !important;
.lycan-col-name {
    background-color: rgb(60, 40, 27) !important;
     width: 22% !important;
     background-image: none !important;
}


.lycan-col-level {
    color: rgb(250, 248, 245) !important;
     width: 12% !important;
    border: 0 !important;
}
    border-radius: 4px !important;
     box-shadow: none !important;


.lycan-col-zone {
    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
     width: 38% !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
     overflow: hidden !important;
}
}


.lycan-col-notes {
    width: 28% !important;
}


/* Links */
.eqoa-page-title,
.lycan-spawn-table a {
.eqoa-section-title,
     color: #F0B400 !important;
h1.eqoa-page-title,
     font-weight: bold !important;
h2.eqoa-page-title,
     text-decoration: none !important;
h3.eqoa-page-title,
}
h4.eqoa-page-title,
h5.eqoa-page-title,
h6.eqoa-page-title {
     display: flex !important;
     align-items: center !important;
     justify-content: center !important;


.lycan-spawn-table a:hover {
    min-height: 36px !important;
    color: #FFD45A !important;
     line-height: 20px !important;
     text-decoration: underline !important;
}


/* =========================================================
    margin: 0 0 8px 0 !important;
  LYCAN TABLE HEADER
    padding: 0 12px !important;
  ========================================================= */
    box-sizing: border-box !important;
 
    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;
 
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 4px !important;
    box-shadow: none !important;


.lycan-table-header {
    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    width: 100% !important;
     font-size: 14px !important;
     background-color: #11100E !important;
     font-weight: 700 !important;
    color: #FFFFFF !important;
     border: 1px solid #4A4035 !important;
    border-bottom: none !important;
    padding: 10px !important;
     text-align: center !important;
     text-align: center !important;
     font-size: 18px !important;
     text-shadow: none !important;
    font-weight: bold !important;
    margin-top: 18px !important;
}
}


.eqoa-page-title *,
.eqoa-section-title *,
.eqoa-page-title .mw-headline,
.eqoa-section-title .mw-headline {
    color: inherit !important;
    text-shadow: none !important;
}


.raid-list .raid-list__col b,
.raid-checkboxify b {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;


    min-height: 36px !important;
    line-height: 20px !important;


    margin: 0 0 4px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;


    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;


    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 4px !important;
    box-shadow: none !important;


    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
}


html.eqoa-theme-light .raid-list .raid-list__col b,
html.eqoa-theme-light .raid-checkboxify b {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;


 
    color: rgb(250, 248, 245) !important;
.zone-directory-table {
    border: 0 !important;
  width: 100%;
    text-shadow: none !important;
  border-collapse: collapse;
  background: #17130f;
  border: 1px solid #5b4a38;
}
}


.zone-directory-table caption {
html.eqoa-theme-light .raid-checkboxify label,
  font-size: 28px;
html.eqoa-theme-light .raid-list .raid-list__col label {
  font-weight: bold;
    background: rgb(246, 244, 241) !important;
  color: #f0b400;
    background-color: rgb(246, 244, 241) !important;
  padding: 10px;
    background-image: none !important;
  text-align: center;
}


.zone-directory-table th {
    color: #111111 !important;
  color: #f0b400;
    border-bottom: 1px solid #d8d1c7 !important;
  background: #1f1711;
  border: 1px solid #5b4a38;
  padding: 8px;
  text-align: center;
}
}


.zone-directory-table td {
html.eqoa-theme-light .raid-checkboxify label a,
  border: 1px solid #5b4a38;
html.eqoa-theme-light .raid-list .raid-list__col label a,
  padding: 10px;
html.eqoa-theme-light .raid-checkboxify label a:visited,
  vertical-align: top;
html.eqoa-theme-light .raid-list .raid-list__col label a:visited {
    color: #111111 !important;
    text-shadow: none !important;
}
}


.zone-list-left {
html.eqoa-theme-light .raid-checkboxify label a:hover,
  width: 28%;
html.eqoa-theme-light .raid-list .raid-list__col label a:hover {
    color: #4a2f1f !important;
    text-decoration: underline !important;
}
}


.zone-map-middle {
html.eqoa-theme-light .eqoa-page-title,
  width: 44%;
html.eqoa-theme-light .eqoa-section-title,
  text-align: center;
html.eqoa-theme-light h1.eqoa-page-title,
}
html.eqoa-theme-light h2.eqoa-page-title,
html.eqoa-theme-light h3.eqoa-page-title,
html.eqoa-theme-light h4.eqoa-page-title,
html.eqoa-theme-light h5.eqoa-page-title,
html.eqoa-theme-light h6.eqoa-page-title {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;


.zone-list-right {
    color: rgb(250, 248, 245) !important;
  width: 28%;
    border: 0 !important;
}
}


.zone-map-middle img {
html.eqoa-theme-light .eqoa-page-title *,
  max-width: 100%;
html.eqoa-theme-light .eqoa-section-title *,
  height: auto;
html.eqoa-theme-light .eqoa-page-title .mw-headline,
html.eqoa-theme-light .eqoa-section-title .mw-headline {
    color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}
}


 
html.eqoa-theme-light .eqoa-npc-info-table, html.eqoa-theme-light .eqoa-npc-info-table tr, html.eqoa-theme-light .eqoa-npc-info-table td, html.eqoa-theme-light .eqoa-npc-zone-table, html.eqoa-theme-light .eqoa-npc-zone-table tr, html.eqoa-theme-light .eqoa-npc-zone-table td, html.eqoa-theme-light .eqoa-npc-legend, html.eqoa-theme-light .eqoa-npc-legend td {
.path-choice-box {
    background: var(--wiki-panel) !important;
  margin: 18px 0;
    color: var(--wiki-text) !important;
  border: 1px solid #5b4a38;
    border-color: var(--wiki-border) !important;
  background: #17130f;
}
}


.path-choice-title {
html.eqoa-theme-light .eqoa-npc-info-table td:first-child, html.eqoa-theme-light .eqoa-npc-zone-table th {
  text-align: center;
    background: var(--wiki-panel-2) !important;
  font-weight: bold;
    color: var(--wiki-link) !important;
  font-size: 22px;
  color: #f0b400;
  padding: 10px;
  border-bottom: 1px solid #5b4a38;
  background: #1f1711;
}
}


.path-choice-grid {
html.eqoa-theme-light .eqoa-npc-zone-table tr:nth-child(even) td, html.eqoa-theme-light .eqoa-npc-legend td {
  display: grid;
    background: var(--wiki-panel-2) !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}
}


.path-choice-panel {
html.eqoa-theme-light .eqoa-npc-caption {
  border: 1px solid #5b4a38;
    color: var(--wiki-muted) !important;
  background: #0f0d0a;
  padding: 10px;
}
}


.path-choice-header {
.npcname-header {
  text-align: center;
    margin: 0 !important;
  font-weight: bold;
    padding: 8px 12px !important;
  color: #f0b400;
    line-height: 1.1 !important;
  margin-bottom: 8px;
  border-bottom: 1px solid #5b4a38;
  padding-bottom: 6px;
}
}


#cb-theme-toggle, #cm-theme-toggle {
    display: none !important;
}


.items-filter-box {
html.eqoa-theme-light #character-builder-app, html.eqoa-theme-light #cm-calculator-app, html.eqoa-theme-light #character-builder-app .character-builder-box, html.eqoa-theme-light #cm-calculator-app .cm-calculator-box {
  background: #242428;
    background: #f6f4f1 !important;
  color: #D6D6C9;
    background-color: #f6f4f1 !important;
  border: 1px solid #3C3C3C;
    color: #2b211b !important;
  padding: 10px;
    border-color: #d8d1c7 !important;
  margin-top: 15px;
  margin-bottom: 10px;
}
}


.items-filter-box input {
html.eqoa-theme-light #character-builder-app .character-builder-controls, html.eqoa-theme-light #cm-calculator-app .character-builder-controls, html.eqoa-theme-light #character-builder-app .cm-search-tools, html.eqoa-theme-light #cm-calculator-app .cm-search-tools {
  width: 90px;
    background: #ffffff !important;
  margin: 4px;
    background-color: #ffffff !important;
  background: #1B1B1F;
    border: 1px solid #d8d1c7 !important;
  color: #D6D6C9;
    color: #2b211b !important;
  border: 1px solid #555;
  padding: 3px;
}
}


.items-filter-box button {
html.eqoa-theme-light #character-builder-app label,
  margin-left: 8px;
html.eqoa-theme-light #cm-calculator-app label {
  background: #3C3C3C;
    color: #5a3928 !important;
  color: #E6C98B;
    text-shadow: none !important;
  border: 1px solid #D6B25E;
  padding: 4px 8px;
  cursor: pointer;
}
}


html.eqoa-theme-light #character-builder-app .character-builder-title,
html.eqoa-theme-light #character-builder-app .character-builder-section-title,
html.eqoa-theme-light #character-builder-app .cb-slot-section-title,
html.eqoa-theme-light #character-builder-app .cb-export-panel-title,
html.eqoa-theme-light #character-builder-app .cb-export-small-title,
html.eqoa-theme-light #cm-calculator-app .character-builder-title,
html.eqoa-theme-light #cm-calculator-app .character-builder-section-title,
html.eqoa-theme-light #cm-calculator-app .cm-title,
html.eqoa-theme-light #cm-calculator-app .cm-section-title,
html.eqoa-theme-light #cm-calculator-app .cm-panel-title,
html.eqoa-theme-light #cm-calculator-app .cm-master-class-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    line-height: 20px !important;
    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;


/* =========================================================
    background: rgb(60, 40, 27) !important;
  Character Builder
    background-color: rgb(60, 40, 27) !important;
  ========================================================= */
    background-image: none !important;


/* =========================================================
    color: rgb(250, 248, 245) !important;
  Character Builder - EQOA.live Inspired Theme
    border: 0 !important;
  ========================================================= */
    border-radius: 4px !important;
    box-shadow: none !important;


.character-builder-box {
     font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    --cb-bg: #080807;
     font-size: 14px !important;
    --cb-panel: #11100e;
     font-weight: 500 !important;
     --cb-panel-2: #141210;
     text-align: center !important;
    --cb-panel-3: #1b1814;
     text-shadow: none !important;
    --cb-border: #3a3129;
     letter-spacing: normal !important;
    --cb-border-soft: rgba(240, 180, 0, 0.22);
     white-space: normal !important;
     --cb-gold: #f0b400;
     overflow: hidden !important;
     --cb-gold-soft: #d4a137;
}
     --cb-gold-hover: #ffd45a;
     --cb-text: #e6e1d8;
    --cb-muted: #aaa197;
     --cb-danger: #ff9b8f;
     --cb-danger-bg: rgba(130, 38, 28, 0.22);
     --cb-good: #9eff9e;
    --cb-blue: #8fd9ff;


    background: var(--cb-bg);
html.eqoa-theme-light #character-builder-app table, html.eqoa-theme-light #cm-calculator-app table, html.eqoa-theme-light #character-builder-app .character-builder-stat-table, html.eqoa-theme-light #cm-calculator-app .character-builder-stat-table, html.eqoa-theme-light #character-builder-app .character-builder-equipped-table {
    color: var(--cb-text);
     background: #ffffff !important;
    border: 1px solid var(--cb-border);
     background-color: #ffffff !important;
    border-radius: 4px;
     color: #2b211b !important;
     padding: 16px;
     border-color: #d8d1c7 !important;
     margin: 15px 0;
     font-family: Arial, Helvetica, sans-serif;
     line-height: 1.45;
}
}


/* Title */
html.eqoa-theme-light #character-builder-app th, html.eqoa-theme-light #cm-calculator-app th {
    background: #ece8e1 !important;
    background-color: #ece8e1 !important;
    color: #1f1712 !important;
    border-color: #d8d1c7 !important;
}


.character-builder-title-row {
html.eqoa-theme-light #character-builder-app td, html.eqoa-theme-light #cm-calculator-app td {
    display: flex;
     background: #ffffff !important;
    justify-content: space-between;
     background-color: #ffffff !important;
    align-items: center;
     color: #2b211b !important;
     gap: 12px;
     border-color: #e6e0d8 !important;
     border-bottom: 1px solid var(--cb-border);
     padding-bottom: 8px;
     margin-bottom: 14px;
}
}


.character-builder-title {
html.eqoa-theme-light #character-builder-app input, html.eqoa-theme-light #character-builder-app select, html.eqoa-theme-light #character-builder-app textarea, html.eqoa-theme-light #cm-calculator-app input, html.eqoa-theme-light #cm-calculator-app select, html.eqoa-theme-light #cm-calculator-app textarea {
     flex: 1;
     background: #fbfaf8 !important;
     text-align: center;
     background-color: #fbfaf8 !important;
    color: #ffffff;
     border: 1px solid #d8d1c7 !important;
     font-size: 26px;
     color: #2b211b !important;
     font-weight: 700;
     box-shadow: none !important;
     text-shadow: 1px 1px 2px #000;
    margin: 0;
    border: 0;
    padding: 0;
}
}


#cb-theme-toggle {
html.eqoa-theme-light #character-builder-app input::placeholder, html.eqoa-theme-light #character-builder-app textarea::placeholder, html.eqoa-theme-light #cm-calculator-app input::placeholder, html.eqoa-theme-light #cm-calculator-app textarea::placeholder {
    background: var(--cb-panel-3);
     color: #665a50 !important;
    border: 1px solid var(--cb-border);
     opacity: 1 !important;
    border-radius: 3px;
    color: var(--cb-gold);
    cursor: pointer;
     padding: 7px 12px;
     font-weight: 700;
}
}


#cb-theme-toggle:hover {
html.eqoa-theme-light #character-builder-app button, html.eqoa-theme-light #cm-calculator-app button, html.eqoa-theme-light #character-builder-app .cm-action-button, html.eqoa-theme-light #cm-calculator-app .cm-action-button, html.eqoa-theme-light #cm-calculator-app .cm-tab-button, html.eqoa-theme-light #cm-calculator-app .cm-view-button, html.eqoa-theme-light #cm-calculator-app .cm-reset-button, html.eqoa-theme-light #cm-calculator-app .cm-clear-search-button, html.eqoa-theme-light #cm-calculator-app .cm-mini-remove-button {
     background: var(--cb-panel-2);
     background: #3b2a20 !important;
     color: var(--cb-gold-hover);
     background-color: #3b2a20 !important;
     border-color: var(--cb-gold-soft);
     border: 1px solid #4a3427 !important;
    color: #ffffff !important;
}
}


/* Tabs */
html.eqoa-theme-light #character-builder-app button:hover, html.eqoa-theme-light #cm-calculator-app button:hover {
    background: #6b4b38 !important;
    background-color: #6b4b38 !important;
    color: #ffffff !important;
}


.cb-builder-tabs {
html.eqoa-theme-light #character-builder-app .cb-tab-active, html.eqoa-theme-light #cm-calculator-app .cm-tab-active, html.eqoa-theme-light #cm-calculator-app .cm-view-active {
     display: flex;
     background: #d8b04c !important;
     gap: 8px;
     background-color: #d8b04c !important;
    margin: 12px 0 14px;
     border-color: #b68a2c !important;
     border-bottom: 1px solid var(--cb-border);
     color: #1f1712 !important;
     padding-bottom: 8px;
}
}


.cb-tab-button {
html.eqoa-theme-light #character-builder-app .character-builder-slot, html.eqoa-theme-light #character-builder-app .character-builder-equipped-summary, html.eqoa-theme-light #character-builder-app .character-builder-gear-column, html.eqoa-theme-light #cm-calculator-app .cm-purchased-panel, html.eqoa-theme-light #cm-calculator-app .cm-master-class-panel, html.eqoa-theme-light #cm-calculator-app .cm-unlocked-box, html.eqoa-theme-light #cm-calculator-app #cm-mastery-panel {
    background: var(--cb-panel-3);
     background: #ffffff !important;
    border: 1px solid var(--cb-border);
     background-color: #ffffff !important;
     border-radius: 3px;
     border: 1px solid #d8d1c7 !important;
     color: var(--cb-gold);
     color: #2b211b !important;
    cursor: pointer;
     padding: 7px 14px;
     font-weight: 700;
}
}


.cb-tab-button:hover {
html.eqoa-theme-light #character-builder-app .cb-item-picker-list, html.eqoa-theme-light #character-builder-app .cb-picker-item, html.eqoa-theme-light #character-builder-app .cb-picker-none {
     background: var(--cb-panel-2);
     background: #fbfaf8 !important;
     color: var(--cb-gold-hover);
     background-color: #fbfaf8 !important;
     border-color: var(--cb-gold-soft);
     border-color: #e6e0d8 !important;
    color: #2b211b !important;
}
}


.cb-tab-active {
html.eqoa-theme-light #character-builder-app .cb-picker-item:hover {
    background: var(--cb-gold);
     background: #ece8e1 !important;
     color: #080807;
     background-color: #ece8e1 !important;
     border-color: var(--cb-gold);
}
}


.cb-tab-panel {
html.eqoa-theme-light #cm-calculator-app .cm-card {
     display: none;
     background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #d8d1c7 !important;
    border-left-color: #b68a2c !important;
    color: #2b211b !important;
}
}


.cb-tab-panel-active {
html.eqoa-theme-light #cm-calculator-app .cm-card-title {
     display: block;
     color: #1f1712 !important;
}
}


/* Section Titles */
html.eqoa-theme-light #cm-calculator-app .cm-card-desc, html.eqoa-theme-light #cm-calculator-app .cm-card-req, html.eqoa-theme-light #cm-calculator-app .cm-chain-preview, html.eqoa-theme-light #cm-calculator-app .cm-card-meta {
    color: #665a50 !important;
}


.character-builder-section-title {
html.eqoa-theme-light #cm-calculator-app .cm-card-locked {
    color: var(--cb-gold);
     background: #fff4f2 !important;
     font-size: 17px;
     background-color: #fff4f2 !important;
     font-weight: 700;
     border-color: #e2b8b2 !important;
     border-bottom: 1px solid var(--cb-border);
    padding-bottom: 5px;
    margin-bottom: 10px;
}
}


/* Controls */
html.eqoa-theme-light #character-builder-app .character-builder-warning-box, html.eqoa-theme-light #cm-calculator-app .character-builder-warning-box, html.eqoa-theme-light #cm-calculator-app .cm-unlock-hint {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}


.character-builder-controls {
html.eqoa-theme-light #cm-calculator-app .cm-purchased-item {
     display: flex;
     background: #fbfaf8 !important;
    flex-wrap: wrap;
     background-color: #fbfaf8 !important;
    gap: 8px 12px;
     border-color: #e6e0d8 !important;
    align-items: center;
     color: #2b211b !important;
     background: var(--cb-panel);
    border: 1px solid var(--cb-border);
     border-radius: 4px;
     padding: 10px;
    margin-bottom: 15px;
}
}


.character-builder-controls label {
html.eqoa-theme-light #cm-calculator-app .cm-purchased-cost {
    color: var(--cb-gold);
     color: #5a3928 !important;
     font-weight: 700;
}
}


.character-builder-controls select,
html.eqoa-theme-light #character-builder-app .character-builder-tooltip, html.eqoa-theme-light #cm-calculator-app .cm-tooltip {
.character-builder-controls input,
     background: #ffffff !important;
.character-builder-controls textarea,
     background-color: #ffffff !important;
.cb-slot-search,
     border: 1px solid #d8d1c7 !important;
.cb-slot-filter,
     color: #2b211b !important;
.cb-slot-sort {
     box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
     background: var(--cb-bg);
     color: var(--cb-text);
     border: 1px solid var(--cb-border);
     border-radius: 3px;
     padding: 6px 8px;
}
}


.character-builder-controls textarea {
html.eqoa-theme-light #cm-calculator-app .cm-tooltip-title, html.eqoa-theme-light #character-builder-app .cb-tooltip-title {
     resize: vertical;
     color: #1f1712 !important;
}
}


.character-builder-controls select:focus,
html.eqoa-theme-light #character-builder-app, html.eqoa-theme-light #character-builder-app div, html.eqoa-theme-light #character-builder-app span, html.eqoa-theme-light #character-builder-app p, html.eqoa-theme-light #cm-calculator-app, html.eqoa-theme-light #cm-calculator-app div, html.eqoa-theme-light #cm-calculator-app span, html.eqoa-theme-light #cm-calculator-app p {
.character-builder-controls input:focus,
     text-shadow: none !important;
.character-builder-controls textarea:focus,
.cb-slot-search:focus,
.cb-slot-filter:focus,
.cb-slot-sort:focus {
    outline: none;
    border-color: var(--cb-gold);
     box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
}
}


.character-builder-controls button,
html.eqoa-theme-dark {
#cb-refresh-items,
    --page-bg: #100d0a;
#cb-generate-share-url,
    --page-panel: #19130f;
#cb-copy-share-url,
    --page-panel-2: #241b12;
#cb-reset-build,
     --page-panel-3: #332513;
#cb-export-card,
     --page-border: #2c241d;
#cb-show-bis,
    --page-border-soft: #221b16;
#cb-compare-builds {
     --page-text: #d8d0c4;
     background: var(--cb-panel-3);
     --page-muted: #8f867a;
     border: 1px solid var(--cb-border);
     --page-heading: #ffffff;
     border-radius: 3px;
     --page-accent: #d89a22;
     color: var(--cb-gold);
     --page-accent-hover: #ffb733;
     cursor: pointer;
     padding: 7px 12px;
     font-weight: 700;
}
}


.character-builder-controls button:hover,
html.eqoa-theme-light {
#cb-refresh-items:hover,
    --page-bg: #f6f4f1;
#cb-generate-share-url:hover,
    --page-panel: #ffffff;
#cb-copy-share-url:hover,
    --page-panel-2: #fbfaf8;
#cb-reset-build:hover,
    --page-panel-3: #ece8e1;
#cb-export-card:hover,
    --page-border: #d8d1c7;
#cb-show-bis:hover,
    --page-border-soft: #e6e0d8;
#cb-compare-builds:hover {
    --page-text: #2b211b;
     background: var(--cb-panel-2);
     --page-muted: #665a50;
     color: var(--cb-gold-hover);
     --page-heading: #1f1712;
     border-color: var(--cb-gold-soft);
     --page-accent: #5a3928;
}
    --page-accent-hover: #8a5538;
}


/* Tables */
html.eqoa-theme-dark .exp-camp-table caption,
html.eqoa-theme-dark .exp-camp-table th,
html.eqoa-theme-light .exp-camp-table caption,
html.eqoa-theme-light .exp-camp-table th {
    background: var(--page-panel-3) !important;
    background-color: var(--page-panel-3) !important;
    color: var(--page-accent) !important;
}


.character-builder-stat-table,
html.eqoa-theme-dark .exp-camp-table td, html.eqoa-theme-light .exp-camp-table td {
    background: var(--page-panel) !important;
    background-color: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}


.character-builder-equipped-table {
html.eqoa-theme-dark .exp-camp-table tr:nth-child(even) td, html.eqoa-theme-light .exp-camp-table tr:nth-child(even) td {
    width: 100%;
     background: var(--page-panel-2) !important;
    border-collapse: collapse;
     background-color: var(--page-panel-2) !important;
     background: var(--cb-panel);
     border: 1px solid var(--cb-border);
}
}


.character-builder-stat-table th {
html.eqoa-theme-light .spell-data, html.eqoa-theme-light .spell-name, html.eqoa-theme-light .SpellRow {
    background: var(--cb-panel-3);
     color: var(--page-text) !important;
     color: var(--cb-gold);
    border: 1px solid var(--cb-border);
    padding: 8px;
    text-align: center;
}
}


.character-builder-stat-table td,
html.eqoa-theme-light .spell-divider, html.eqoa-theme-light .spell-divider * {
.character-builder-equipped-table td {
     background: var(--page-border) !important;
     background: var(--cb-panel-2);
     background-color: var(--page-border) !important;
     color: var(--cb-text);
    border: 1px solid var(--cb-border);
    padding: 7px;
}
}


.character-builder-stat-table td {
html.eqoa-theme-dark .raid-encounter-table .exp-camp-table, html.eqoa-theme-light .raid-encounter-table .exp-camp-table {
     text-align: center;
     background: var(--page-panel) !important;
     font-weight: 700;
    color: var(--page-text) !important;
     border-color: var(--page-border) !important;
}
}


.character-builder-equipped-table td:first-child {
html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-light .raid-encounter-table th {
     color: var(--cb-gold);
     background: var(--page-panel-3) !important;
     width: 35%;
     color: var(--page-accent) !important;
     font-weight: 700;
     border-color: var(--page-border) !important;
}
}


/* Equipment Layout */
html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td, html.eqoa-theme-light .raid-encounter-table .exp-camp-row td {
    background: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}


.character-builder-equipment-layout {
html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td:nth-child(even), html.eqoa-theme-light .raid-encounter-table .exp-camp-row td:nth-child(even) {
    display: flex !important;
     background: var(--page-panel-2) !important;
    flex-direction: row !important;
    align-items: flex-start !important;
     gap: 16px !important;
    width: 100% !important;
}
}


.character-builder-equipped-summary {
html.eqoa-theme-light, html.eqoa-theme-light body, html.eqoa-theme-light body.skin-monobook, html.eqoa-theme-light #globalWrapper, html.eqoa-theme-light #column-content, html.eqoa-theme-light #content, html.eqoa-theme-light #column-one, html.eqoa-theme-light #p-cactions, html.eqoa-theme-light #p-cactions *, html.eqoa-theme-light #p-personal, html.eqoa-theme-light #p-personal *, html.eqoa-theme-light #head, html.eqoa-theme-light #mw-head, html.eqoa-theme-light #left-navigation, html.eqoa-theme-light #right-navigation, html.eqoa-theme-light .portlet, html.eqoa-theme-light .pBody {
    order: 1;
     background-color: #f6f4f1 !important;
    width: 340px !important;
     background-image: none !important;
    min-width: 340px !important;
    max-width: 340px !important;
    margin-top: 36px !important;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
     border-radius: 4px;
     padding: 10px;
    position: sticky;
    top: 10px;
}
}


.character-builder-gear-column {
html.eqoa-theme-light #p-cactions li, html.eqoa-theme-light #p-cactions li a, html.eqoa-theme-light #p-personal li, html.eqoa-theme-light #p-personal li a {
     order: 2;
     background-color: #ffffff !important;
     flex: 1 1 auto !important;
    background-image: none !important;
     min-width: 0 !important;
     color: #2b211b !important;
     border-color: #d8d1c7 !important;
}
}


.character-builder-gear-grid {
html.eqoa-theme-light #p-cactions li.selected, html.eqoa-theme-light #p-cactions li.selected a {
     display: grid !important;
     background-color: #ece8e1 !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
     color: #1f1712 !important;
     gap: 8px !important;
}
}


/* Gear Slot Cards */
html.eqoa-theme-light #p-logo {
    background-color: #f6f4f1 !important;
}


.character-builder-slot {
html.eqoa-theme-light #p-logo a {
     background: var(--cb-panel);
     background-color: transparent !important;
    border: 1px solid var(--cb-border);
     background-size: contain !important;
     border-left: 3px solid var(--cb-gold);
     background-repeat: no-repeat !important;
     border-radius: 4px;
     background-position: center !important;
     padding: 8px;
    display: flex;
    flex-direction: column;
}
}


.character-builder-slot label {
#eqoa-theme-toggle.eqoa-theme-toggle {
     display: block;
     display: inline-flex !important;
     color: var(--cb-gold);
    visibility: visible !important;
     font-weight: 700;
    opacity: 1 !important;
     margin-bottom: 4px;
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    background: var(--wiki-button-bg, #202020) !important;
     color: var(--wiki-button-text, #ffffff) !important;
     border: 1px solid var(--wiki-border, #343434) !important;
     border-radius: 6px !important;
}
}


.cb-picker-tools {
#eqoa-theme-toggle, #eqoa-theme-toggle.eqoa-theme-toggle, button#eqoa-theme-toggle {
     display: flex;
     display: inline-flex !important;
     gap: 5px;
     visibility: visible !important;
     align-items: center;
     opacity: 1 !important;
     margin: 4px 0;
     position: fixed !important;
}
    right: 18px !important;
 
    bottom: 18px !important;
.cb-upgrade-toggle {
    z-index: 2147483647 !important;
     display: flex;
    width: 34px !important;
     align-items: center;
     height: 34px !important;
     gap: 4px;
     align-items: center !important;
     color: var(--cb-muted);
    justify-content: center !important;
     font-size: 12px;
    pointer-events: auto !important;
     font-weight: 700;
     cursor: pointer !important;
     white-space: nowrap;
    background: #3b2a20 !important;
     color: #ffffff !important;
    border: 1px solid #4a3427 !important;
    border-radius: 6px !important;
     font-size: 22px !important;
     line-height: 1 !important;
     padding: 0 !important;
}
}


.cb-upgrade-toggle input {
html.eqoa-theme-light #column-one h3,
     accent-color: var(--cb-gold);
html.eqoa-theme-light #column-one h5,
html.eqoa-theme-light #column-one h3[id$="-label"],
html.eqoa-theme-light #column-one h5[id$="-label"],
html.eqoa-theme-light #column-one .portlet h3,
html.eqoa-theme-light #column-one .portlet h5,
html.eqoa-theme-light #column-one .generated-sidebar h3,
html.eqoa-theme-light #column-one .generated-sidebar h5,
html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-title,
html.eqoa-theme-light #column-one #p-cactions h3,
html.eqoa-theme-light #column-one #p-cactions h5 {
     display: flex !important;
    align-items: center !important;
    justify-content: center !important;
 
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 20px !important;
 
    margin: 0 0 4px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
 
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;
 
    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
 
    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}
}


.cb-item-picker-list {
html.eqoa-theme-light #column-one a, html.eqoa-theme-light .portlet a, html.eqoa-theme-light .generated-sidebar a {
     max-height: 120px;
     color: #2b211b !important;
    overflow-y: auto;
     font-weight: 700 !important;
     border: 1px solid var(--cb-border);
     text-shadow: none !important;
    background: var(--cb-bg);
     border-radius: 3px;
}
}


.cb-picker-item {
html.eqoa-theme-light #column-one a:hover, html.eqoa-theme-light .portlet a:hover, html.eqoa-theme-light .generated-sidebar a:hover {
    color: var(--cb-text);
     color: #7a4a2f !important;
    padding: 4px 6px;
     text-decoration: underline !important;
    border-bottom: 1px solid rgba(240, 180, 0, 0.08);
     cursor: pointer;
     transition: background 0.12s ease, color 0.12s ease;
}
}


.cb-picker-item:hover {
html.eqoa-theme-light #column-one li, html.eqoa-theme-light .portlet li, html.eqoa-theme-light .generated-sidebar li {
    background: var(--cb-panel-3);
     color: #5a3928 !important;
     color: var(--cb-gold-hover);
}
}


.cb-picker-selected {
html.eqoa-theme-light #p-search h3, html.eqoa-theme-light #p-search h5 {
    background: var(--cb-panel-3);
     color: #4a2f1f !important;
     color: var(--cb-gold-hover);
     background: transparent !important;
    font-weight: 700;
     box-shadow: inset 3px 0 0 var(--cb-gold);
}
}


.cb-picker-none {
.rare-encounter-table {
     color: var(--cb-muted);
     width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 18px;
}
}


.cb-picker-disabled,
.rare-encounter-table th {
.cb-slot-disabled-note {
     padding: 7px 8px;
     color: var(--cb-danger);
    text-align: center;
     padding: 4px;
     font-size: 13px;
     font-size: 12px;
     font-weight: bold;
    border: 1px solid;
}
}


/* Warnings / Results */
.rare-encounter-table td {
    vertical-align: top;
    padding: 0;
    border: 1px solid;
}


.character-builder-warning-box {
.rare-encounter-table .raid-checkboxify b {
     background: var(--cb-danger-bg);
     display: block;
     border: 1px solid rgba(220, 90, 70, 0.35);
     padding: 7px 8px;
     border-radius: 3px;
     margin: 0;
     color: #ffb0a0;
     text-align: center;
    padding: 8px;
    margin: 10px 0;
     font-size: 13px;
     font-size: 13px;
    font-weight: bold;
    border-top: 1px solid;
    border-bottom: 1px solid;
}
}


/* Tooltips */
.rare-encounter-table .raid-checkboxify b:first-child {
    border-top: 0;
}


.character-builder-tooltip {
.rare-encounter-table .raid-checkboxify label {
     position: absolute;
     display: block;
     z-index: 99999;
     padding: 6px 8px;
     background: var(--cb-bg);
     margin: 0;
     color: var(--cb-text);
     line-height: 1.25;
     border: 1px solid var(--cb-gold-soft);
     border-bottom: 1px solid;
    border-radius: 4px;
     font-size: 13px;
    padding: 10px;
    min-width: 220px;
    max-width: 340px;
     font-size: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
    pointer-events: none;
    animation: cbTooltipFade 0.12s ease-out;
}
}


.cb-tooltip-title {
.rare-encounter-table .raid-checkboxify br {
     color: var(--cb-gold-hover);
     display: none;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--cb-border);
    margin-bottom: 5px;
    padding-bottom: 3px;
}
}


.cb-tooltip-line {
html.eqoa-theme-dark .rare-encounter-table th, html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify b {
     margin: 2px 0;
     background: #3a3a3a;
    color: #ffd45a;
    border-color: #1f1f1f;
}
}


.cb-tooltip-stats {
html.eqoa-theme-dark .rare-encounter-table td {
     margin-top: 5px;
     background: #0d0c0b;
     display: grid;
     border-color: #252525;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
}
}


.cb-tooltip-stats span {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label {
     color: var(--cb-gold);
     color: #ffd45a;
     font-weight: 700;
     border-color: #252525;
}
}


.cb-compare-tooltip {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(odd) {
     min-width: 260px;
     background: #0d0c0b;
}
}


@keyframes cbTooltipFade {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(even) {
     from {
     background: #242428;
        opacity: 0;
}
        transform: translateY(4px);
    }


    to {
html.eqoa-theme-light .rare-encounter-table th, html.eqoa-theme-light .rare-encounter-table .raid-checkboxify b {
        opacity: 1;
    background: #e6e1d8;
        transform: translateY(0);
    color: #1f140c;
     }
     border-color: #d2c8bb;
}
}


/* Item Names / Links */
html.eqoa-theme-light .rare-encounter-table td {
    background: #ffffff;
    border-color: #ddd5ca;
}


.cb-equipped-item-name {
html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label {
     color: var(--cb-gold-hover);
     color: #1f140c;
     cursor: pointer;
     border-color: #e6ded4;
    transition: filter 0.14s ease, text-shadow 0.14s ease;
}
}


.cb-equipped-item-name:hover {
html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    filter: brightness(1.12);
     background: #ffffff;
     text-decoration: underline;
}
}


.cb-item-page-link {
html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label:nth-of-type(even) {
    margin-left: 6px;
     background: #f7f5f1;
    font-weight: 700;
     cursor: pointer;
    opacity: 0.75;
    color: var(--cb-gold);
}
}


.cb-item-page-link:hover {
.raid-encounter-table table {
     opacity: 1;
     width: 100% !important;
     color: var(--cb-gold-hover);
     table-layout: fixed !important;
    border-collapse: collapse !important;
}
}


/* Stat States */
.raid-encounter-table th {
    padding: 7px 8px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: 1px solid #252525 !important;
}


.cb-overcap {
.raid-encounter-table td {
     color: var(--cb-good);
     vertical-align: top !important;
     font-weight: 700;
    padding: 0 !important;
     border: 1px solid #252525 !important;
}
}


.cb-compare-positive {
.raid-encounter-table .raid-checkboxify > b {
     color: var(--cb-good);
     display: block !important;
     animation: cbStatGainPulse 0.45s ease-out;
    padding: 7px 8px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: bold !important;
     border-top: 1px solid #252525 !important;
    border-bottom: 1px solid #252525 !important;
}
}


.cb-compare-negative {
.raid-encounter-table .raid-checkboxify > b:first-child {
     color: var(--cb-danger);
     border-top: 0 !important;
    animation: cbStatLossPulse 0.45s ease-out;
}
}


@keyframes cbStatGainPulse {
.raid-encounter-table .raid-checkboxify label {
     0% {
     display: block !important;
        transform: scale(1.18);
    padding: 6px 8px !important;
        opacity: 0.25;
    margin: 0 !important;
        text-shadow: 0 0 10px rgba(80, 255, 120, 0.9);
    line-height: 1.25 !important;
     }
    font-size: 13px !important;
     border-bottom: 1px solid #252525 !important;
}


    100% {
.raid-encounter-table .raid-checkboxify br {
        transform: scale(1);
    display: none !important;
}


        opacity: 1;
html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify > b {
     }
    background: #3a3a3a !important;
     color: #ffd45a !important;
}
}


@keyframes cbStatLossPulse {
html.eqoa-theme-dark .raid-encounter-table td {
     0% {
     background: #0d0c0b !important;
        transform: scale(1.18);
}
        opacity: 0.25;
        text-shadow: 0 0 10px rgba(255, 80, 80, 0.9);
    }


    100% {
html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label {
        transform: scale(1);
    color: #ffd45a !important;
        opacity: 1;
    }
}
}


.character-builder-stat-table td {
html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
     transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
     background: #0d0c0b !important;
}
}


.cb-stat-flash {
html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
     animation: cbStatFlash 0.55s ease-out;
     background: #242428 !important;
}
}


@keyframes cbStatFlash {
html.eqoa-theme-light .raid-encounter-table th, html.eqoa-theme-light .raid-encounter-table .raid-checkboxify > b {
     0% {
     background: #e6e1d8 !important;
        background-color: rgba(80, 255, 120, 0.22);
    color: #1f140c !important;
        box-shadow: 0 0 10px rgba(80, 255, 120, 0.55);
    border-color: #d2c8bb !important;
        transform: scale(1.06);
}
    }


    100% {
html.eqoa-theme-light .raid-encounter-table td {
        background-color: transparent;
    background: #ffffff !important;
        box-shadow: none;
    border-color: #ddd5ca !important;
        transform: scale(1);
    }
}
}


/* Rarity Colors */
html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label {
    color: #1f140c !important;
    border-color: #e6ded4 !important;
}


.cb-rarity-common {
html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
     color: #d7d7d7;
     background: #ffffff !important;
}
}


.cb-rarity-uncommon {
html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
     color: #6fd96f;
     background: #f7f5f1 !important;
}
}


.cb-rarity-rare {
.rare-encounter-mobile-layout {
     color: #63a9ff;
     display: none;
    text-shadow: 0 0 4px rgba(99,169,255,0.45);
}
}


.cb-rarity-ultra-rare {
.rare-mobile-box {
     color: #d26bff;
     margin-bottom: 14px;
     text-shadow: 0 0 6px rgba(210,107,255,0.8), 0 0 12px rgba(255,120,60,0.45);
     border: 1px solid;
}
}


.cb-rarity-legendary {
.rare-mobile-heading {
     color: #b54848;
     padding: 9px 10px;
     text-shadow: 0 0 5px rgba(181,72,72,0.55), 0 0 12px rgba(120,20,20,0.35);
     text-align: center;
     animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
     font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid;
}
}


.cb-rarity-relic {
.rare-mobile-body {
     color: #d4af37;
     padding: 0;
    text-shadow: 0 0 6px rgba(212,175,55,0.55), 0 0 14px rgba(255,220,120,0.35);
    animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
}
}


@keyframes cbLegendaryTextPulse {
html.eqoa-theme-dark .rare-mobile-box {
     0%, 100% {
     background: #0d0c0b;
        text-shadow: 0 0 4px rgba(181,72,72,0.35), 0 0 8px rgba(120,20,20,0.18);
     border-color: #252525;
     }
 
    50% {
        text-shadow: 0 0 8px rgba(220,90,90,0.85), 0 0 18px rgba(160,30,30,0.45);
    }
}
}


@keyframes cbRelicTextShimmer {
html.eqoa-theme-dark .rare-mobile-heading {
     0%, 100% {
     background: #3a3a3a;
        color: #d4af37;
     color: #ffd45a;
        text-shadow: 0 0 4px rgba(212,175,55,0.35), 0 0 8px rgba(255,220,120,0.18);
    border-color: #1f1f1f;
     }
 
    50% {
        color: #ffe08a;
        text-shadow: 0 0 9px rgba(255,230,150,0.9), 0 0 20px rgba(255,240,180,0.5);
    }
 
}
}


.cb-tooltip-rarity-common {
html.eqoa-theme-light .rare-mobile-box {
     border-color: #666;
    background: #ffffff;
     border-color: #ddd5ca;
}
}


.cb-tooltip-rarity-uncommon {
html.eqoa-theme-light .rare-mobile-heading {
     border-color: #5fd35f;
    background: #e6e1d8;
    color: #1f140c;
     border-color: #d2c8bb;
}
}


.cb-tooltip-rarity-rare {
.eqoa-panel {
     border-color: #63a9ff;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
     border: 1px solid var(--wiki-border) !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
}


.cb-tooltip-rarity-ultra-rare {
.eqoa-header {
     border-color: #b46cff;
    position: relative !important;
}
    background: var(--wiki-panel) !important;
    color: var(--wiki-heading) !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
     border: 0 !important;
    text-shadow: none !important;
}


.cb-tooltip-rarity-legendary {
.eqoa-header::after {
     border-color: #b54848;
     content: "" !important;
     box-shadow: 0 0 12px rgba(181,72,72,0.45), 0 0 20px rgba(120,20,20,0.28);
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
     bottom: 0 !important;
    height: 1px !important;
    background: var(--wiki-border) !important;
}
}


.cb-tooltip-rarity-relic {
.eqoa-body {
     border-color: #d4af37;
    background: var(--wiki-panel) !important;
     box-shadow: 0 0 12px rgba(212,175,55,0.55), 0 0 24px rgba(255,215,100,0.28);
     color: var(--wiki-text) !important;
    padding: 10px !important;
    margin: 0 !important;
     box-sizing: border-box !important;
}
}


/* Light Theme Disabled Into Locked Dark Theme */
.eqoa-row {
/* Light Theme Disabled Into Locked Dark Theme */
     background: var(--wiki-panel) !important;
 
     color: var(--wiki-text) !important;
 
     padding: 7px 10px !important;
/* Light Theme - Sandstorm Control Panel Style */
     border-bottom: 1px solid var(--wiki-border-soft) !important;
 
.cb-theme-light .character-builder-box {
     --cb-bg: #f6f4f1;
    --cb-panel: #ffffff;
     --cb-panel-2: #fbfaf8;
    --cb-panel-3: #e8e5e1;
     --cb-border: #d8d2ca;
     --cb-border-soft: #e7e1da;
    --cb-gold: #3b2618;
    --cb-gold-soft: #5a3a26;
    --cb-gold-hover: #1f130c;
    --cb-text: #2f2924;
    --cb-muted: #80766e;
    --cb-danger: #d93030;
    --cb-danger-bg: #fff4f4;
    --cb-good: #1b8f3a;
    --cb-blue: #1f6fb2;
}
}


.cb-theme-light .cm-calculator-box {
.eqoa-row:nth-child(even) {
     --cm-bg: #f6f4f1;
     background: var(--wiki-panel-2) !important;
    --cm-panel: #ffffff;
    --cm-panel-2: #fbfaf8;
    --cm-panel-3: #e8e5e1;
    --cm-border: #d8d2ca;
    --cm-border-soft: #e7e1da;
    --cm-gold: #3b2618;
    --cm-gold-soft: #5a3a26;
    --cm-gold-hover: #1f130c;
    --cm-text: #2f2924;
    --cm-muted: #80766e;
    --cm-danger: #d93030;
    --cm-danger-bg: #fff4f4;
    --cm-good: #1b8f3a;
    --cm-blue: #1f6fb2;
}
}


/* Page Containers */
.eqoa-row:last-child {
 
     border-bottom: 0 !important;
.cb-theme-light,
.cb-theme-light .character-builder-box,
.cb-theme-light .cm-calculator-box {
    background: #f6f4f1 !important;
    color: #2f2924 !important;
     border-color: #d8d2ca !important;
}
}


/* Titles */
.eqoa-grid-2 {
 
     display: grid !important;
.cb-theme-light .character-builder-title,
     grid-template-columns: 1fr 1fr !important;
.cb-theme-light .cm-calculator-box .character-builder-title {
    gap: 10px !important;
     color: #2f1d13 !important;
     margin-bottom: 12px !important;
     text-shadow: none !important;
     letter-spacing: 0.02em;
}
}


/* Section Titles */
.eqoa-panel ul {
 
    list-style: none !important;
.cb-theme-light .character-builder-section-title,
     margin: 0 !important;
.cb-theme-light .cm-calculator-box .character-builder-section-title,
     padding: 0 !important;
.cb-theme-light .cm-panel-title {
     color: #3b2618 !important;
     border-bottom-color: #d8d2ca !important;
}
}


/* Controls and Panels */
.eqoa-panel li {
 
     margin: 0 0 7px 0 !important;
.cb-theme-light .character-builder-controls,
     padding: 0 !important;
.cb-theme-light .character-builder-equipped-summary,
.cb-theme-light .character-builder-slot,
.cb-theme-light .cm-search-tools,
.cb-theme-light .cm-purchased-panel,
.cb-theme-light .cm-master-class-panel,
.cb-theme-light .cm-unlocked-box,
.cb-theme-light .cm-card {
     background: #ffffff !important;
    color: #2f2924 !important;
     border-color: #d8d2ca !important;
}
}


/* Subtle Section Bars */
.eqoa-table {
 
    width: 100% !important;
.cb-theme-light .cm-card-type-tag,
    border-collapse: collapse !important;
.cb-theme-light .cb-picker-selected,
     table-layout: fixed !important;
.cb-theme-light .character-builder-stat-table th,
     background: var(--wiki-panel) !important;
.cb-theme-light .character-builder-equipped-table td:first-child,
     color: var(--wiki-text) !important;
.cb-theme-light .cm-calculator-box .character-builder-stat-table th {
     background: #e8e5e1 !important;
     color: #3b2618 !important;
     border-color: #d8d2ca !important;
}
}


/* Inputs */
.eqoa-table th {
 
    background: var(--wiki-panel-2) !important;
.cb-theme-light input,
    color: var(--wiki-link) !important;
.cb-theme-light select,
     border: 1px solid var(--wiki-border) !important;
.cb-theme-light textarea,
     padding: 8px 10px !important;
.cb-theme-light .cm-search-input,
     text-align: center !important;
.cb-theme-light .cb-slot-search,
     font-weight: bold !important;
.cb-theme-light .cb-slot-filter,
.cb-theme-light .cb-slot-sort {
    background: #fbfaf8 !important;
     color: #2f2924 !important;
     border: 1px solid #d8d2ca !important;
     border-radius: 3px !important;
     box-shadow: none !important;
}
}


.cb-theme-light input:focus,
.eqoa-table td {
.cb-theme-light select:focus,
    background: var(--wiki-panel) !important;
.cb-theme-light textarea:focus,
    color: var(--wiki-text) !important;
.cb-theme-light .cm-search-input:focus,
    border: 1px solid var(--wiki-border-soft) !important;
.cb-theme-light .cb-slot-search:focus,
     padding: 8px 10px !important;
.cb-theme-light .cb-slot-filter:focus,
     vertical-align: top !important;
.cb-theme-light .cb-slot-sort:focus {
     border-color: #5a3a26 !important;
     box-shadow: 0 0 0 2px rgba(59, 38, 24, 0.10) !important;
}
}


/* Buttons */
.eqoa-table tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
}


.cb-theme-light button,
.eqoa-panel pre, .eqoa-body pre {
.cb-theme-light .cb-tab-button,
    display: block !important;
.cb-theme-light .cm-tab-button,
     background: transparent !important;
.cb-theme-light .cm-view-button,
     background-color: transparent !important;
.cb-theme-light .cm-action-button,
     color: var(--wiki-text) !important;
.cb-theme-light .cm-reset-button,
     border: none !important;
.cb-theme-light .cm-clear-search-button,
.cb-theme-light .cm-mini-remove-button {
     background: #ffffff !important;
     color: #3b2618 !important;
     border: 1px solid #d8d2ca !important;
     border-radius: 3px !important;
     box-shadow: none !important;
     box-shadow: none !important;
    text-shadow: none !important;
    font-family: inherit !important;
    white-space: pre-wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}
}


.cb-theme-light button:hover,
.eqoa-panel code, .eqoa-body code {
.cb-theme-light .cb-tab-button:hover,
    background: transparent !important;
.cb-theme-light .cm-tab-button:hover,
    background-color: transparent !important;
.cb-theme-light .cm-view-button:hover,
    color: var(--wiki-text) !important;
.cb-theme-light .cm-action-button:hover,
    border: none !important;
.cb-theme-light .cm-reset-button:hover,
    box-shadow: none !important;
.cb-theme-light .cm-clear-search-button:hover,
     text-shadow: none !important;
.cb-theme-light .cm-mini-remove-button:hover {
     font-family: inherit !important;
     background: #f0eeeb !important;
     padding: 0 !important;
     color: #1f130c !important;
     border-color: #bfb6ad !important;
}
}


/* Active Tab / Primary Action */
html.eqoa-theme-dark, html.eqoa-theme-dark body, html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #column-content, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark #mw-content-text, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-parser-output {
    background: var(--wiki-bg) !important;
    background-color: var(--wiki-bg) !important;
    color: var(--wiki-text) !important;
}


.cb-theme-light .cb-tab-active,
html.eqoa-theme-dark .eqoa-panel, html.eqoa-theme-dark .eqoa-body, html.eqoa-theme-dark .zones-box, html.eqoa-theme-dark .zones-content, html.eqoa-theme-dark .zone-details-content, html.eqoa-theme-dark .npc-template, html.eqoa-theme-dark .quest-template, html.eqoa-theme-dark .wikitable, html.eqoa-theme-dark .toc, html.eqoa-theme-dark .catlinks {
.cb-theme-light .cm-tab-active,
     background: var(--wiki-panel) !important;
.cb-theme-light .cm-view-active {
    background-color: var(--wiki-panel) !important;
     background: #3b2618 !important;
     color: var(--wiki-text) !important;
     color: #ffffff !important;
     border-color: var(--wiki-border) !important;
     border-color: #3b2618 !important;
}
}


/* Tables */
html.eqoa-theme-dark .eqoa-header, html.eqoa-theme-dark .zones-header, html.eqoa-theme-dark .zone-details-header, html.eqoa-theme-dark .npc-header, html.eqoa-theme-dark .wikitable th, html.eqoa-theme-dark .eqoa-table th {
    background: #332513 !important;
    background-color: #332513 !important;
    color: #d89a22 !important;
    border-color: #4a3518 !important;
    text-shadow: none !important;
}


.cb-theme-light .character-builder-stat-table,
html.eqoa-theme-dark .eqoa-header *, html.eqoa-theme-dark .zones-header *, html.eqoa-theme-dark .zone-details-header *, html.eqoa-theme-dark .npc-header * {
.cb-theme-light .character-builder-equipped-table,
     color: #d89a22 !important;
.cb-theme-light .cm-calculator-box .character-builder-stat-table {
     text-shadow: none !important;
     background: #ffffff !important;
     border-color: #d8d2ca !important;
}
}


.cb-theme-light .character-builder-stat-table td,
html.eqoa-theme-dark .eqoa-row:nth-child(even), html.eqoa-theme-dark .eqoa-table tr:nth-child(even) td, html.eqoa-theme-dark .wikitable tr:nth-child(even) td {
.cb-theme-light .character-builder-equipped-table td,
     background: var(--wiki-panel-2) !important;
.cb-theme-light .cm-calculator-box .character-builder-stat-table td {
     background-color: var(--wiki-panel-2) !important;
     background: #ffffff !important;
     color: #2f2924 !important;
    border-color: #d8d2ca !important;
}
}


/* Item Picker / Lists */
html.eqoa-theme-dark a, html.eqoa-theme-dark .mw-body a, html.eqoa-theme-dark .mw-parser-output a, html.eqoa-theme-dark table a, html.eqoa-theme-dark .wikitable a {
    color: var(--wiki-link) !important;
}


.cb-theme-light .cb-item-picker-list {
html.eqoa-theme-dark a:hover, html.eqoa-theme-dark .mw-body a:hover, html.eqoa-theme-dark .mw-parser-output a:hover, html.eqoa-theme-dark table a:hover, html.eqoa-theme-dark .wikitable a:hover {
     background: #ffffff !important;
     color: var(--wiki-link-hover) !important;
    border-color: #d8d2ca !important;
}
}


.cb-theme-light .cb-picker-item,
html.eqoa-theme-dark .spell-col .spell-row:nth-child(odd) {
.cb-theme-light .cm-purchased-item {
     background: #21180f !important;
     background: #ffffff !important;
     background-color: #21180f !important;
     color: #2f2924 !important;
    border-color: #eee9e4 !important;
}
}


.cb-theme-light .cb-picker-item:hover,
html.eqoa-theme-dark .spell-col .spell-row:nth-child(even) {
.cb-theme-light .cm-purchased-item:hover,
    background: #262629 !important;
.cb-theme-light .cm-card:hover {
     background-color: #262629 !important;
     background: #f7f5f2 !important;
}
}


/* Card Type Colors Stay Subtle */
html.eqoa-theme-dark .SpellList .SpellRow:nth-child(odd) {
    background: #21180f !important;
    background-color: #21180f !important;
}


.cb-theme-light .cm-card {
html.eqoa-theme-dark .SpellList .SpellRow:nth-child(even) {
     border-left-color: #3b2618 !important;
     background: #262629 !important;
    background-color: #262629 !important;
}
}


.cb-theme-light .cm-type-general {
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(odd), html.eqoa-theme-dark .eqoa-panel .eqoa-body .SpellRow:nth-child(odd) {
     border-left-color: #3b2618 !important;
     background: #21180f !important;
    background-color: #21180f !important;
}
}


.cb-theme-light .cm-type-racial {
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(even), html.eqoa-theme-dark .eqoa-panel .eqoa-body .SpellRow:nth-child(even) {
     border-left-color: #397a3d !important;
     background: #262629 !important;
    background-color: #262629 !important;
}
}


.cb-theme-light .cm-type-archetype {
html.eqoa-theme-dark .spell-row, html.eqoa-theme-dark .SpellRow {
     border-left-color: #2e6fa8 !important;
     border-bottom: 1px solid #3a3027 !important;
}
}


.cb-theme-light .cm-type-class {
.job-infobox, .job-contents {
     border-left-color: #a35a24 !important;
     width: 100% !important;
}
}


.cb-theme-light .cm-type-master {
.job-infobox .eqoa-table {
     border-left-color: #74509b !important;
     margin: 0 !important;
}
}


/* Text Colors */
.job-infobox .eqoa-table td:first-child {
    width: 45% !important;
    font-weight: 700 !important;
    color: var(--wiki-link) !important;
}


.cb-theme-light .character-builder-controls label,
.job-infobox .eqoa-table td:last-child {
.cb-theme-light .cm-calculator-box label,
     width: 55% !important;
.cb-theme-light .cm-card-meta,
.cb-theme-light .cm-master-class-label,
.cb-theme-light .cm-purchased-cost,
.cb-theme-light .character-builder-equipped-table td:first-child,
.cb-theme-light .cm-card-title,
.cb-theme-light .cb-equipped-item-name {
     color: #3b2618 !important;
}
}


.cb-theme-light .cm-card-desc,
.class-mastery-box {
    width: 100% !important;
}


.cb-theme-light .cm-card-req,
.class-mastery-table {
.cb-theme-light .cm-chain-preview,
     margin: 0 !important;
.cb-theme-light .cm-chain-step,
.cb-theme-light .cm-chain-arrow,
.cb-theme-light .cb-upgrade-toggle,
.cb-theme-light .cm-lock-toggle {
     color: #80766e !important;
}
}


/* Warnings / Locked */
.class-mastery-table th, .class-mastery-table td {
    vertical-align: top !important;
}


.cb-theme-light .character-builder-warning-box,
.class-mastery-table .mastery-cost, .class-mastery-table .mastery-level {
.cb-theme-light .cm-unlock-hint {
     text-align: center !important;
     background: #fff4f4 !important;
     width: 8% !important;
     border-color: #efc2c2 !important;
     white-space: nowrap !important;
     color: #9b2727 !important;
}
}


.cb-theme-light .cm-card-locked {
.class-mastery-table .mastery-name {
     background: #f2f0ed !important;
     width: 24% !important;
     border-color: #d8d2ca !important;
     font-weight: 700 !important;
    opacity: 0.72;
}
}


/* Tooltips */
.class-mastery-table .mastery-req, .class-mastery-table .mastery-unlocks {
    width: 30% !important;
}


.cb-theme-light .character-builder-tooltip,
#p-logo {
.cb-theme-light .cm-tooltip {
     width: 160px !important;
     background: #ffffff !important;
     height: 160px!important;
    color: #2f2924 !important;
     margin: 0 auto !important;
     border-color: #bfb6ad !important;
     box-shadow: 0 8px 24px rgba(60, 45, 32, 0.18) !important;
}
}


.cb-theme-light .cb-tooltip-title,
#p-logo a {
.cb-theme-light .cm-tooltip-title {
    display: block !important;
     color: #3b2618 !important;
    width: 160px !important;
     border-bottom-color: #d8d2ca !important;
    height: 160px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
     background-position: center !important;
     margin: 0 auto !important;
}


.cb-tooltip-warning {
    color: #ff4d4d;
    font-weight: bold;
    margin-top: 6px;
}
}


.cb-theme-light .cb-tooltip-stats span,
.zone-right .info-table td {
.cb-theme-light .cm-tooltip-meta,
     vertical-align: top;
.cb-theme-light .cm-tooltip-req {
     color: #3b2618 !important;
}
}


/* Keep Positive/Negative Readable */
.zone-right .info-table td:first-child {
    width: 110px;
    font-weight: bold;
}


.cb-theme-light .cb-compare-positive,
.zone-map-block {
.cb-theme-light .cm-req-owned,
    margin-top: 10px;
.cb-theme-light .cm-chain-owned {
     background: transparent !important;
     color: #1b8f3a !important;
}
}


.cb-theme-light .cb-compare-negative,
.zone-map-title {
.cb-theme-light .cm-req-missing,
    font-weight: bold;
.cb-theme-light .cm-tooltip-spell-remove {
    margin-bottom: 6px;
    color: #d93030 !important;
}
}


.cb-theme-light .cm-tooltip-spell-add {
.zone-map-content {
     color: #1f6fb2 !important;
     background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    max-width: 100%;
    overflow: hidden;
}
}


.zone-map-content p {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}


.zone-map-content a, .zone-map-content a.image, .zone-map-content .mw-file-description {
    background: transparent !important;
    display: inline-block;
    max-width: 100%;
}


.zone-map-content img, .zone-map-content .mw-file-element {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
}


/* Light Theme Disabled Into Locked Dark Theme */
.zone-map-content img {
/* Light Theme Disabled Into Locked Dark Theme */
    max-width: 100% !important;
 
    height: auto !important;
    display: block;
}


/* Mobile */
.zone-right .zone-map-content .thumb, .zone-right .zone-map-content .thumbinner, .zone-right .zone-map-content .tright, .zone-right .zone-map-content .tleft, .zone-right .zone-map-content figure, .zone-right .zone-map-content .mw-default-size, .zone-right .zone-map-content .mw-halign-none, .zone-right .zone-map-content .mw-halign-left, .zone-right .zone-map-content .mw-halign-right, .zone-right .zone-map-content .mw-halign-center {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}


@media screen and (max-width: 768px) {
.zone-right .zone-map-block, .zone-right .zone-map-content, .zone-right .zone-map-content *, .zone-right .zone-map-content p, .zone-right .zone-map-content a, .zone-right .zone-map-content a.image, .zone-right .zone-map-content .mw-file-description, .zone-right .zone-map-content .mw-file-element {
    .character-builder-box {
    background: transparent !important;
        padding: 10px;
    background-color: transparent !important;
        overflow-x: hidden;
     border: 0 !important;
     }
}


    .character-builder-title-row {
.zone-right .zone-map-content {
        display: block;
    background: transparent !important;
        text-align: center;
    padding: 0 !important;
     }
    margin: 0 !important;
    max-width: 100%;
     overflow: hidden;
}


    #cb-theme-toggle {
.zone-right .zone-map-content img, .zone-right .zone-map-content .mw-file-element {
        margin-top: 8px;
    background: transparent !important;
        width: 100%;
    border: 0 !important;
     }
    display: block;
    max-width: 100% !important;
     height: auto !important;
}


    .character-builder-controls {
.soa-award-banner {
        display: flex;
    margin: 12px auto 18px auto;
        flex-direction: column;
    padding: 14px 18px;
        gap: 8px;
    max-width: 1100px;
        align-items: stretch;
    background: rgba(18, 22, 45, 0.94);
    }
    border: 2px solid #d6b25e;
    border-radius: 10px;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 12px rgba(214, 178, 94, 0.45);
}


    .character-builder-controls select,
.soa-award-banner a {
     .character-builder-controls input,
     color: #86b8ff;
     .character-builder-controls textarea,
     font-weight: 700;
     .character-builder-controls button {
     margin-left: 6px;
        width: 100% !important;
    text-decoration: none;
        box-sizing: border-box;
}
    }


    .cb-builder-tabs {
.soa-award-banner a:hover {
        display: grid;
    color: #b9d6ff;
        grid-template-columns: 1fr 1fr;
    text-decoration: underline;
    }
}


    .cb-tab-button {
.soa-award-icon {
        width: 100%;
    margin-right: 6px;
    }
}


    .character-builder-equipment-layout {
.soa-welcome-text {
        display: block !important;
    width: 100%;
     }
    display: block;
     text-align: center;
    font-size: 20px;
    font-weight: 600;
    font-family: "Palatino Linotype", Georgia, serif;
    color: #f2e6c9;
    line-height: 1.45;
    margin: 18px auto 26px auto;
    text-shadow: 0 0 4px rgba(214,178,94,0.35),
        0 0 10px rgba(214,178,94,0.18);
}


    .character-builder-equipped-summary {
.soa-about-section {
        position: static !important;
    max-width: 1200px;
        width: 100% !important;
    margin: 24px auto;
        min-width: 0 !important;
    padding: 22px 28px;
        max-width: none !important;
    background: rgba(18, 18, 24, 0.92);
        margin: 0 0 15px !important;
    border: 2px solid #d6b25e;
        box-sizing: border-box;
    border-radius: 12px;
    }
    box-shadow: 0 0 12px rgba(214,178,94,0.18);
    color: #e7dcc0;
}


    .character-builder-gear-column {
.soa-about-title {
        width: 100%;
    text-align: center;
     }
    font-size: 34px;
    font-weight: 700;
    font-family: "Palatino Linotype", Georgia, serif;
    color: #ffd66b;
    margin-bottom: 18px;
     text-shadow: 0 0 6px rgba(214,178,94,0.35);
}


    .character-builder-gear-grid {
.soa-about-body {
        grid-template-columns: 1fr !important;
    font-size: 18px;
        gap: 10px;
    line-height: 1.75;
     }
    text-align: center;
    font-family: Georgia, serif;
     color: #f2e6c9;
}


    .cb-picker-tools {
.soa-about-body a {
        flex-direction: column;
    color: #7db6ff;
        align-items: stretch;
    font-weight: 700;
    }
    text-decoration: none;
}


    .cb-slot-filter,
.soa-about-body a:hover {
     .cb-slot-sort {
     text-decoration: underline;
        width: 100% !important;
}
    }


    .character-builder-stat-table {
.raid-list {
        display: block;
    margin: 12px 0 18px 0;
        overflow-x: auto;
    background: #14100d;
        white-space: nowrap;
    border: 1px solid #3b2a16;
     }
     color: #f2f2f2;
}


    .cb-item-picker-list {
.raid-list__title {
        max-height: 260px;
    margin: 0;
    }
    padding: 8px 10px;
    background: #1d1916;
    border-bottom: 1px solid #6a4a1f;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}


    .character-builder-tooltip {
.raid-list__cols {
        max-width: 90vw;
    display: flex;
        left: 5vw !important;
    align-items: flex-start;
        right: 5vw;
    gap: 5px;
        font-size: 12px;
    padding: 6px;
    }
}
}


.raid-list__col {
    flex: 0 0 260px;
    min-width: 240px;
    padding: 0;
    border: 1px solid #d49a22;
    background: #1d1916;
    color: #f2f2f2;
    line-height: 1.35;
}


/* =========================================================
.raid-list .raid-list__col br {
  Character Builder
    display: none;
  ========================================================= */
}


.raid-list .raid-list__col b {
    display: block;
    min-height: 28px;
    padding: 0 8px;
    line-height: 28px;
    background: #332513;
    color: #ffffff;
    font-weight: 700;
}


/* =========================================================
.raid-list .raid-list__col label {
Export Card Below
    display: flex;
  ========================================================= */
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 28px;
    padding: 0 8px;
    line-height: 28px;
}
 
.raid-list .raid-list__col label:nth-of-type(odd) {
    background: #1d1916;
}
 
.raid-list .raid-list__col label:nth-of-type(even) {
    background: #241a12;
}


.cb-export-card {
.raid-list .raid-list__col input[type="checkbox"] {
     width: 1200px;
     margin: 0;
     background: radial-gradient(circle at top, #111827 0%, #050505 60%);
     flex: 0 0 auto;
    border: 3px solid #9b793d;
    border-radius: 20px;
    padding: 30px;
    color: #f4e6c8;
    font-family: Georgia, serif;
    box-sizing: border-box;
}
}


.cb-export-main-title {
.raid-list .raid-list__col a {
     text-align: center;
     color: #ffb000;
    font-size: 60px;
     font-weight: 700;
     font-weight: bold;
     text-decoration: none;
     color: #d9a64d;
    letter-spacing: 2px;
    line-height: 1;
}
}


.cb-export-sub-title {
.raid-list .raid-list__col a:hover {
    text-align: center;
     color: #ffd36a;
    font-size: 42px;
     text-decoration: underline;
     color: #d9a64d;
     margin-top: 8px;
    margin-bottom: 14px;
}
}


.cb-export-build-name {
.raid-list__section-title {
    padding: 6px 10px;
    background: #1d1916;
    border-top: 1px solid #6a4a1f;
    border-bottom: 1px solid #6a4a1f;
    color: #ffb000;
    font-weight: 700;
     text-align: center;
     text-align: center;
    font-size: 34px;
    margin-bottom: 24px;
    color: #f5f5f5;
}
}


.cb-export-top-info {
#character-builder-app, #character-builder-app .character-builder-box, #cm-calculator-app, #cm-calculator-app .cm-box {
     display: flex;
     background: #14100d !important;
     gap: 20px;
     color: #f2f2f2 !important;
    margin-bottom: 22px;
}
}


.cb-export-info-box {
#character-builder-app .character-builder-title, #character-builder-app .character-builder-section-title, #cm-calculator-app .cm-title, #cm-calculator-app .cm-section-title {
     flex: 1;
     background: #1d1916 !important;
     border: 2px solid #7b5a28;
     color: #ffb000 !important;
     border-radius: 12px;
     border-bottom: 1px solid #6a4a1f !important;
    padding: 16px 20px;
    background: rgba(0,0,0,0.28);
    font-size: 24px;
}
}


#character-builder-app table, #character-builder-app th, #character-builder-app td, #cm-calculator-app table, #cm-calculator-app th, #cm-calculator-app td {
    background: #1d1916 !important;
    color: #f2f2f2 !important;
    border-color: #3b2a16 !important;
}


#character-builder-app th, #cm-calculator-app th {
    background: #241a12 !important;
    color: #ffb000 !important;
}


.cb-export-main-grid {
#character-builder-app input, #character-builder-app select, #character-builder-app textarea, #cm-calculator-app input, #cm-calculator-app select, #cm-calculator-app textarea {
     display: grid;
     background: #1d1916 !important;
     grid-template-columns: 1fr 1.1fr;
     color: #f2f2f2 !important;
     gap: 25px;
     border: 1px solid #3b2a16 !important;
}
}


.cb-export-panel {
#character-builder-app button, #cm-calculator-app button {
     border: 2px solid #7b5a28;
     background: #1d1916 !important;
     border-radius: 16px;
     color: #ffb000 !important;
     padding: 20px;
     border: 1px solid #6a4a1f !important;
    background: rgba(0,0,0,0.28);
    box-sizing: border-box;
}
}


.cb-export-panel-title {
#character-builder-app button:hover, #cm-calculator-app button:hover {
     font-size: 32px;
     background: #4a3214 !important;
     color: #d9a64d;
     color: #ffd36a !important;
    margin-bottom: 14px;
    font-weight: bold;
}
}


.cb-export-subsection-title {
#character-builder-app a, #cm-calculator-app a, #character-builder-app .cb-equipped-item-name, #cm-calculator-app .cm-mastery-name {
    font-size: 22px;
     color: #ffb000 !important;
     color: #d9a64d;
    margin-bottom: 8px;
    font-weight: bold;
}
}


.cb-export-divider {
#character-builder-app .character-builder-slot, #character-builder-app .character-builder-equipped-summary, #character-builder-app .character-builder-warning-box, #character-builder-app .cb-picker-item, #cm-calculator-app .cm-mastery-card, #cm-calculator-app .cm-warning-box {
     border-top: 1px solid rgba(155,121,61,0.65);
     background: #1d1916 !important;
     margin: 14px 0;
    color: #f2f2f2 !important;
     border-color: #3b2a16 !important;
}
}


.cb-export-stats-grid {
#character-builder-app .cb-picker-item:nth-child(even), #cm-calculator-app .cm-mastery-card:nth-child(even) {
    display: grid;
     background: #241a12 !important;
    grid-template-columns: 1fr 1fr;
     gap: 7px 32px;
    font-size: 23px;
}
}


#cb-export-vitals {
#character-builder-app .cb-picker-selected, #cm-calculator-app .cm-selected {
     grid-template-columns: 1fr;
     background: #1d1916 !important;
    color: #ffb000 !important;
}
}


#cb-export-items {
.cm-card-description-chip {
     font-size: 21px;
     flex-basis: 100%;
     line-height: 1.38;
     background: rgba(242, 171, 49, 0.08);
    border: 1px solid rgba(242, 171, 49, 0.22);
    color: #e6e1d8;
    font-weight: 700;
}
}


.cb-export-bottom-row {
#column-one #searchInput {
     display: grid;
     width: 125px !important;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    margin-top: 25px;
}
}


.cb-export-bottom-box {
#p-personal h3 {
     min-height: 230px;
     display: none !important;
}
}


.cb-export-url-box {
#p-personal .pBody, #p-personal ul {
     font-size: 14px;
    display: flex !important;
     line-height: 1.45;
    flex-direction: row !important;
     background: rgba(0,0,0,0.45);
    flex-wrap: nowrap !important;
     border: 1px solid #7b5a28;
     justify-content: flex-end !important;
     padding: 12px;
     align-items: center !important;
     border-radius: 10px;
    gap: 4px !important;
     word-break: break-all;
     margin: 0 !important;
     color: #f2f2f2;
     padding: 0 !important;
     overflow: visible !important;
     list-style: none !important;
     background: transparent !important;
     border: 0 !important;
}
}


.cb-export-qr-box {
#p-personal li {
     width: 190px;
    display: flex !important;
     height: 190px;
    align-items: center !important;
     background: #fff;
    float: none !important;
     color: #000;
    position: relative !important;
     display: flex;
     width: auto !important;
     align-items: center;
     min-width: max-content !important;
     justify-content: center;
     height: 24px !important;
     margin: 0 auto;
     margin: 0 !important;
     padding: 0 !important;
     white-space: nowrap !important;
     list-style: none !important;
     overflow: visible !important;
}
}


.cb-export-notes-box {
#p-personal a {
     font-size: 19px;
    display: inline-flex !important;
     line-height: 1.35;
    align-items: center !important;
     background: rgba(0,0,0,0.35);
    justify-content: center !important;
     padding: 12px;
    width: auto !important;
     border-radius: 10px;
     min-width: max-content !important;
     min-height: 135px;
    height: 24px !important;
     white-space: pre-wrap;
     line-height: 22px !important;
     color: #f2f2f2;
    padding: 1px 8px !important;
    margin: 0 !important;
    border: 1px solid #6b5430 !important;
     background: #1d1916 !important;
    color: #ffb000 !important;
    text-decoration: none !important;
     font-weight: bold !important;
     font-size: 11px !important;
     box-sizing: border-box !important;
     white-space: nowrap !important;
     overflow: hidden !important;
}
}


.cb-export-footer {
#p-personal a:hover {
     text-align: center;
     background: #3a2418 !important;
    font-size: 24px;
     color: #ffd45a !important;
     color: #d9a64d;
    margin-top: 16px;
}
}


.cb-export-panel-title,
#p-personal #pt-notifications-alert, #p-personal #pt-notifications-notice {
.cb-export-subsection-title {
     width: auto !important;
     text-align: center;
    min-width: max-content !important;
    max-width: none !important;
    height: 24px !important;
    overflow: visible !important;
}
}


.cb-export-sub-title::after,
#p-personal #pt-notifications-alert a, #p-personal #pt-notifications-notice a {
.cb-export-panel-title::after {
    display: inline-flex !important;
     content: "";
    align-items: center !important;
     display: block;
     justify-content: center !important;
     width: 85%;
    width: auto !important;
     height: 1px;
     min-width: max-content !important;
     margin: 10px auto 0;
     max-width: none !important;
     background: linear-gradient(
     height: 24px !important;
        to right,
    line-height: 22px !important;
        transparent,
    padding: 1px 8px !important;
        #9b793d,
     margin: 0 !important;
        #d9a64d,
    border: 1px solid #6b5430 !important;
        #9b793d,
     background: #1d1916 !important;
        transparent
    color: #ffb000 !important;
     );
    text-indent: 0 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: visible !important;
     box-sizing: border-box !important;
}
}


#p-personal #pt-notifications-alert a:hover, #p-personal #pt-notifications-notice a:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
}


#p-personal #pt-userpage, #p-personal #pt-userpage a {
    min-width: 78px !important;
}


.cb-rarity-common {
html.eqoa-theme-dark, html.eqoa-theme-dark body, body.eqoa-theme-dark {
     color: #d7d7d7;
    background: #090705 !important;
     color: #f2d28a !important;
}
}


.cb-rarity-uncommon {
html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-parser-output, html.eqoa-theme-dark .mw-body-content, html.eqoa-theme-dark #userloginForm, html.eqoa-theme-dark #userlogin, html.eqoa-theme-dark .mw-ui-container, html.eqoa-theme-dark .mw-htmlform, html.eqoa-theme-dark .mw-htmlform-ooui-wrapper, html.eqoa-theme-dark .mw-parser-output, html.eqoa-theme-dark .mw-specialpage-summary, html.eqoa-theme-dark .mw-createacct-benefits-container {
     color: #6fd96f;
    background: #090705 !important;
     color: #f2d28a !important;
}
}


.cb-rarity-rare {
html.eqoa-theme-dark h1, html.eqoa-theme-dark h2, html.eqoa-theme-dark h3, html.eqoa-theme-dark label, html.eqoa-theme-dark .mw-label, html.eqoa-theme-dark .mw-ui-vform-field label {
     color: #63a9ff;
     color: #ffb000 !important;
    text-shadow: 0 0 4px rgba(99,169,255,0.45);
}
}


.cb-rarity-ultra-rare {
html.eqoa-theme-dark input, html.eqoa-theme-dark textarea, html.eqoa-theme-dark select {
     color: #d26bff;
    background: #1d1916 !important;
     text-shadow:
     color: #ffd45a !important;
        0 0 6px rgba(210,107,255,0.8),
     border: 1px solid #6b5430 !important;
        0 0 12px rgba(255,120,60,0.45);
}
}


.cb-rarity-relic {
html.eqoa-theme-dark input::placeholder {
     color: #d4af37;
     color: #9f8a65 !important;
}


    text-shadow:
html.eqoa-theme-dark .mw-ui-button, html.eqoa-theme-dark button, html.eqoa-theme-dark input[type="submit"] {
        0 0 6px rgba(212,175,55,0.55),
    background: #1d1916 !important;
        0 0 12px rgba(255,220,120,0.35);
    color: #ffb000 !important;
    border: 1px solid #6b5430 !important;
    font-weight: bold !important;
}


    animation:
html.eqoa-theme-dark .mw-ui-button:hover, html.eqoa-theme-dark button:hover, html.eqoa-theme-dark input[type="submit"]:hover {
        cbRelicTextGlow 2.5s ease-in-out infinite;
    background: #3a2418 !important;
    color: #ffd45a !important;
}
}


@keyframes cbRelicTextGlow {
html.eqoa-theme-dark a {
     0% {
     color: #ffb000 !important;
        text-shadow:
}
            0 0 4px rgba(212,175,55,0.35),
            0 0 8px rgba(255,220,120,0.18);
    }


    50% {
html.eqoa-theme-dark a:hover {
        text-shadow:
    color: #ffd45a !important;
            0 0 8px rgba(255,230,150,0.85),
}
            0 0 18px rgba(255,240,180,0.45);
    }


    100% {
html.eqoa-theme-dark .mw-createacct-benefits-list, html.eqoa-theme-dark .mw-createacct-benefits-list li, html.eqoa-theme-dark .mw-number-text, html.eqoa-theme-dark .mw-label-text {
        text-shadow:
     color: #f2d28a !important;
            0 0 4px rgba(212,175,55,0.35),
            0 0 8px rgba(255,220,120,0.18);
     }
}
}


.cb-rarity-legendary {
#mw-fr-revisiontag, .flaggedrevs_short, .flaggedrevs_basic, .flaggedrevs_preview, .flaggedrevs_notice, .flaggedrevs_reviewform, .mw-fr-reviewlink {
    color: #b54848;
    display: none;
    text-shadow:
}
        0 0 5px rgba(181,72,72,0.55),
        0 0 12px rgba(120,20,20,0.35);


     animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
#character-builder-app .cb-rarity-common {
     color: #ffffff !important;
    text-shadow: none !important;
}
}


@keyframes cbLegendaryTextPulse {
#character-builder-app .cb-rarity-uncommon {
     0% {
     color: #2ee84a !important;
        text-shadow:
    text-shadow: 0 0 5px rgba(46, 232, 74, 0.55) !important;
            0 0 4px rgba(181,72,72,0.35),
}
            0 0 8px rgba(120,20,20,0.18);
    }


     50% {
#character-builder-app .cb-rarity-rare {
        text-shadow:
     color: #3f8cff !important;
            0 0 8px rgba(220,90,90,0.85),
    text-shadow: 0 0 5px rgba(63, 140, 255, 0.6) !important;
            0 0 18px rgba(160,30,30,0.45);
}
    }


     100% {
#character-builder-app .cb-rarity-ultra-rare {
        text-shadow:
     color: #ff4cff !important;
            0 0 4px rgba(181,72,72,0.35),
    text-shadow: 0 0 5px rgba(255, 76, 255, 0.7) !important;
            0 0 8px rgba(120,20,20,0.18);
    }
}
}


.cb-rarity-relic {
#character-builder-app .cb-rarity-heroic {
     color: #d4af37;
     color: #b84cff !important;
     text-shadow:
     text-shadow: 0 0 5px rgba(184, 76, 255, 0.65) !important;
        0 0 6px rgba(212,175,55,0.55),
}
        0 0 14px rgba(255,220,120,0.35);


     animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
#character-builder-app .cb-rarity-legendary {
     color: #E31414 !important;
    text-shadow: 0 0 5px rgba(255, 140, 26, 0.65) !important;
}
}


@keyframes cbRelicTextShimmer {
#character-builder-app .cb-rarity-epic {
     0% {
     color: #ff4cff !important;
        color: #d4af37;
    text-shadow: 0 0 5px rgba(255, 76, 255, 0.7) !important;
        text-shadow:
}
            0 0 4px rgba(212,175,55,0.35),
            0 0 8px rgba(255,220,120,0.18);
    }


#character-builder-app .cb-rarity-artifact {
    color: #ff8c1a !important;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.7) !important;
}


    50% {
#character-builder-app .cb-equipped-item-name, #character-builder-app .cb-picker-item span[class*="cb-rarity-"], #character-builder-app .cb-tooltip-title[class*="cb-rarity-"], #character-builder-app #cb-export-items span[class*="cb-rarity-"] {
        color: #ffe08a;
    font-weight: bold !important;
        text-shadow:
}
            0 0 9px rgba(255,230,150,0.9),
            0 0 20px rgba(255,240,180,0.5);
    }


    100% {
#character-builder-app .cb-export-notes-wide {
        color: #d4af37;
    width: 100% !important;
        text-shadow:
            0 0 4px rgba(212,175,55,0.35),
            0 0 8px rgba(255,220,120,0.18);
    }
}
}


.cb-tooltip-rarity-legendary {
#character-builder-app .cb-export-bottom-row {
     border: 1px solid #b54848;
     grid-template-columns: 1fr !important;
    box-shadow:
        0 0 12px rgba(181,72,72,0.45),
        0 0 20px rgba(120,20,20,0.28);
}
}


/* =========================================================
.cb-export-master-class-row {
Export Card ^^^^
    display: grid;
========================================================= */
    grid-template-columns: 1fr;
/* =========================================================
    margin-bottom: 22px;
CM UI - Sandstorm Theme
}
========================================================= */


/* =========================================================
.cb-export-master-class-box {
CM UI - Sandstorm Dark Theme
    text-align: center;
========================================================= */
}


/* =========================================================
.cb-export-path-row {
  CM UI - Clean Sandstorm Theme
    display: grid;
  ========================================================= */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}


.cb-export-path-row .cb-export-info-box, .cb-export-master-class-row .cb-export-info-box {
/* =========================================================
    min-height: 96px;
  CM UI - EQOA.live Inspired Theme
}
  ========================================================= */


.cm-calculator-box {
#cb-export-cm {
    --cm-bg: #080807;
     font-size: 18px;
    --cm-panel: #11100e;
     line-height: 1.35;
    --cm-panel-2: #141210;
}
    --cm-panel-3: #1b1814;
     --cm-border: #3a3129;
     --cm-border-soft: rgba(240, 180, 0, 0.22);
    --cm-gold: #f0b400;
    --cm-gold-soft: #d4a137;
    --cm-gold-hover: #ffd45a;
    --cm-text: #e6e1d8;
    --cm-muted: #aaa197;
    --cm-danger: #ff9b8f;
    --cm-danger-bg: rgba(130, 38, 28, 0.22);
    --cm-good: #9eff9e;
    --cm-blue: #8fd9ff;


    background: var(--cm-bg);
#cb-export-cm b {
     color: var(--cm-text);
     color: #f4e6c8;
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    padding: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}
}


/* Titles */
.cb-export-title-main {
    text-align: center !important;
    color: #d89a22 !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}


.cm-calculator-box .character-builder-title {
.cb-export-title-sub {
    color: #ffffff;
     text-align: center !important;
    font-size: 26px;
     color: #d89a22 !important;
    font-weight: 700;
     font-size: 32px !important;
     text-align: center;
     font-weight: 800 !important;
     border-bottom: 1px solid var(--cm-border);
     margin-top: 8px !important;
     padding-bottom: 8px;
     margin-bottom: 14px;
     text-shadow: 1px 1px 2px #000;
}
}


.cm-calculator-box .character-builder-section-title {
.cb-export-build-name {
     color: var(--cm-gold);
    margin-bottom: 24px;
     font-size: 17px;
    text-align: center !important;
     font-weight: 700;
     color: #f7ead1 !important;
     border-bottom: 1px solid var(--cm-border);
     font-size: 30px !important;
    padding-bottom: 5px;
     font-weight: 700 !important;
     margin: 22px 0 !important;
}
}


/* Controls */
.cb-export-panel {
    background: #34302d !important;
    border: 1px solid #6b4a1e !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    padding: 16px !important;
}


.cm-calculator-box .character-builder-controls,
.cb-export-top-row {
.cm-search-tools,
     display: grid !important;
.cm-purchased-panel,
     grid-template-columns: 2fr 1fr !important;
.cm-master-class-panel,
     gap: 14px !important;
.cm-unlocked-box {
     margin-bottom: 14px !important;
     background: var(--cm-panel);
     border: 1px solid var(--cm-border);
     border-radius: 4px;
     padding: 10px;
}
}


.cm-calculator-box .character-builder-controls {
.cb-export-identity-grid {
     display: grid;
     display: grid !important;
     grid-template-columns: repeat(auto-fit, minmax(155px, max-content));
     grid-template-columns: repeat(3, 1fr) !important;
     gap: 8px 12px;
     gap: 10px !important;
    align-items: center;
    margin-bottom: 15px;
}
}


.cm-calculator-box label {
.cb-export-identity-grid > div {
     color: var(--cm-gold);
     background: #1d1916 !important;
     font-weight: 700;
    border: 1px solid #4f3718 !important;
    border-radius: 5px !important;
    padding: 9px 10px !important;
     min-height: 54px !important;
}
}


.cm-calculator-box select,
.cb-export-identity-grid b {
.cm-calculator-box input,
     display: block !important;
.cm-search-input {
     color: #d89a22 !important;
     background: var(--cm-bg);
     font-size: 13px !important;
     color: var(--cm-text);
     text-transform: uppercase !important;
     border: 1px solid var(--cm-border);
     margin-bottom: 5px !important;
     border-radius: 3px;
     padding: 6px 8px;
}
}


.cm-calculator-box select:focus,
.cb-export-identity-grid span {
.cm-calculator-box input:focus,
    display: block !important;
.cm-search-input:focus {
    color: #f2e6c9 !important;
     outline: none;
     font-size: 18px !important;
     border-color: var(--cm-gold);
     font-weight: 700 !important;
     box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
     line-height: 1.15 !important;
}
}


/* Buttons */
.cb-export-panel-title {
    color: #d89a22 !important;
    text-align: center !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}


.cm-tab-button,
.cb-export-vitals-grid {
.cm-view-button,
    display: grid !important;
.cm-action-button,
    grid-template-columns: 1fr !important;
.cm-reset-button,
    gap: 10px !important;
.cm-clear-search-button,
}
.cm-mini-remove-button {
 
     background: var(--cm-panel-3);
.cb-export-vitals-grid > div {
     border: 1px solid var(--cm-border);
     background: #1f1710 !important;
     border-radius: 3px;
     border: 1px solid #4f3718 !important;
     color: var(--cm-gold);
     border-radius: 5px !important;
     cursor: pointer;
     padding: 10px !important;
     padding: 7px 12px;
     text-align: center !important;
     font-weight: 700;
     font-size: 22px !important;
     font-weight: 800 !important;
}
}


.cm-tab-button:hover,
.cb-export-stats-panel {
.cm-view-button:hover,
     margin-bottom: 14px !important;
.cm-action-button:hover,
.cm-reset-button:hover,
.cm-clear-search-button:hover,
.cm-mini-remove-button:hover {
     background: var(--cm-panel-2);
    color: var(--cm-gold-hover);
    border-color: var(--cm-gold-soft);
}
}


.cm-tab-active,
.cb-export-stat-columns {
.cm-view-active {
     display: grid !important;
     background: var(--cm-gold);
     grid-template-columns: 1fr 1fr !important;
     color: #080807;
     gap: 22px !important;
     border-color: var(--cm-gold);
}
}


/* Tables */
.cb-export-small-title {
    color: #d89a22 !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}


.cm-calculator-box .character-builder-stat-table {
#cb-export-core-stats, #cb-export-resists {
     width: 100%;
     display: grid !important;
     border-collapse: collapse;
     grid-template-columns: repeat(3, 1fr) !important;
     background: var(--cm-panel);
     gap: 6px 14px !important;
     border: 1px solid var(--cm-border);
    font-size: 19px !important;
     line-height: 1.35 !important;
}
}


.cm-calculator-box .character-builder-stat-table th {
.cb-export-middle-row {
     background: var(--cm-panel-3);
     display: grid !important;
     color: var(--cm-gold);
     grid-template-columns: 1fr 2fr !important;
     border: 1px solid var(--cm-border);
     gap: 14px !important;
     padding: 8px;
     margin-bottom: 14px !important;
}
}


.cm-calculator-box .character-builder-stat-table td {
#cb-export-items, #cb-export-cm, #cb-export-notes {
    background: var(--cm-panel-2);
     font-size: 18px !important;
     color: var(--cm-text);
     line-height: 1.45 !important;
    border: 1px solid var(--cm-border);
     text-align: center;
    padding: 8px;
    font-weight: 700;
}
}


/* Layout */
#cb-export-items > div, #cb-export-cm > div {
    padding: 3px 0 !important;
    border-bottom: 1px solid rgba(216, 154, 34, 0.16) !important;
}


.cm-tabs,
.cb-export-notes-panel {
.cm-view-toggle,
     min-height: 140px !important;
.cm-build-actions {
     display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
}


.cm-main-layout {
.cb-export-footer {
     display: grid;
     color: #d89a22 !important;
     grid-template-columns: minmax(220px, 280px) 1fr;
     text-align: center !important;
     gap: 14px;
    font-size: 22px !important;
     align-items: start;
     font-weight: 700 !important;
     margin-top: 22px !important;
}
}


/* Remove parent box around mastery cards */
#cb-export-card-container {
    position: fixed !important;
    left: -99999px !important;
    top: 0 !important;
    width: 1200px !important;
    min-width: 1200px !important;
    height: auto !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}


#cm-mastery-panel,
#cb-export-card-inner {
#cm-mastery-panel.character-builder-warning-box {
     width: 1200px !important;
     background: transparent !important;
     min-width: 1200px !important;
    border: 0 !important;
     height: auto !important;
    border-radius: 0 !important;
     box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
     margin: 0 !important;
}
}


/* Search */
.cm-master-class-heading {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}


.cm-search-row {
.cm-master-class-panel {
     display: flex;
     display: flex;
     gap: 8px;
    align-items: center;
    justify-content: space-between;
     gap: 10px;
    max-width: 520px;
    margin: 10px auto 0;
    padding: 16px 22px;
    text-align: center;
    border: 1px solid rgba(218, 177, 91, 0.75);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(70, 43, 20, 0.95), rgba(22, 14, 9, 0.96)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 7px);
    box-shadow: inset 0 0 18px rgba(255, 217, 122, 0.12),
        0 0 14px rgba(0, 0, 0, 0.35);
}
}


.cm-search-input {
.cm-master-class-text {
     flex: 1;
     display: block;
     min-width: 220px;
    width: 100%;
    color: #f4d37b;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
     text-align: center !important;
}
}


.cm-search-input::placeholder {
.cb-export-cm-columns {
     color: var(--cm-muted);
     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
    margin-top: 6px;
}
}


.cm-lock-toggle {
.cb-export-cm-row {
     display: inline-flex;
     padding: 3px 0;
     align-items: center;
     border-bottom: 1px solid rgba(199, 143, 38, 0.18);
     gap: 6px;
     white-space: nowrap;
     margin-top: 8px;
     font-size: 16px;
     color: var(--cm-muted);
}
     font-weight: 700;
 
.cb-stat-cap {
     color: #ff3b3b;
     font-weight: 800;
    margin-left: 2px;
}
}


.cm-lock-toggle input {
.cb-ingame-stat-panel {
     accent-color: var(--cm-gold);
     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 14px;
    padding: 14px;
    background: linear-gradient(rgba(190, 178, 145, 0.92), rgba(168, 157, 126, 0.92));
    border: 1px solid rgba(40, 32, 20, 0.65);
    color: #050505;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.22);
}
}


/* Panels */
.cb-ingame-stat-column {
 
     display: grid;
.cm-panel-title {
     gap: 0;
     color: var(--cm-gold);
     border: 1px solid rgba(40, 32, 20, 0.28);
     font-weight: 700;
    margin-bottom: 8px;
     border-bottom: 1px solid var(--cm-border);
    padding-bottom: 5px;
}
}


.cm-master-class-panel {
.cb-ingame-row, .cb-ingame-small-row {
     display: flex;
     display: grid;
    grid-template-columns: minmax(150px, 1fr) 64px minmax(90px, auto);
     align-items: center;
     align-items: center;
     justify-content: space-between;
     min-height: 36px;
     gap: 10px;
    padding: 3px 8px;
    border-bottom: 1px solid rgba(40, 32, 20, 0.22);
     font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}
}


.cm-master-class-label {
.cb-ingame-small-row {
     color: var(--cm-gold);
     min-height: 26px;
    font-size: 14px;
     font-weight: 700;
     font-weight: 700;
    opacity: 0.85;
}
}


#cm-unlocked-summary {
.cb-ingame-header-row {
     background: transparent !important;
     color: #00344f;
    border: 0 !important;
    padding: 0 !important;
}
}


.cm-unlocked-grid {
.cb-ingame-row input {
     display: grid;
     width: 54px;
     gap: 10px;
     height: 26px;
    text-align: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(40, 32, 20, 0.42);
    color: #00344f;
    font-size: 16px;
    font-weight: 800;
    box-sizing: border-box;
}
}


.cm-unlocked-grid-three {
.cb-ingame-row span:last-child, .cb-ingame-small-row span:last-child {
     grid-template-columns: repeat(3, minmax(0, 1fr));
     text-align: right;
    white-space: nowrap;
}
}


/* Purchased */
.character-builder-section-title {
 
     padding-bottom: 5px;
.cm-purchased-group-title {
    margin-bottom: 10px;
     color: var(--cm-gold);
    display: block;
     font-size: 13px;
    width: 100%;
     font-weight: 700;
    box-sizing: border-box;
     margin: 8px 0 4px;
    margin: 18px 0 10px !important;
    padding: 8px 10px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
     font-size: 20px;
     font-weight: 800;
     line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #f2b229;
    background: linear-gradient(180deg, #4a2b0d, #2a1708);
    border-top: 1px solid rgba(242, 178, 41, 0.35);
    border-bottom: 1px solid rgba(242, 178, 41, 0.35);
}
}


.cm-purchased-item {
.character-builder-subsection-title {
     display: flex;
     display: block;
     justify-content: space-between;
     width: 100%;
     gap: 8px;
    box-sizing: border-box;
     background: var(--cm-bg);
     margin: 0 0 10px !important;
     border: 1px solid var(--cm-border);
    padding: 8px 10px;
     border-radius: 3px;
     text-align: center;
     padding: 5px 7px;
    font-family: Georgia, "Times New Roman", serif;
     margin-bottom: 5px;
    font-size: 20px;
     cursor: pointer;
    font-weight: 800;
     line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
     color: #f2b229;
     background: linear-gradient(180deg, #4a2b0d, #2a1708);
     border-top: 1px solid rgba(242, 178, 41, 0.35);
     border-bottom: 1px solid rgba(242, 178, 41, 0.35);
}
}


.cm-purchased-item:hover {
.cb-slot-section-title {
     background: var(--cm-panel-3);
    margin: 0 0 8px !important;
     border-color: var(--cm-gold-soft);
     padding: 6px 8px;
     font-size: 15px;
}
}


.cm-purchased-cost {
#mw-fr-reviewform,
     color: var(--cm-gold-hover);
.flaggedrevs_reviewform,
     font-weight: 700;
.flaggedrevs_basic,
}
.mw-fr-reviewform {
     display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
 
    margin: 12px 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
     overflow: hidden !important;


/* Cards */
    background: #1d1916 !important;
    background-color: #1d1916 !important;
    background-image: none !important;


.cm-card {
     color: #f2b229 !important;
     position: relative;
     border: 1px solid rgba(160, 101, 28, 0.75) !important;
    background: var(--cm-panel);
     border-radius: 4px !important;
     border: 1px solid var(--cm-border);
     box-shadow: none !important;
    border-left: 3px solid var(--cm-gold);
     border-radius: 4px;
     padding: 10px;
    margin-bottom: 9px;
    color: var(--cm-text);
    transition: background 0.12s ease, border-color 0.12s ease;
}
}


.cm-card:hover {
#mw-fr-reviewform *,
     background: var(--cm-panel-2);
.flaggedrevs_reviewform *,
     border-color: var(--cm-gold-soft);
.flaggedrevs_basic *,
.mw-fr-reviewform * {
     max-width: 100% !important;
     box-sizing: border-box !important;
}
}


.cm-purchasable-card {
#mw-fr-reviewform .cdx-card__text__title,
     cursor: pointer;
.flaggedrevs_reviewform .cdx-card__text__title,
.flaggedrevs_basic .cdx-card__text__title,
.mw-fr-reviewform .cdx-card__text__title {
     color: #f2b229 !important;
    text-shadow: none !important;
}
}


.cm-card-locked {
#mw-fr-reviewform input[type="text"],
     opacity: 0.68;
#mw-fr-reviewform input[type="search"],
     background: #0b0a09;
#mw-fr-reviewform input[type="button"],
     border-color: rgba(180, 80, 60, 0.35);
#mw-fr-reviewform input[type="submit"],
     cursor: not-allowed;
#mw-fr-reviewform textarea,
#mw-fr-reviewform button,
.flaggedrevs_reviewform input[type="text"],
.flaggedrevs_reviewform input[type="search"],
.flaggedrevs_reviewform input[type="button"],
.flaggedrevs_reviewform input[type="submit"],
.flaggedrevs_reviewform textarea,
.flaggedrevs_reviewform button,
.mw-fr-reviewform input[type="text"],
.mw-fr-reviewform input[type="search"],
.mw-fr-reviewform input[type="button"],
.mw-fr-reviewform input[type="submit"],
.mw-fr-reviewform textarea,
.mw-fr-reviewform button {
     max-width: 100% !important;
 
     background: #130d09 !important;
     background-color: #130d09 !important;
    background-image: none !important;
 
    color: #f5d28a !important;
    border: 1px solid rgba(160, 101, 28, 0.75) !important;
     border-radius: 4px !important;
    box-shadow: none !important;
 
    font-weight: 700 !important;
}
}


.cm-card-locked:hover {
#mw-fr-submit-accept,
     background: #0b0a09;
.flaggedrevs_reviewform #mw-fr-submit-accept,
     border-color: rgba(180, 80, 60, 0.35);
.mw-fr-reviewform #mw-fr-submit-accept {
     background: #4a2b0d !important;
     background-color: #4a2b0d !important;
    color: #f2b229 !important;
    border: 1px solid rgba(242, 178, 41, 0.55) !important;
}
}


.cm-card-title {
html.eqoa-theme-light #mw-fr-reviewform,
    color: var(--cm-gold-hover);
html.eqoa-theme-light .flaggedrevs_reviewform,
     font-size: 16px;
html.eqoa-theme-light .flaggedrevs_basic,
     font-weight: 700;
html.eqoa-theme-light .mw-fr-reviewform {
     margin-bottom: 5px;
     background: #f6f4f1 !important;
}
     background-color: #f6f4f1 !important;
     background-image: none !important;


.cm-card-locked .cm-card-title {
    color: #2b211b !important;
     color: var(--cm-muted);
     border: 1px solid #d8d1c7 !important;
}
}


.cm-card-desc {
html.eqoa-theme-light #mw-fr-reviewform .cdx-card__text__title,
     color: var(--cm-muted);
html.eqoa-theme-light .flaggedrevs_reviewform .cdx-card__text__title,
     margin: 6px 0;
html.eqoa-theme-light .flaggedrevs_basic .cdx-card__text__title,
html.eqoa-theme-light .mw-fr-reviewform .cdx-card__text__title,
html.eqoa-theme-light #mw-fr-reviewform label,
html.eqoa-theme-light .flaggedrevs_reviewform label,
html.eqoa-theme-light .mw-fr-reviewform label {
     color: #2b211b !important;
     text-shadow: none !important;
}
}


.cm-card-meta,
html.eqoa-theme-light #mw-fr-reviewform input[type="text"],
.cm-card-req,
html.eqoa-theme-light #mw-fr-reviewform input[type="search"],
.cm-chain-preview,
html.eqoa-theme-light #mw-fr-reviewform textarea,
.cm-unlock-hint {
html.eqoa-theme-light .flaggedrevs_reviewform input[type="text"],
     font-size: 12px;
html.eqoa-theme-light .flaggedrevs_reviewform input[type="search"],
     line-height: 1.45;
html.eqoa-theme-light .flaggedrevs_reviewform textarea,
     margin-top: 5px;
html.eqoa-theme-light .mw-fr-reviewform input[type="text"],
html.eqoa-theme-light .mw-fr-reviewform input[type="search"],
html.eqoa-theme-light .mw-fr-reviewform textarea {
     background: #ffffff !important;
    background-color: #ffffff !important;
     background-image: none !important;
 
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
     box-shadow: none !important;
}
}


.cm-card-meta {
html.eqoa-theme-light #mw-fr-submit-accept,
     color: var(--cm-gold);
html.eqoa-theme-light .flaggedrevs_reviewform #mw-fr-submit-accept,
     font-weight: 700;
html.eqoa-theme-light .mw-fr-reviewform #mw-fr-submit-accept {
     background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;
 
    color: rgb(250, 248, 245) !important;
    border: 0 !important;
     border-radius: 4px !important;
}
}


.cm-card-req,
#mw-fr-reviewform,
.cm-chain-preview {
.flaggedrevs_reviewform,
     color: var(--cm-muted);
.mw-fr-reviewform {
     width: auto !important;
    max-width: calc(100% - 360px) !important;
    margin-left: 180px !important;
    margin-right: 340px !important;
    box-sizing: border-box !important;
    clear: both !important;
}
}


.cm-unlock-hint {
@media screen and (max-width: 1200px) {
     background: var(--cm-danger-bg);
     #mw-fr-reviewform,
    border: 1px solid rgba(220, 90, 70, 0.35);
    .flaggedrevs_reviewform,
    border-radius: 3px;
    .mw-fr-reviewform {
    color: #ffb0a0;
        max-width: none !important;
     padding: 6px 8px;
        margin-left: 180px !important;
        margin-right: 12px !important;
     }
}
}


/* Tags */
@media screen and (max-width: 700px) {
    #mw-fr-reviewform,
    .flaggedrevs_reviewform,
    .mw-fr-reviewform {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


.cm-card-type-tag {
#footer a, .mw-footer a {
     display: inline-block;
     color: #f2b229 !important;
    background: #080807;
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    color: var(--cm-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    text-transform: uppercase;
}
}


.cm-type-general {
#cb-export-card-inner.cb-export-card-dashboard {
     border-left-color: var(--cm-gold);
    min-height: 900px !important;
    box-sizing: border-box !important;
     border-radius: 14px !important;
    width: 1200px;
    min-width: 1200px;
    padding: 22px 24px 26px;
    color: #eee2c8;
    background: radial-gradient(circle at 50% 12%, rgba(255, 235, 180, 0.08), transparent 20%),
        radial-gradient(circle at 72% 58%, rgba(120, 70, 28, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(48, 42, 35, 0.98), rgba(20, 17, 14, 0.99));
    border: 4px ridge #2a2520;
    box-shadow: inset 0 0 0 2px rgba(210, 190, 150, 0.14),
        inset 0 0 70px rgba(0, 0, 0, 0.68),
        0 0 0 2px #0b0907;
    font-family: Georgia, "Times New Roman", serif;
}
}


.cm-type-racial {
#cb-export-card-inner .cb-export-title-main {
     border-left-color: #7ccf7a;
    font-size: 42px;
    color: #f0e0bd;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000, 0 0 8px rgba(240, 224, 189, 0.22);
     border-bottom: 2px groove rgba(210, 190, 150, 0.35);
    padding-bottom: 6px;
}
}


.cm-type-archetype {
#cb-export-card-inner .cb-export-title-sub {
     border-left-color: #7ab7ff;
     color: #cfa35e;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 2px;
}
}


.cm-type-class {
#cb-export-card-inner .cb-export-build-name {
     border-left-color: #ff9d66;
     color: #f0e0bd;
    font-size: 28px;
    text-align: center;
    margin: 10px 0 12px;
    text-shadow: 0 2px 0 #000;
}
}


.cm-type-master {
#cb-export-card-inner .cb-export-character-sheet {
     border-left-color: #d9a3ff;
     display: grid;
    grid-template-columns: 285px 1fr 1fr;
    grid-template-areas: "level level level"
        "info equipment equipment"
        "info mastery mastery"
        "notes notes notes";
    gap: 18px;
    margin-top: 12px;
}
}


.cm-type-general .cm-card-type-tag {
#cb-export-card-inner .cb-export-level-panel {
     color: var(--cm-gold);
     grid-area: level;
}
}


.cm-type-racial .cm-card-type-tag {
#cb-export-card-inner .cb-export-left-info-panel {
     color: #7ccf7a;
     grid-area: info;
}
}


.cm-type-archetype .cm-card-type-tag {
#cb-export-card-inner .cb-export-equipment-panel {
     color: #7ab7ff;
     grid-area: equipment;
}
}


.cm-type-class .cm-card-type-tag {
#cb-export-card-inner .cb-export-cm-panel {
     color: #ff9d66;
     grid-area: mastery;
}
}


.cm-type-master .cm-card-type-tag {
#cb-export-card-inner .cb-export-left-info-panel, #cb-export-card-inner .cb-export-equipment-panel, #cb-export-card-inner .cb-export-cm-panel, #cb-export-card-inner .cb-export-notes-panel {
     color: #d9a3ff;
     background: radial-gradient(circle at top left, rgba(255, 245, 210, 0.07), transparent 28%),
        linear-gradient(180deg, rgba(36, 31, 27, 0.96), rgba(17, 14, 12, 0.97));
    border: 2px groove rgba(185, 150, 95, 0.45);
    box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 240, 190, 0.08);
    padding: 14px;
}
}


/* Compact View */
#cb-export-card-inner .cb-export-identity-stack > div {
    display: block;
    padding: 10px 10px 12px;
    border-bottom: 1px solid rgba(196, 138, 36, 0.28);
}


.cm-card-compact {
#cb-export-card-inner .cb-export-identity-stack b {
     padding: 8px 10px;
     display: block;
    color: #d9a321;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 6px;
}
}


.cm-card-compact-row {
#cb-export-card-inner .cb-export-identity-stack span {
     display: flex;
     display: block;
     justify-content: space-between;
     color: #f3ead5;
     align-items: center;
    font-size: 21px;
     gap: 12px;
    font-weight: 900;
     line-height: 1.1;
     text-shadow: 0 2px 0 #000;
}
}


.cm-card-compact .cm-card-meta {
#cb-export-card-inner .cb-export-bars {
     margin-top: 0;
     margin-top: 12px;
    white-space: nowrap;
}
}


/* Requirements */
#cb-export-card-inner .cb-export-resource-row {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}


.cm-stat-min-req {
#cb-export-card-inner .cb-export-resource-row b {
     color: #ffcf7a;
     color: #f3ead5;
     font-weight: 700;
    font-size: 22px;
     font-weight: 900;
    text-shadow: 0 2px 0 #000;
}
}


.cm-req-owned,
#cb-export-card-inner .cb-export-resource-bar {
.cm-chain-owned {
     position: relative;
     color: var(--cm-good);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 22px;
    overflow: hidden;
    border: 2px solid #050505;
    border-radius: 2px;
    background-color: #111;
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.45),
        inset 0 -4px 4px rgba(0,0,0,0.75),
        0 1px 0 rgba(255,255,255,0.18);
}
}


.cm-req-missing {
#cb-export-card-inner .cb-export-resource-bar i {
     color: var(--cm-danger);
     display: block;
    border-left: 1px solid rgba(0,0,0,0.55);
    border-right: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 7px 4px rgba(255,255,255,0.22),
        inset 0 -7px 5px rgba(0,0,0,0.45);
}
}


.cm-chain-current {
#cb-export-card-inner .cb-export-resource-bar i:first-child {
    color: var(--cm-gold-hover);
     border-left: 0;
     font-weight: 700;
}
}


.cm-chain-step,
#cb-export-card-inner .cb-export-resource-bar i:last-of-type {
.cm-chain-arrow {
     border-right: 0;
     color: var(--cm-muted);
}
}


/* Tooltip */
#cb-export-card-inner .cb-export-hp-row .cb-export-resource-bar, #cb-export-card-inner .cb-export-hp-row .cb-export-resource-bar i {
 
     background-color: #b00000;
.cm-tooltip {
    position: fixed;
    z-index: 999999;
    width: 340px;
    pointer-events: none;
    background: #080807;
    border: 1px solid var(--cm-gold-soft);
    border-radius: 4px;
    color: var(--cm-text);
     padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
}
}


.cm-tooltip-title {
#cb-export-card-inner .cb-export-pow-row .cb-export-resource-bar, #cb-export-card-inner .cb-export-pow-row .cb-export-resource-bar i {
    color: var(--cm-gold-hover);
     background-color: #0070b8;
    font-weight: 700;
    font-size: 16px;
     margin-bottom: 5px;
}
}


.cm-tooltip-desc {
#cb-export-card-inner .cb-export-resource-bar span {
     color: var(--cm-muted);
    position: absolute;
     margin-bottom: 6px;
    inset: 0;
    z-index: 2;
    display: block;
     color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
     text-shadow: 0 2px 0 #000;
    background: transparent;
}
}


.cm-tooltip-meta,
#cb-export-card-inner .cb-export-ac-row {
.cm-tooltip-req {
     width: 96px;
     color: var(--cm-gold);
    height: 96px;
     font-size: 12px;
    margin: 18px auto 0;
     margin-top: 5px;
    border: 2px solid rgba(185, 150, 95, 0.5);
    border-radius: 50%;
    background: rgba(15, 12, 9, 0.78);
     color: #f3ead5;
    text-align: center;
     box-shadow: inset 0 0 18px rgba(0,0,0,0.55);
}
}


.cm-tooltip-stat {
#cb-export-card-inner .cb-export-ac-row b {
     color: #b8f2b0;
    display: block;
     font-size: 12px;
     color: #d9a321;
     font-size: 17px;
    margin-top: 18px;
}
}


.cm-tooltip-spell-add {
#cb-export-card-inner .cb-export-ac-row span {
     color: var(--cm-blue);
     display: block;
     font-size: 12px;
    font-size: 25px;
     font-weight: 900;
}
}


.cm-tooltip-spell-remove {
#cb-export-card-inner .cb-export-stat-block {
    color: var(--cm-danger);
     margin-top: 18px;
     font-size: 12px;
}
}


/* Responsive */
#cb-export-card-inner .cb-export-small-title, #cb-export-card-inner .cb-export-panel-title {
    color: #e8a51d;
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    border-top: 1px solid rgba(196, 138, 36, 0.32);
    border-bottom: 1px solid rgba(196, 138, 36, 0.32);
    margin: 14px 0 10px;
    padding: 6px 0;
    text-shadow: 0 2px 0 #000;
}


@media (max-width: 1000px) {
#cb-export-card-inner .cb-export-resist-title {
    .cm-unlocked-grid-three {
    margin-top: 18px;
        grid-template-columns: 1fr;
    }
}
}


@media (max-width: 800px) {
#cb-export-card-inner #cb-export-core-stats, #cb-export-card-inner #cb-export-resists {
     .cm-main-layout {
     display: grid;
        grid-template-columns: 1fr;
    grid-template-columns: 1fr 1fr;
     }
    gap: 6px 14px;
     color: #eadfc8;
    font-size: 18px;
}


    .cm-search-row {
#cb-export-card-inner #cb-export-core-stats b, #cb-export-card-inner #cb-export-resists b {
        flex-direction: column;
    color: #f3ead5;
    }
}


    .cm-card-compact-row {
#cb-export-card-inner #cb-export-items > div, #cb-export-card-inner .cb-export-cm-row {
        display: block;
    padding: 4px 0;
     }
    border-bottom: 1px solid rgba(158, 105, 28, 0.25);
     font-size: 17px;
}


    .cm-card-compact .cm-card-meta {
#cb-export-card-inner .cb-export-cm-columns {
        margin-top: 5px;
    display: grid;
        white-space: normal;
    grid-template-columns: 1fr 1fr;
     }
     gap: 8px 22px;
}
}


@media (max-width: 760px) {
#cb-export-card-inner .cb-export-notes-panel {
    .cm-calculator-box {
    grid-area: notes;
        padding: 12px;
     margin-top: 18px;
     }
}


    .cm-calculator-box .character-builder-controls {
#cb-export-card-inner .cb-export-notes-box {
        grid-template-columns: 1fr;
    min-height: 70px;
        align-items: stretch;
    padding: 12px;
    }
    border: 1px solid rgba(185, 150, 95, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #eadfc8;
    font-size: 18px;
}


    .cm-calculator-box select,
#cb-export-card-inner .cb-export-equipment-row {
     .cm-calculator-box input,
     display: grid;
     .cm-reset-button {
     grid-template-columns: 1fr 1fr;
        width: 100% !important;
    gap: 18px;
        box-sizing: border-box;
    padding: 5px 0;
     }
    border-bottom: 1px solid rgba(158, 105, 28, 0.25);
     font-size: 17px;
}


    .cm-tabs,
#cb-export-card-inner .cb-export-slot-label {
    .cm-view-toggle {
    color: #d9a321;
        display: grid;
    font-weight: 900;
        grid-template-columns: 1fr 1fr;
    margin-right: 6px;
     }
    text-transform: uppercase;
     font-size: 13px;
}


    .cm-tab-button,
#cb-export-card-inner .cb-export-empty {
    .cm-view-button {
    color: #eadfc8;
        width: 100%;
    font-style: italic;
        text-align: center;
     opacity: 0.85;
     }
}


    .cm-build-actions {
#cb-export-card-inner .cb-export-class-path-row {
        display: grid;
    display: block;
        grid-template-columns: 1fr;
    font-size: 19px;
     }
    line-height: 1.15;
    margin-top: 3px;
     color: #f3ead5;
}
}


#cb-export-card-inner .cb-export-class-path-row b {
    display: inline !important;
    color: #d9a321;
    font-size: 16px;
    margin-right: 5px;
}


#cb-export-card-inner .cb-export-level-title {
    color: #f3ead5;
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 0 #000;
}


/* =========================================================
#eqoa-right-rail iframe {
CM UI ^^^^
    display: block;
========================================================= */
    width: 300px;
/* =========================================================
    height: 500px;
  Whole Wiki Theme Toggle
    border: 1px solid #5a3b12;
  Locked Dark: EQOA.live Inspired
    border-radius: 4px;
  Locked White: Sandstorm Control Panel
    background: #111;
  ========================================================= */
}


:root,
#content, .mw-body {
.eqoa-theme-dark {
     margin-right: 340px !important;
     --wiki-bg: #080808;
    --wiki-panel: #151515;
    --wiki-panel-2: #1d1d1d;
    --wiki-border: #343434;
    --wiki-border-soft: #252525;
    --wiki-text: #eeeeee;
    --wiki-muted: #b8b8b8;
    --wiki-heading: #ffffff;
    --wiki-link: #e0b85f;
    --wiki-link-hover: #ffd982;
    --wiki-button-bg: #202020;
    --wiki-button-text: #f2f2f2;
}
}


.eqoa-theme-light {
#eqoa-topbar .eqoa-top-title {
     --wiki-bg: #f6f4f1;
     color: #f0b429;
     --wiki-panel: #ffffff;
     font-family: Georgia, "Times New Roman", serif;
     --wiki-panel-2: #fbfaf8;
    font-size: 24px;
     --wiki-border: #d8d1c7;
    font-weight: 700;
     --wiki-border-soft: #e6e0d8;
     line-height: 1;
    --wiki-text: #2b211b;
     text-decoration: none;
     --wiki-muted: #665a50;
     white-space: nowrap;
     --wiki-heading: #1f1712;
}
     --wiki-link: #5a3928;
 
     --wiki-link-hover: #8a5538;
#eqoa-topbar .eqoa-top-search {
    display: flex;
     align-items: center;
     width: min(52vw, 920px);
     height: 40px;
     margin: 0;
}


    --wiki-button-bg: #3b2a20;
#eqoa-topbar .eqoa-top-search input {
     --wiki-button-text: #ffffff;
    width: 100%;
    height: 40px;
    padding: 0 44px 0 12px;
    background: #1b1006;
    color: #f0b429;
    border: 1px solid #7b5a22;
     border-radius: 0;
    font-size: 14px;
}
}


/* Whole wiki surface */
#eqoa-topbar .eqoa-top-search button {
html,
    width: 44px;
body,
    height: 40px;
#globalWrapper,
    margin-left: -44px;
#column-content,
    padding: 0;
#content,
    background: #1b1006;
#bodyContent,
    color: #f0b429;
#mw-content-text,
    border: 1px solid #7b5a22;
.mw-body,
    border-left: 0;
.mw-parser-output {
    border-radius: 0;
     background: var(--wiki-bg) !important;
     font-size: 0;
     color: var(--wiki-text) !important;
     cursor: pointer;
}
}


/* Headings */
#eqoa-topbar .eqoa-top-search button::before {
h1, h2, h3, h4, h5, h6,
     content: "\1F50D" !important;
.firstHeading {
    font-size: 10px !important;
     color: var(--wiki-heading) !important;
    font-weight: 800 !important;
     text-shadow: none !important;
    line-height: 40px !important;
     color: inherit !important;
}
}


/* Links */
#eqoa-topbar .eqoa-discord-button {
a,
    display: inline-flex;
.mw-body a,
    align-items: center;
.portlet a,
    justify-content: center;
.wikitable a,
    height: 40px;
.mw-parser-output a {
    min-width: 180px;
     color: var(--wiki-link) !important;
    padding: 0 14px;
     font-weight: 700;
    background: #5865f2;
     color: #fff;
     font-weight: bold;
     text-decoration: none;
     text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
}
}


a:hover,
#p-search, #searchform, #simpleSearch {
.mw-body a:hover,
     display: none !important;
.portlet a:hover,
.wikitable a:hover,
.mw-parser-output a:hover {
     color: var(--wiki-link-hover) !important;
    text-decoration: underline;
}
}


/* Tables and common boxes */
html.eqoa-theme-dark #eqoa-right-rail {
.wikitable,
     position: fixed;
.toc,
    top: 92px;
.catlinks,
    right: 18px;
.thumbinner,
     z-index: 100;
.quest-template,
     width: 300px;
.npc-template {
     background: var(--wiki-panel) !important;
     border-color: var(--wiki-border) !important;
     color: var(--wiki-text) !important;
}
}


.wikitable th {
html.eqoa-theme-dark #eqoa-right-rail iframe {
     background: var(--wiki-panel-2) !important;
     display: block;
     color: var(--wiki-heading) !important;
    width: 300px;
     border-color: var(--wiki-border) !important;
    height: 500px;
     border: 1px solid #5a3b12;
     border-radius: 4px;
    background: #111;
}
}


.wikitable td {
html.eqoa-theme-dark #content, html.eqoa-theme-dark .mw-body {
     border-color: var(--wiki-border-soft) !important;
     border-color: #7b4b16 !important;
    margin-right: 340px !important;
}
}


/* Inputs */
html.eqoa-theme-dark #p-search, html.eqoa-theme-dark #searchform, html.eqoa-theme-dark #simpleSearch {
input,
     display: none !important;
select,
textarea {
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
     color: var(--wiki-text) !important;
}
}


/* Theme icon button */
html.eqoa-theme-dark #column-one {
.eqoa-theme-toggle {
     position: absolute !important;
     position: fixed;
     top: 0 !important;
     right: 18px;
     left: 0 !important;
     bottom: 18px;
     width: 145px !important;
    z-index: 99999;
     margin: 0 !important;
     width: 34px;
     padding: 160px 0 0 0 !important;
     height: 34px;
     z-index: 20 !important;
     background: var(--wiki-button-bg);
     box-sizing: border-box !important;
     border: 1px solid var(--wiki-border);
     background: #080807 !important;
    border-radius: 6px;
     border-right: 1px solid #6b4a1e !important;
     color: var(--wiki-button-text);
    cursor: pointer;
    font-family: Arial, sans-serif;
     font-size: 22px;
     line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
}


.eqoa-theme-toggle:hover {
html.eqoa-theme-dark #p-logo {
     background: #6b4b38;
    position: absolute !important;
     color: #ffffff;
    top: 0 !important;
    left: 0 !important;
    width: 145px !important;
    height: 145px !important;
    margin: 0 !important;
     padding: 0 !important;
     z-index: 30 !important;
}
}


/* Builder + CM theme inheritance */
html.eqoa-theme-dark #p-logo a {
.eqoa-theme-light .character-builder-box,
    display: block !important;
.eqoa-theme-light .cm-calculator-box {
    width: 145px !important;
     color-scheme: light;
    height: 145px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
     background-position: center !important;
}
}


.eqoa-theme-dark .character-builder-box,
html.eqoa-theme-dark #column-one h3[id$="-label"], html.eqoa-theme-dark #column-one h5[id$="-label"], html.eqoa-theme-dark #column-one .portlet h3, html.eqoa-theme-dark #column-one .portlet h5, html.eqoa-theme-dark #column-one .generated-sidebar h3, html.eqoa-theme-dark #column-one .generated-sidebar h5 {
.eqoa-theme-dark .cm-calculator-box {
    display: block !important;
     color-scheme: dark;
    width: 132px !important;
    height: 22px !important;
    line-height: 22px !important;
    margin: 8px 6px 4px 6px !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;
     color: #f2ab31 !important;
    border: 1px solid rgba(242,171,49,0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}
}


/* White theme: Monobook skin */
html.eqoa-theme-dark #column-one .portlet .pBody, html.eqoa-theme-dark #column-one .generated-sidebar .pBody, html.eqoa-theme-dark #column-one div.pBody {
html.eqoa-theme-light body,
     background: #080807 !important;
html.eqoa-theme-light #globalWrapper,
     background-color: #080807 !important;
html.eqoa-theme-light #column-content,
html.eqoa-theme-light #column-one,
html.eqoa-theme-light #content,
html.eqoa-theme-light #bodyContent,
html.eqoa-theme-light #mw-content-text,
html.eqoa-theme-light .mw-body,
html.eqoa-theme-light .mw-parser-output,
html.eqoa-theme-light #p-personal,
html.eqoa-theme-light #p-cactions,
html.eqoa-theme-light #p-cactions ul,
html.eqoa-theme-light #p-personal ul {
     background: #f6f4f1 !important;
     background-color: #f6f4f1 !important;
     background-image: none !important;
     background-image: none !important;
     color: #2b211b !important;
    border: 0 !important;
     color: #f2ab31 !important;
}
}


/* White theme: sidebar */
html.eqoa-theme-dark #column-one .pBody a, html.eqoa-theme-dark #column-one .pBody a:visited {
html.eqoa-theme-light .portlet,
     color: #f2ab31 !important;
html.eqoa-theme-light .generated-sidebar,
     font-weight: 700 !important;
html.eqoa-theme-light #p-search,
     text-decoration: none !important;
html.eqoa-theme-light #p-tb,
html.eqoa-theme-light #p-navigation,
html.eqoa-theme-light #p-logo {
     background: #f6f4f1 !important;
     border-color: #d8d1c7 !important;
     color: #2b211b !important;
}
}


html.eqoa-theme-light .portlet h3,
html.eqoa-theme-dark #column-one .pBody a:hover {
html.eqoa-theme-light .generated-sidebar h3,
     color: #ffd45a !important;
html.eqoa-theme-light #p-search h3,
     text-decoration: underline !important;
html.eqoa-theme-light #p-tb h3 {
     background: #ece8e1 !important;
     border: 1px solid #d8d1c7 !important;
    color: #4a3427 !important;
}
}


html.eqoa-theme-light .portlet .pBody,
html.eqoa-theme-dark #p-cactions {
html.eqoa-theme-light .generated-sidebar .pBody,
    position: absolute !important;
html.eqoa-theme-light #p-search .pBody,
    top: 10px !important;
html.eqoa-theme-light #p-tb .pBody {
    left: 155px !important;
     background: #ffffff !important;
    right: auto !important;
     border: 1px solid #d8d1c7 !important;
    width: auto !important;
     color: #2b211b !important;
    margin: 0 !important;
    padding: 0 !important;
     z-index: 50 !important;
     background: transparent !important;
     border: 0 !important;
}
}


/* White theme: search */
html.eqoa-theme-dark #p-cactions ul {
html.eqoa-theme-light #searchInput,
     display: block !important;
html.eqoa-theme-light #p-search input#searchInput,
     margin: 0 !important;
html.eqoa-theme-light #p-search input[name="search"] {
     padding: 0 !important;
     background: #fbfaf8 !important;
     background: transparent !important;
     background-color: #fbfaf8 !important;
     border: 0 !important;
     background-image: none !important;
     border: 1px solid #d8d1c7 !important;
     color: #2b211b !important;
    box-shadow: none !important;
}
}


html.eqoa-theme-light #searchInput:focus {
html.eqoa-theme-dark #p-cactions li {
     background: #ffffff !important;
    display: inline-block !important;
     border-color: #8a5538 !important;
    float: none !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
     background: transparent !important;
     border: 0 !important;
    height: auto !important;
    line-height: normal !important;
}
}


html.eqoa-theme-light #searchGoButton,
html.eqoa-theme-dark #p-cactions li a {
html.eqoa-theme-light #mw-searchButton,
    display: inline-block !important;
html.eqoa-theme-light input[type="submit"],
    height: 19px !important;
html.eqoa-theme-light input[type="button"] {
    line-height: 19px !important;
     background: #3b2a20 !important;
     padding: 0 10px !important;
     border: 1px solid #4a3427 !important;
     margin: 0 !important;
     color: #ffffff !important;
     box-sizing: border-box !important;
}
}


/* White theme: top tabs */
html.eqoa-theme-dark #p-personal {
html.eqoa-theme-light #p-cactions li,
     display: block !important;
html.eqoa-theme-light #p-personal li {
    visibility: visible !important;
     background: #f6f4f1 !important;
    opacity: 1 !important;
     border-color: #d8d1c7 !important;
    position: fixed !important;
    top: 8px !important;
    right: 18px !important;
    left: auto !important;
     z-index: 10000 !important;
    background: transparent !important;
}
}


html.eqoa-theme-light #p-cactions li a,
html.eqoa-theme-dark #p-personal ul, html.eqoa-theme-dark #p-personal .pBody {
html.eqoa-theme-light #p-personal li a {
    display: flex !important;
     background: #ffffff !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
     background: transparent !important;
    border: 0 !important;
    list-style: none !important;
}


     border: 1px solid #d8d1c7 !important;
html.eqoa-theme-dark #p-personal li {
     color: #2b211b !important;
    display: inline-flex !important;
    margin: 0 !important;
     padding: 0 !important;
     list-style: none !important;
}
}


html.eqoa-theme-light #p-cactions li.selected a {
html.eqoa-theme-dark #p-personal a {
     background: #ece8e1 !important;
    display: inline-flex !important;
     color: #1f1712 !important;
    align-items: center !important;
    justify-content: center !important;
    height: 24px !important;
    padding: 1px 8px !important;
     background: #1d1916 !important;
     color: #ffb000 !important;
    border: 1px solid #6b5430 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
}


/* White theme: hard-coded main page panels */
html.eqoa-theme-dark #p-personal a:hover {
html.eqoa-theme-light body .mw-parser-output > div,
     background: #3a2418 !important;
html.eqoa-theme-light body .mw-parser-output > div > div,
     color: #ffd45a !important;
html.eqoa-theme-light body .mw-parser-output > div > div > div,
html.eqoa-theme-light body .mw-parser-output table,
html.eqoa-theme-light body .mw-parser-output tr,
html.eqoa-theme-light body .mw-parser-output td,
html.eqoa-theme-light body .mw-parser-output th,
html.eqoa-theme-light body .mw-parser-output [style*="background"],
html.eqoa-theme-light body .mw-parser-output [style*="background-color"],
html.eqoa-theme-light body .mw-parser-output [style*="#0"],
html.eqoa-theme-light body .mw-parser-output [style*="#1"],
html.eqoa-theme-light body .mw-parser-output [style*="#2"],
html.eqoa-theme-light body .mw-parser-output [style*="black"],
html.eqoa-theme-light body .mw-parser-output [style*="brown"] {
     background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
     border-color: #d8d1c7 !important;
}
}


/* White theme: text inside panels */
:root, html.eqoa-theme-dark, .eqoa-theme-dark {
html.eqoa-theme-light body .mw-parser-output h1,
    --wiki-bg: #080807;
html.eqoa-theme-light body .mw-parser-output h2,
    --wiki-panel: #1d1916;
html.eqoa-theme-light body .mw-parser-output h3,
    --wiki-panel-2: #11100e;
html.eqoa-theme-light body .mw-parser-output h4,
    --wiki-panel-3: #332513;
html.eqoa-theme-light body .mw-parser-output b,
    --wiki-border: #3a3129;
html.eqoa-theme-light body .mw-parser-output strong,
    --wiki-border-soft: rgba(242, 171, 49, 0.16);
html.eqoa-theme-light body .mw-parser-output span,
    --wiki-text: #e6e1d8;
html.eqoa-theme-light body .mw-parser-output p,
    --wiki-muted: #aaa197;
html.eqoa-theme-light body .mw-parser-output small,
    --wiki-heading: #ffffff;
html.eqoa-theme-light body .mw-parser-output li {
    --wiki-link: #f2ab31;
     color: #2b211b !important;
    --wiki-link-hover: #ffd45a;
    --wiki-button-bg: #1d1916;
     --wiki-button-text: #f2ab31;
}
}


html.eqoa-theme-light body .mw-parser-output a {
html.eqoa-theme-dark #character-builder-app, html.eqoa-theme-dark #character-builder-app .character-builder-box, html.eqoa-theme-dark #cm-calculator-app, html.eqoa-theme-dark #cm-calculator-app .cm-calculator-box, html.eqoa-theme-dark #cm-calculator-app .cm-box {
     color: #5a3928 !important;
     background: #080807 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}
}


html.eqoa-theme-light body .mw-parser-output a:hover {
html.eqoa-theme-dark #character-builder-app .character-builder-controls, html.eqoa-theme-dark #cm-calculator-app .character-builder-controls, html.eqoa-theme-dark #character-builder-app .cm-search-tools, html.eqoa-theme-dark #cm-calculator-app .cm-search-tools, html.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary, html.eqoa-theme-dark #character-builder-app .character-builder-slot, html.eqoa-theme-dark #cm-calculator-app .cm-card, html.eqoa-theme-dark #cm-calculator-app .cm-purchased-panel, html.eqoa-theme-dark #cm-calculator-app .cm-master-class-panel, html.eqoa-theme-dark #cm-calculator-app .cm-unlocked-box {
     color: #8a5538 !important;
    background: #1d1916 !important;
    color: #e6e1d8 !important;
     border-color: #3a3129 !important;
}
}


html.eqoa-theme-light body .mw-parser-output hr {
html.eqoa-theme-dark #character-builder-app .character-builder-title, html.eqoa-theme-dark #character-builder-app .character-builder-section-title, html.eqoa-theme-dark #character-builder-app .character-builder-subsection-title, html.eqoa-theme-dark #cm-calculator-app .cm-title, html.eqoa-theme-dark #cm-calculator-app .cm-section-title, html.eqoa-theme-dark #cm-calculator-app .cm-panel-title, html.eqoa-theme-dark #cm-calculator-app .cm-purchased-group-title {
     border-color: #d8d1c7 !important;
     background: #332513 !important;
     background: #d8d1c7 !important;
     color: #f2ab31 !important;
     color: #d8d1c7 !important;
     border-color: rgba(242, 171, 49, 0.28) !important;
    text-shadow: none !important;
}
}


html.eqoa-theme-light .character-builder-box,
html.eqoa-theme-dark #character-builder-app table, html.eqoa-theme-dark #character-builder-app th, html.eqoa-theme-dark #character-builder-app td, html.eqoa-theme-dark #cm-calculator-app table, html.eqoa-theme-dark #cm-calculator-app th, html.eqoa-theme-dark #cm-calculator-app td {
html.eqoa-theme-light .cm-calculator-box {
     background: #1d1916 !important;
     background: #f6f4f1 !important;
    color: #e6e1d8 !important;
     color: #2b211b !important;
     border-color: #3a3129 !important;
}
}


html.eqoa-theme-dark .character-builder-box,
html.eqoa-theme-dark #character-builder-app th, html.eqoa-theme-dark #cm-calculator-app th {
html.eqoa-theme-dark .cm-calculator-box {
     background: #1d1916 !important;
     background: #080808 !important;
     color: #f2ab31 !important;
     color: #eeeeee !important;
}
}


/* =========================================================
html.eqoa-theme-dark #character-builder-app input, html.eqoa-theme-dark #character-builder-app select, html.eqoa-theme-dark #character-builder-app textarea, html.eqoa-theme-dark #cm-calculator-app input, html.eqoa-theme-dark #cm-calculator-app select, html.eqoa-theme-dark #cm-calculator-app textarea {
  Whole Wiki Theme Toggle
    background: #1d1916 !important;
  Locked Dark: EQOA.live Inspired
    color: #e6e1d8 !important;
  Locked White: Sandstorm Control Panel
    border: 1px solid #3a3129 !important;
  ========================================================= */
}


html.eqoa-theme-dark #character-builder-app button, html.eqoa-theme-dark #cm-calculator-app button {
    background: #1d1916 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
}


html.eqoa-theme-dark #character-builder-app button:hover, html.eqoa-theme-dark #cm-calculator-app button:hover {
    background: #332513 !important;
    color: #ffd45a !important;
}


.eqoa-itembox {
.cb-picker-tools {
     background: rgba(15,15,18,0.82);
     display: flex !important;
     border: 2px solid rgba(210,210,210,0.55);
     gap: 5px !important;
     box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
     align-items: center !important;
    padding: 18px 24px;
     margin: 4px 0 !important;
     margin: 12px 0;
    color: #f2f2f2;
    font-family: monospace;
    font-size: 28px;
    line-height: 1.18;
    max-width: 620px;
    text-shadow: 2px 2px 0 #000;
}
}


.eqoa-itembox-name {
.cb-picker-tools .cb-slot-filter, .cb-picker-tools .cb-slot-sort {
     font-size: 31px;
     flex: 1 1 0 !important;
    color: #fff;
     min-width: 0 !important;
     margin-bottom: 14px;
}
}


.eqoa-itembox-line {
.cb-upgrade-row {
     margin: 0;
    display: block !important;
     line-height: 1.05;
    width: 100% !important;
     margin: 2px 0 5px 0 !important;
     clear: both !important;
}
}


.eqoa-itembox-flags {
.cb-upgrade-row .cb-upgrade-toggle {
     margin-top: 8px;
     display: inline-flex !important;
     margin-bottom: 12px;
    align-items: center !important;
     color: #fff;
     gap: 4px !important;
     white-space: nowrap !important;
}
}


.eqoa-itembox-stats {
html.eqoa-theme-dark .rare-encounter-table, html.eqoa-theme-dark .raid-encounter-table table, html.eqoa-theme-dark .rare-mobile-box {
     margin-top: 6px;
     background: #1d1916 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}
}


.eqoa-itembox-desc {
html.eqoa-theme-dark .rare-encounter-table th, html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify b, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify > b, html.eqoa-theme-dark .rare-mobile-heading {
     margin-top: 14px;
     background: #332513 !important;
     font-size: 22px;
     color: #f2ab31 !important;
     color: #d6d6d6;
     border-color: rgba(242, 171, 49, 0.28) !important;
}
}


.eqoa-itembox-stats div {
html.eqoa-theme-dark .rare-encounter-table td, html.eqoa-theme-dark .raid-encounter-table td {
     margin: 0;
     background: #1d1916 !important;
     padding: 0;
     color: #e6e1d8 !important;
     line-height: 1.05;
     border-color: #3a3129 !important;
}
}


.eqoa-itembox {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label {
     background: rgba(15,15,18,0.92);
     color: #f2ab31 !important;
     border: 2px solid rgba(210,210,210,0.55);
     border-color: rgba(242, 171, 49, 0.16) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
    padding: 18px 24px;
    margin: 12px 0;
    color: #f2f2f2;
    font-family: monospace;
    font-size: 28px;
    line-height: 1;
    max-width: 620px;
    text-shadow: 2px 2px 0 #000;
}
}


.eqoa-itembox-name {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(odd), html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    font-size: 31px;
     background: #1d1916 !important;
     color: #fff;
    margin-bottom: 14px;
}
}


.eqoa-itembox-line {
html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(even), html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
    margin: 0;
     background: #1d1916 !important;
    padding: 0;
     line-height: 1;
}
}


.eqoa-itembox-flags {
.cm-card-effects {
     margin-top: 6px;
     display: flex;
     margin-bottom: 6px;
     flex-wrap: wrap;
     color: #fff;
     gap: 4px;
     line-height: 1;
     margin-top: 7px;
}
}


.eqoa-itembox-stats {
.cm-card-effects span {
     margin-top: 4px;
     display: inline-flex;
     line-height: 1;
    align-items: center;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
     line-height: 1.2;
}
}


.eqoa-itembox-stats div {
.cm-card-gain {
     margin: 0;
     background: rgba(70, 170, 80, 0.16);
     padding: 0;
     border: 1px solid rgba(120, 220, 130, 0.35);
     line-height: 1;
     color: #9eff9e;
}
}


.eqoa-itembox-desc {
.cm-card-loss {
     margin-top: 10px;
     background: rgba(170, 55, 45, 0.18);
     font-size: 22px;
     border: 1px solid rgba(255, 120, 105, 0.35);
     color: #d6d6d6;
     color: #ff9b8f;
}
}


html.eqoa-theme-dark #p-cactions li, html.eqoa-theme-dark #p-cactions li.selected {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
}


html.eqoa-theme-dark #p-cactions li a, html.eqoa-theme-dark #p-cactions li.selected a {
    background: #1d1916 !important;
    background-color: #1d1916 !important;
    background-image: none !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}


html.eqoa-theme-dark #p-cactions li.selected a, html.eqoa-theme-dark #p-cactions li a:hover {
    background: #332513 !important;
    background-color: #332513 !important;
    color: #ffd45a !important;
    border-color: rgba(242, 171, 49, 0.45) !important;
}


#eqoa-sidebar-account {
    width: 132px !important;
    margin: 8px 6px 10px 6px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


#eqoa-sidebar-account .eqoa-sidebar-account-title {
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
    background: #332513 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}


/* =========================================================
#eqoa-sidebar-account .eqoa-sidebar-account-grid {
  Item Page
    display: grid !important;
  ========================================================= */
    grid-template-columns: repeat(2, 1fr) !important;
 
    gap: 3px !important;
 
}


#eqoa-sidebar-account .eqoa-sidebar-account-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 4px 3px !important;
    box-sizing: border-box !important;
    background: #1d1916 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}


.eqoa-item-page {
html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-button {
     max-width: 1100px;
     background: #ffffff !important;
     margin: 20px auto;
    background-color: #ffffff !important;
     color: #e6e0d0;
     color: #2b211b !important;
     font-family: Arial, sans-serif;
     border: 1px solid #d8d1c7 !important;
     text-shadow: none !important;
}
}


.eqoa-item-left {
html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-button:hover {
     display: flex;
     background: #ece8e1 !important;
     flex-direction: column;
     background-color: #ece8e1 !important;
     gap: 18px;
     color: #1f1712 !important;
}
}


.eqoa-section {
#eqoa-sidebar-account .eqoa-sidebar-account-button:hover {
     background: rgba(10,10,12,0.92);
     background: #3a2418 !important;
     border: 1px solid #7b5a28;
     color: #ffd45a !important;
     box-shadow:
     text-decoration: none !important;
        inset 0 0 0 1px rgba(255,255,255,0.06),
        0 0 12px rgba(0,0,0,0.45);
}
}


.eqoa-section-title {
.eqoa-crafts-box {
     padding: 10px 14px;
     width: 100%;
     font-size: 24px;
     margin: 16px auto;
    color: #e0b35a;
     border: 1px solid var(--wiki-border);
     border-bottom: 1px solid rgba(224,179,90,0.35);
     background: var(--wiki-panel);
     background: rgba(255,180,60,0.04);
     color: var(--wiki-text);
     text-transform: uppercase;
     box-sizing: border-box;
     letter-spacing: 1px;
}
}


.eqoa-section-content {
.eqoa-crafts-header {
     padding: 14px;
     background: var(--wiki-panel-3, #332513);
    color: var(--wiki-link, #f2ab31);
    border-bottom: 1px solid rgba(242, 171, 49, 0.28);
    text-align: center;
     font-size: 18px;
     font-size: 18px;
     line-height: 1.45;
     font-weight: 800;
     color: #d8d2c2;
     padding: 8px 10px;
    box-sizing: border-box;
}
}


.eqoa-grid-2 {
.eqoa-crafts-grid {
     display: grid;
     display: grid;
     grid-template-columns: 1fr 1fr;
     grid-template-columns: repeat(4, 1fr);
     gap: 16px;
     gap: 12px;
    padding: 16px 24px;
    background: var(--wiki-panel-2);
    box-sizing: border-box;
}
}


.eqoa-section a {
.eqoa-craft-tile {
     color: #6eb7ff;
    text-align: center;
     text-decoration: none;
     color: var(--wiki-link);
    font-weight: 700;
     line-height: 1.35;
}
}


.eqoa-section a:hover {
.eqoa-craft-tile a {
     color: #9fd0ff;
     color: var(--wiki-link) !important;
     text-shadow: 0 0 6px rgba(120,180,255,0.35);
     text-decoration: none !important;
}
}


.eqoa-itembox {
.eqoa-craft-tile a:hover {
     background: rgba(5,5,8,0.96);
     color: var(--wiki-link-hover) !important;
     border: 2px solid rgba(220,220,220,0.5);
     text-decoration: underline !important;
    box-shadow:
}
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 0 20px rgba(0,0,0,0.5);


    padding: 20px 26px;
.eqoa-craft-tile img {
     color: #f2f2f2;
     margin-top: 4px;
     font-family: monospace;
     padding: 2px;
     font-size: 28px;
     border: 2px solid rgba(242, 171, 49, 0.55);
     line-height: 1;
     background: #e8e1d4;
     text-shadow: 2px 2px 0 #000;
     image-rendering: auto;
}
}


.eqoa-itembox-name {
html.eqoa-theme-light .eqoa-crafts-box {
     font-size: 34px;
     border-color: #d8d1c7;
    margin-bottom: 16px;
     background: #ffffff;
     color: #fff;
}
}


.eqoa-itembox-line {
html.eqoa-theme-light .eqoa-crafts-header {
     line-height: 1.05;
     background: #ece8e1;
    color: #5a3928;
    border-bottom-color: #d8d1c7;
}
}


.eqoa-itembox-flags {
html.eqoa-theme-light .eqoa-crafts-grid {
    margin-top: 8px;
     background: #fbfaf8;
    margin-bottom: 8px;
     line-height: 1.05;
}
}


.eqoa-itembox-stats div {
html.eqoa-theme-light .eqoa-craft-tile, html.eqoa-theme-light .eqoa-craft-tile a {
     line-height: 1.05;
     color: #5a3928 !important;
}
}


.eqoa-itembox-desc {
html.eqoa-theme-light .eqoa-craft-tile a:hover {
    margin-top: 12px;
     color: #8a5538 !important;
    font-size: 22px;
     color: #d2d2d2;
}
}


@media (max-width: 900px) {
html.eqoa-theme-light .eqoa-craft-tile img {
    .eqoa-grid-2 {
    border-color: #b68a2c;
        grid-template-columns: 1fr;
     background: #ffffff;
     }
}


    .eqoa-itembox {
.eqoa-hobbies-grid {
        font-size: 22px;
    grid-template-columns: 1fr !important;
     }
     justify-items: center !important;
}


    .eqoa-section-title {
.eqoa-hobbies-grid .eqoa-craft-tile {
        font-size: 20px;
    width: 160px !important;
    }
}


    .eqoa-section-content {
.crafting-rank-table {
        font-size: 16px;
    max-width: 420px !important;
     }
     margin: 12px auto !important;
}
}


 
.crafting-rank-table td:first-child {
.eqoa-itembox {
     width: 40% !important;
    margin-left: auto;
     margin-right: auto;
}
}


/* =========================================================
.eqoa-crafting-ranks-body {
  ITEM PAGE ΓÇö LIGHT THEME FIX
    font-size: 17px !important;
  ========================================================= */
     line-height: 1.55 !important;
 
html.eqoa-theme-light .eqoa-item-page {
     color: #2b211b !important;
}
}


/* ItemBox light mode */
.eqoa-crafting-ranks-body p {
html.eqoa-theme-light .eqoa-itembox {
     margin: 0 0 12px 0 !important;
     background: #ffffff !important;
     color: var(--wiki-text) !important;
    color: #2b211b !important;
    border: 2px solid #d8d1c7 !important;
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.04),
        0 4px 14px rgba(60,45,32,0.10) !important;
 
     text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    font-smooth: always;
}
}


html.eqoa-theme-light .eqoa-itembox-name,
.eqoa-crafting-rank-chart {
html.eqoa-theme-light .eqoa-itembox-line,
    float: right !important;
html.eqoa-theme-light .eqoa-itembox-flags,
     width: 360px !important;
html.eqoa-theme-light .eqoa-itembox-stats,
     max-width: 42% !important;
html.eqoa-theme-light .eqoa-itembox-stats div {
     margin: 0 0 12px 18px !important;
     color: #2b211b !important;
     text-shadow: none !important;
     background: transparent !important;
}
}


html.eqoa-theme-light .eqoa-itembox-desc {
.eqoa-crafting-rank-chart .crafting-rank-table {
     color: #665a50 !important;
     width: 100% !important;
     text-shadow: none !important;
     margin: 0 !important;
}
}


/* ItemPage boxes: Dropped By, Zone, Related Quests, etc */
.crafting-rank-table th, .crafting-rank-table td {
html.eqoa-theme-light .eqoa-section {
     text-align: center !important;
     background: #ffffff !important;
     vertical-align: middle !important;
     color: #2b211b !important;
     font-family: Georgia, "Times New Roman", serif !important;
     border: 1px solid #d8d1c7 !important;
     font-size: 17px !important;
     box-shadow: 0 4px 14px rgba(60,45,32,0.08) !important;
    font-weight: 800 !important;
}
}


html.eqoa-theme-light .eqoa-section-title {
.crafting-rank-table th {
     background: #ece8e1 !important;
     font-size: 19px !important;
     color: #3b2618 !important;
     color: var(--wiki-link) !important;
    border-bottom: 1px solid #d8d1c7 !important;
    text-shadow: none !important;
}
}


html.eqoa-theme-light .eqoa-section-content {
.eqoa-crafting-ranks-body::after {
     background: #ffffff !important;
     content: "" !important;
     color: #2b211b !important;
     display: block !important;
     text-shadow: none !important;
     clear: both !important;
}
}


html.eqoa-theme-light .eqoa-section-content *,
.crafting-attribute-table th, .crafting-attribute-table td {
html.eqoa-theme-light .eqoa-section * {
    text-align: center !important;
     text-shadow: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
     font-weight: 800 !important;
}
}


html.eqoa-theme-light .eqoa-section a {
.crafting-attribute-table th {
     color: #5a3928 !important;
    font-size: 19px !important;
     color: var(--wiki-link) !important;
}
}


html.eqoa-theme-light .eqoa-section a:hover {
.zone-info-wrapper {
     color: #8a5538 !important;
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
    box-sizing: border-box !important;
     color: var(--wiki-text) !important;
}
}
/* =========================================================
  Item Page
  ========================================================= */
/* =========================================================
  ZONE TEMPLATES ΓÇö LIGHT THEME FIX
  ========================================================= */


html.eqoa-theme-light .zone-left,
.zone-info-table {
html.eqoa-theme-light .zone-right,
    width: 100% !important;
html.eqoa-theme-light .zones-box,
    border-collapse: collapse !important;
html.eqoa-theme-light .zones-content,
    table-layout: fixed !important;
html.eqoa-theme-light .zone-details-box,
    font-size: 0.9rem !important;
html.eqoa-theme-light .zone-details-content {
    text-align: left !important;
     background: #ffffff !important;
     background: var(--wiki-panel) !important;
     color: #2b211b !important;
     border: 1px solid var(--wiki-border) !important;
     border-color: #d8d1c7 !important;
     color: var(--wiki-text) !important;
}
}


html.eqoa-theme-light .zones-header,
.zone-info-table th {
html.eqoa-theme-light .zone-details-header {
     width: 150px !important;
     background: #ece8e1 !important;
     background: var(--wiki-panel-2) !important;
     color: #3b2618 !important;
     color: var(--wiki-link) !important;
     border-bottom: 1px solid #d8d1c7 !important;
     font-weight: 800 !important;
     text-shadow: none !important;
}
}


html.eqoa-theme-light .zone-details-row {
.zone-info-table a {
     background: #ffffff !important;
     color: var(--wiki-link) !important;
     color: #2b211b !important;
     font-weight: 700 !important;
     border-bottom: 1px solid #e6e0d8 !important;
     text-decoration: none !important;
}
}


html.eqoa-theme-light .zone-details-label {
.zone-info-table a:hover {
     color: #3b2618 !important;
     color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}
}


html.eqoa-theme-light .zone-details-text {
.zone-details-header {
     color: #2b211b !important;
     background-color: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border-bottom: 1px solid var(--wiki-border) !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background-image: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    letter-spacing: 0 !important;
}
}


/* Zone info table */
.zone-details-content {
html.eqoa-theme-light table.info-table,
    background-color: var(--wiki-panel) !important;
html.eqoa-theme-light table.info-table tr,
    color: var(--wiki-text) !important;
html.eqoa-theme-light table.info-table td {
     padding: 8px !important;
     background: #ffffff !important;
     margin: 0 !important;
     color: #2b211b !important;
     border: none !important;
     border-color: #d8d1c7 !important;
    font-family: Georgia, "Times New Roman", serif !important;
}
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}


html.eqoa-theme-light table.info-table tr td:first-child {
.zone-details-content a {
    background: #ece8e1 !important;
     font-weight: 900 !important;
    color: #3b2618 !important;
     font-weight: bold !important;
}
}


/* Zone data tables: quests, NPCs, rares, regular monsters, items */
.zone-left-parent-box .zones-header {
html.eqoa-theme-light .zone-data-table,
    font-family: Georgia, "Times New Roman", serif !important;
html.eqoa-theme-light .zone-data-table tr,
    font-size: 15px !important;
html.eqoa-theme-light .zone-data-table td,
    font-weight: 900 !important;
html.eqoa-theme-light .zone-data-table th {
     line-height: 1.2 !important;
     background: #ffffff !important;
     text-align: center !important;
     color: #2b211b !important;
     letter-spacing: 0 !important;
     border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light .zone-data-table th,
.zone-left-parent-box .zones-content {
html.eqoa-theme-light .zone-data-table tr:first-child th {
    font-family: Georgia, "Times New Roman", serif !important;
     background: #ece8e1 !important;
     font-size: 12px !important;
     color: #3b2618 !important;
     font-weight: 700 !important;
     border-bottom: 1px solid #d8d1c7 !important;
     line-height: 1.45 !important;
}
}


html.eqoa-theme-light .zone-data-table tr:nth-child(even) td {
.zone-left-parent-box .zones-content a {
     background: #fbfaf8 !important;
     font-weight: 900 !important;
}
}


html.eqoa-theme-light .zone-data-table tr:nth-child(odd) td {
.zone-toc-box .zones-content, .zone-toc-box .zones-content a {
     background: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
     line-height: 1.55 !important;
}
}


html.eqoa-theme-light .zone-data-table a,
.zone-info-table th, .zone-info-table td {
html.eqoa-theme-light .zones-content a,
    border: 1px solid var(--wiki-border) !important;
html.eqoa-theme-light .zone-details-content a {
    padding: 7px !important;
     color: #5a3928 !important;
    vertical-align: top !important;
    background: var(--wiki-panel) !important;
     color: var(--wiki-text) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}
}


html.eqoa-theme-light .zone-data-table a:hover,
.zone-info-table .zone-info-title {
html.eqoa-theme-light .zones-content a:hover,
    width: auto !important;
html.eqoa-theme-light .zone-details-content a:hover {
    background: var(--wiki-panel-3, var(--wiki-panel-2)) !important;
     color: #8a5538 !important;
    color: var(--wiki-link) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
     text-align: center !important;
}
}


/* Fix Zone Information right-side table dark cells in light mode */
.zone-info-table td a {
html.eqoa-theme-light .zone-right.zones-box table.info-table,
     font-weight: 900 !important;
html.eqoa-theme-light .zone-right.zones-box table.info-table tbody,
html.eqoa-theme-light .zone-right.zones-box table.info-table tr,
html.eqoa-theme-light .zone-right.zones-box table.info-table td,
html.eqoa-theme-light .zone-right.zones-box table.info-table td:last-child {
     background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light .zone-right.zones-box table.info-table td:first-child {
.zone-page-layout {
     background: #ece8e1 !important;
    display: grid !important;
     background-color: #ece8e1 !important;
    grid-template-columns: minmax(0, 58%) minmax(320px, 42%) !important;
     color: #2b211b !important;
     gap: 20px !important;
     font-weight: bold !important;
     align-items: start !important;
     width: 100% !important;
     box-sizing: border-box !important;
}
}


html.eqoa-theme-light .zone-right.zones-box table.info-table img {
.zone-page-layout .zone-left, .zone-page-layout .zone-right {
     background: transparent !important;
     float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
}


.eqoa-related-item-tooltip {
.zone-toc-box, .zone-interactive-map-box {
     position: absolute;
     min-width: 0 !important;
    z-index: 999999;
     max-width: 100% !important;
    width: 330px;
     box-sizing: border-box !important;
    background: rgba(5,5,8,0.96);
     color: #f2f2f2;
    border: 2px solid rgba(220,220,220,0.55);
     box-shadow: 0 0 20px rgba(0,0,0,0.65);
    padding: 12px 14px;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.15;
    text-shadow: 1px 1px 0 #000;
    pointer-events: none;
}
}


.eqoa-related-tooltip-title {
.zone-description-box {
     font-size: 20px;
    grid-area: description !important;
     color: #ffffff;
     grid-column: 1 / -1 !important;
     margin-bottom: 8px;
    width: 100% !important;
     max-width: 100% !important;
     min-width: 0 !important;
    display: block !important;
}
}


.eqoa-related-tooltip-stats {
.zone-description-box > *, .zone-description-box .zones-box, .zone-description-box .zones-header, .zone-description-box .zones-content, .zone-description-box table, .zone-description-box tbody, .zone-description-box tr, .zone-description-box td {
     margin-top: 8px;
     width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
}


.eqoa-related-tooltip-stats div {
.zone-toc-box {
     line-height: 1.15;
    grid-area: toc !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
     min-width: 0 !important;
}
}


.eqoa-related-tooltip-stats span {
.zone-interactive-map-box {
     color: #ffffff;
     grid-area: map !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
}


html.eqoa-theme-light .eqoa-related-item-tooltip {
.zone-interactive-map-content, .zone-interactive-map-content .eqoa-interactive-map {
     background: #ffffff;
     width: 100% !important;
     color: #2b211b;
     max-width: 100% !important;
     border-color: #d8d1c7;
     box-sizing: border-box !important;
    text-shadow: none;
    box-shadow: 0 8px 24px rgba(60,45,32,0.18);
}
}


html.eqoa-theme-light .eqoa-related-tooltip-title,
.eqoa-map-filter-panel {
html.eqoa-theme-light .eqoa-related-tooltip-stats span {
    min-width: 150px;
     color: #2b211b;
    max-width: 220px;
     text-shadow: none;
    max-height: 320px;
    overflow-y: auto;
    background: #1a120c !important;
     color: #e6e1d8 !important;
    border: 1px solid rgba(242, 171, 49, 0.45) !important;
    padding: 6px !important;
     font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
}
}


/* =========================================================
html.eqoa-theme-light .eqoa-map-filter-panel {
  ITEM PAGE RELATED TOOLTIP ΓÇö RARITY GLOW
     background: #ffffff !important;
  ========================================================= */
    color: #2b211b !important;
 
    border-color: #d8d1c7 !important;
.eqoa-related-item-tooltip .cb-rarity-common {
     color: #d7d7d7 !important;
}
}


.eqoa-related-item-tooltip .cb-rarity-uncommon {
html.eqoa-theme-light .eqoa-map-filter-header {
     color: #6fd96f !important;
     color: #5a3928 !important;
}
}


.eqoa-related-item-tooltip .cb-rarity-rare {
html.eqoa-theme-light .eqoa-map-filter-expand {
     color: #63a9ff !important;
    background: #ece8e1 !important;
     text-shadow: 0 0 4px rgba(99,169,255,0.45) !important;
     color: #5a3928 !important;
     border-color: #d8d1c7 !important;
}
}


.eqoa-related-item-tooltip .cb-rarity-ultra-rare {
html.eqoa-theme-light .eqoa-map-filter-row {
     color: #d26bff !important;
     color: #2b211b !important;
    text-shadow:
        0 0 6px rgba(210,107,255,0.8),
        0 0 12px rgba(255,120,60,0.45) !important;
}
}


.eqoa-related-item-tooltip .cb-rarity-legendary {
.eqoa-map-filter-icon::before, .eqoa-map-filter-icon::after {
     color: #b54848 !important;
     content: "" !important;
     text-shadow:
    position: absolute !important;
        0 0 5px rgba(181,72,72,0.55),
    left: 9px !important;
        0 0 12px rgba(120,20,20,0.35) !important;
    width: 18px !important;
     animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
     height: 18px !important;
    transform: rotate(45deg) skew(-12deg, -12deg) !important;
     background: #d8d8d8 !important;
    border: 1px solid #777 !important;
    box-sizing: border-box !important;
}
}


.eqoa-related-item-tooltip .cb-rarity-relic {
.eqoa-map-filter-icon::before {
     color: #d4af37 !important;
     top: 9px !important;
     text-shadow:
     box-shadow: 3px 3px 0 #a8a8a8,
        0 0 6px rgba(212,175,55,0.55),
         6px 6px 0 #777 !important;
         0 0 14px rgba(255,220,120,0.35) !important;
    animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
}
}


/* Tooltip border glow by rarity */
.eqoa-map-filter-icon::after {
.eqoa-related-item-tooltip.tooltip-rarity-common {
     top: 7px !important;
     border-color: #666 !important;
    background: #f2f2f2 !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-uncommon {
.eqoa-map-filter-control:hover .eqoa-map-filter-panel, .eqoa-map-filter-panel:hover {
     border-color: #5fd35f !important;
     display: block !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-rare {
.eqoa-map-filter-list {
     border-color: #63a9ff !important;
     margin-left: 23px !important;
     box-shadow:
     padding: 2px 0 5px 0 !important;
        0 0 12px rgba(99,169,255,0.35),
        0 0 20px rgba(0,0,0,0.65) !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-ultra-rare {
========================================================= */ .job-right, .job-right a, .job-right a.image, .job-right .mw-file-description, .job-right img, .job-artwork {
     border-color: #b46cff !important;
     background: transparent !important;
     box-shadow:
    background-color: transparent !important;
        0 0 12px rgba(180,108,255,0.45),
     background-image: none !important;
        0 0 20px rgba(210,107,255,0.25),
    border: 0 !important;
        0 0 24px rgba(0,0,0,0.65) !important;
    box-shadow: none !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-legendary {
.eqoa-map-filter-control {
     border-color: #b54848 !important;
     position: relative !important;
     box-shadow:
     width: 36px !important;
        0 0 12px rgba(181,72,72,0.45),
    height: 36px !important;
        0 0 20px rgba(120,20,20,0.28),
    overflow: visible !important;
        0 0 24px rgba(0,0,0,0.65) !important;
}
}


.eqoa-related-item-tooltip.tooltip-rarity-relic {
.eqoa-map-filter-icon {
     border-color: #d4af37 !important;
     position: relative !important;
     box-shadow:
     box-shadow: 0 3px 10px rgba(0,0,0,0.65) !important;
        0 0 12px rgba(212,175,55,0.55),
    font-size: 0 !important;
        0 0 24px rgba(255,215,100,0.28),
    color: transparent !important;
        0 0 24px rgba(0,0,0,0.65) !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1a120c !important;
    border: 1px solid rgba(242, 171, 49, 0.65) !important;
    border-radius: 4px !important;
    padding: 0 !important;
    cursor: pointer !important;
}
}


/* Keep rarity glow even in light theme */
.eqoa-map-layer-icon {
html.eqoa-theme-light .eqoa-related-item-tooltip .cb-rarity-rare,
    position: relative !important;
html.eqoa-theme-light .eqoa-related-item-tooltip .cb-rarity-ultra-rare,
    width: 22px !important;
html.eqoa-theme-light .eqoa-related-item-tooltip .cb-rarity-legendary,
    height: 18px !important;
html.eqoa-theme-light .eqoa-related-item-tooltip .cb-rarity-relic {
     display: block !important;
     text-shadow: inherit !important;
}
}


.eqoa-map-layer-icon span {
    position: absolute !important;
    left: 2px !important;
    width: 18px !important;
    height: 10px !important;
    background: #d8d8d8 !important;
    border: 1px solid #777 !important;
    transform: rotate(28deg) skew(-28deg) !important;
}


/* =========================================================
.eqoa-map-layer-icon span:nth-child(1) {
  NPC PAGE ΓÇö DARK / LIGHT THEME SAFE
    top: 0 !important;
  ========================================================= */
    background: #f2f2f2 !important;
}


.eqoa-npc-page {
.eqoa-map-layer-icon span:nth-child(2) {
     background: var(--wiki-bg) !important;
     top: 4px !important;
     color: var(--wiki-text) !important;
     background: #c8c8c8 !important;
    padding: 0;
    margin: 0;
}
}


.eqoa-npc-top-row {
.eqoa-map-layer-icon span:nth-child(3) {
    display: flex;
     top: 8px !important;
    flex-wrap: wrap;
     background: #999 !important;
     gap: 10px;
     align-items: flex-start;
}
}


.eqoa-npc-info-box,
.eqoa-map-filter-control .eqoa-map-filter-panel {
.eqoa-npc-zones-box,
    display: none !important;
.eqoa-section-box {
    position: absolute !important;
     background: var(--wiki-panel) !important;
    top: 0 !important;
     color: var(--wiki-text) !important;
    right: 0 !important;
     border: 2px solid var(--wiki-border) !important;
     transform: translateX(-38px) !important;
     margin: 0 0 12px 0;
     min-width: 165px !important;
    max-width: 260px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    background: #1a120c !important;
    color: #e6e1d8 !important;
     border: 1px solid rgba(242, 171, 49, 0.65) !important;
    padding: 6px !important;
    font-size: 12px !important;
     box-shadow: 0 4px 12px rgba(0,0,0,0.75) !important;
    z-index: 10000 !important;
}
}


.eqoa-npc-info-box {
.eqoa-map-filter-control.eqoa-map-filter-open .eqoa-map-filter-panel {
     flex: 1;
     display: block !important;
    min-width: 340px;
}
}


.eqoa-npc-image-box {
.eqoa-map-filter-header, .eqoa-map-filter-row {
     flex: 1;
     display: flex !important;
     min-width: 260px;
     align-items: center !important;
    background: var(--wiki-panel) !important;
     gap: 5px !important;
     border: 1px solid var(--wiki-border) !important;
     white-space: nowrap !important;
     padding: 6px;
    text-align: center;
}
}


.eqoa-npc-caption {
.eqoa-map-filter-header {
     font-size: smaller;
     display: flex !important;
     color: var(--wiki-muted) !important;
    align-items: center !important;
     margin-top: 4px;
    gap: 5px !important;
    white-space: nowrap !important;
     color: #f2ab31 !important;
    font-weight: 800 !important;
     padding: 3px 0 !important;
}
}


.eqoa-npc-zones-box {
.eqoa-map-filter-row {
     margin-top: 10px;
     display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    color: #e6e1d8 !important;
    padding: 2px 0 !important;
}
}


/* Info table */
.eqoa-map-filter-expand {
.eqoa-npc-info-table,
    width: 18px !important;
.eqoa-npc-info-table tr,
    height: 18px !important;
.eqoa-npc-info-table td {
     padding: 0 !important;
     width: 100%;
     line-height: 16px !important;
     border-collapse: collapse;
     background: #332513 !important;
     background: var(--wiki-panel) !important;
     color: #f2ab31 !important;
     color: var(--wiki-text) !important;
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
     border-color: var(--wiki-border-soft) !important;
     cursor: pointer !important;
}
 
.zone-interactive-map-box, .zone-interactive-map-box .zones-box, .zone-interactive-map-box .zones-content, .zone-interactive-map-content {
    overflow: hidden !important;
}
}


.eqoa-npc-info-table td {
.zone-left-top-layout {
     padding: 6px 8px !important;
     display: grid !important;
    grid-template-areas: "description description"
        "toc map" !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: start !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) !important;
}
}


.eqoa-npc-info-table td:first-child {
.zone-interactive-map-content .eqoa-interactive-map {
     width: 28%;
     width: 100% !important;
     background: var(--wiki-panel-2) !important;
    max-width: 100% !important;
     color: var(--wiki-link) !important;
     margin: 0 auto !important;
     font-weight: bold !important;
    padding: 0 !important;
     overflow: hidden !important;
    box-sizing: border-box !important;
     background: #0d0c0b !important;
}
}


.eqoa-npc-info-table td:last-child {
.eqoa-interactive-map .leaflet-control-zoom a, .eqoa-interactive-map .leaflet-control-layers-toggle, .eqoa-interactive-map .leaflet-control-layers {
     background: var(--wiki-panel) !important;
     background-color: #1d1916 !important;
     color: var(--wiki-text) !important;
    color: #f2ab31 !important;
     border-color: rgba(242, 171, 49, 0.45) !important;
    box-shadow: none !important;
}
}


/* Zone table */
.eqoa-interactive-map .leaflet-control-zoom a:hover, .eqoa-interactive-map .leaflet-control-layers-toggle:hover {
.eqoa-npc-zone-table {
     background-color: #332513 !important;
    width: 100%;
     color: #ffd45a !important;
    border-collapse: collapse;
    text-align: center;
    margin: 0;
    border: 1px solid var(--wiki-border) !important;
     background: var(--wiki-panel) !important;
     color: var(--wiki-text) !important;
}
}


.eqoa-npc-zone-table th {
.eqoa-interactive-map .leaflet-control-zoom {
    background: var(--wiki-panel-2) !important;
     border: 1px solid rgba(242, 171, 49, 0.45) !important;
    color: var(--wiki-link) !important;
     border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
}
}


.eqoa-npc-zone-table td {
.eqoa-interactive-map .leaflet-control-zoom-in, .eqoa-interactive-map .leaflet-control-zoom-out {
    background: var(--wiki-panel) !important;
     border-bottom-color: rgba(242, 171, 49, 0.3) !important;
    color: var(--wiki-text) !important;
     border: 1px solid var(--wiki-border-soft) !important;
    padding: 7px !important;
}
}


.eqoa-npc-zone-table tr:nth-child(even) td {
.eqoa-interactive-map .leaflet-top {
     background: var(--wiki-panel-2) !important;
     top: 8px !important;
}
}


/* Legend */
.eqoa-interactive-map .leaflet-left {
.eqoa-npc-legend {
     left: 8px !important;
     width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
}
}


.eqoa-npc-legend td {
.eqoa-interactive-map .leaflet-right {
     padding: 6px 8px !important;
     right: 8px !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
    border-top: 1px solid var(--wiki-border) !important;
}
}


/* Bottom section boxes */
.eqoa-interactive-map .leaflet-control {
.eqoa-section-box {
     margin: 0 !important;
     background: var(--wiki-panel) !important;
     z-index: 9999 !important;
     border-color: var(--wiki-border) !important;
    color: var(--wiki-text) !important;
    margin-top: 12px;
}
}


.eqoa-section-box .right-header {
.eqoa-interactive-map, .eqoa-interactive-map .leaflet-container, .eqoa-interactive-map .leaflet-pane, .eqoa-interactive-map .leaflet-map-pane {
    background: var(--wiki-panel-2) !important;
     background: transparent !important;
    color: var(--wiki-link) !important;
    border-bottom: 1px solid var(--wiki-border) !important;
     padding: 8px 10px !important;
    margin: 0 !important;
    text-shadow: none !important;
}
}


.eqoa-detail-table,
html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip {
.eqoa-detail-table tr,
     background: #1d1916 !important;
.eqoa-detail-table td {
     background-color: #1d1916 !important;
     width: 100%;
     color: #e6e1d8 !important;
     background: var(--wiki-panel) !important;
     border: 1px solid rgba(242, 171, 49, 0.45) !important;
     color: var(--wiki-text) !important;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
     border: none !important;
     padding: 8px !important;
}
}


/* Light theme final overrides */
html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip b {
html.eqoa-theme-light .eqoa-npc-page,
     color: #f2ab31 !important;
html.eqoa-theme-light .eqoa-npc-info-box,
html.eqoa-theme-light .eqoa-npc-zones-box,
html.eqoa-theme-light .eqoa-section-box,
html.eqoa-theme-light .eqoa-npc-image-box {
     background: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light .npcname-header,
html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip span {
html.eqoa-theme-light .zones-header,
     color: #ffd45a !important;
html.eqoa-theme-light .right-header {
     background: #ece8e1 !important;
    color: #3b2618 !important;
    border-color: #d8d1c7 !important;
    text-shadow: none !important;
}
}


html.eqoa-theme-light .eqoa-npc-info-table,
html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip {
html.eqoa-theme-light .eqoa-npc-info-table tr,
html.eqoa-theme-light .eqoa-npc-info-table td,
html.eqoa-theme-light .eqoa-npc-zone-table,
html.eqoa-theme-light .eqoa-npc-zone-table tr,
html.eqoa-theme-light .eqoa-npc-zone-table td,
html.eqoa-theme-light .eqoa-npc-legend,
html.eqoa-theme-light .eqoa-npc-legend td,
html.eqoa-theme-light .eqoa-detail-table,
html.eqoa-theme-light .eqoa-detail-table td {
     background: #ffffff !important;
     background: #ffffff !important;
    background-color: #ffffff !important;
     color: #2b211b !important;
     color: #2b211b !important;
     border-color: #d8d1c7 !important;
     border: 1px solid #d8d1c7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
}
}


html.eqoa-theme-light .eqoa-npc-info-table td:first-child,
html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip b {
html.eqoa-theme-light .eqoa-npc-zone-table th {
     color: #5a3928 !important;
    background: #ece8e1 !important;
     color: #3b2618 !important;
}
}


html.eqoa-theme-light .eqoa-npc-zone-table tr:nth-child(even) td,
html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip span {
html.eqoa-theme-light .eqoa-npc-legend td {
     color: #8a5538 !important;
     background: #fbfaf8 !important;
}
}


html.eqoa-theme-light .eqoa-npc-caption {
html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip-top::before {
     color: #665a50 !important;
     border-top-color: rgba(242, 171, 49, 0.45) !important;
}
}


/* NPC info-table hard override for light theme */
html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip-top::before {
html.eqoa-theme-light .eqoa-npc-page table.info-table,
     border-top-color: #d8d1c7 !important;
html.eqoa-theme-light .eqoa-npc-page table.info-table tbody,
html.eqoa-theme-light .eqoa-npc-page table.info-table tr,
html.eqoa-theme-light .eqoa-npc-page table.info-table td,
html.eqoa-theme-light .eqoa-npc-page table.info-table tr:nth-child(odd) td:last-child,
html.eqoa-theme-light .eqoa-npc-page table.info-table tr:nth-child(even) td:last-child {
     background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light .eqoa-npc-page table.info-table td:first-child,
.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content-wrapper {
html.eqoa-theme-light .eqoa-npc-page table.info-table tr td:first-child {
    background: #1a120c !important;
     background: #ece8e1 !important;
    color: #e6e1d8 !important;
     background-color: #ece8e1 !important;
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
     color: #2b211b !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.75) !important;
}
 
.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content {
     margin: 8px 10px !important;
     font-size: 12px !important;
     line-height: 1.35 !important;
}
}


html.eqoa-theme-light .eqoa-npc-page table.info-table td:last-child,
.eqoa-interactive-map .eqoa-map-popup a {
html.eqoa-theme-light .eqoa-npc-page table.info-table td:last-child * {
     color: #f2ab31 !important;
     color: #2b211b !important;
    font-weight: 800 !important;
     text-shadow: none !important;
     text-decoration: none !important;
}
}


.npcname-header {
.eqoa-interactive-map .eqoa-map-popup a:hover {
     margin: 0 !important;
     color: #ffd45a !important;
    padding: 8px 12px !important;
     text-decoration: underline !important;
     line-height: 1.1 !important;
}
}


/* Hide old Character Builder / CM local theme buttons */
.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-tip {
#cb-theme-toggle,
     background: #1a120c !important;
#cm-theme-toggle {
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
     display: none !important;
}
}


 
html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content-wrapper {
/* =========================================================
     background: #ffffff !important;
  Global White Theme - Character Builder + Class Mastery
  Must stay at very bottom of Common.css
  ========================================================= */
 
html.eqoa-theme-light #character-builder-app,
html.eqoa-theme-light #cm-calculator-app,
html.eqoa-theme-light #character-builder-app .character-builder-box,
html.eqoa-theme-light #cm-calculator-app .cm-calculator-box {
     background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
     color: #2b211b !important;
     color: #2b211b !important;
     border-color: #d8d1c7 !important;
     border-color: #d8d1c7 !important;
}
}


/* Tool sections / control bars */
html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup a {
html.eqoa-theme-light #character-builder-app .character-builder-controls,
     color: #5a3928 !important;
html.eqoa-theme-light #cm-calculator-app .character-builder-controls,
html.eqoa-theme-light #character-builder-app .cm-search-tools,
html.eqoa-theme-light #cm-calculator-app .cm-search-tools {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
     color: #2b211b !important;
}
}


/* Labels and section titles */
html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup a:hover {
html.eqoa-theme-light #character-builder-app label,
     color: #8a5538 !important;
html.eqoa-theme-light #cm-calculator-app label,
html.eqoa-theme-light #character-builder-app .character-builder-section-title,
html.eqoa-theme-light #cm-calculator-app .character-builder-section-title,
html.eqoa-theme-light #character-builder-app .cm-panel-title,
html.eqoa-theme-light #cm-calculator-app .cm-panel-title {
     color: #5a3928 !important;
    text-shadow: none !important;
}
}


/* Tables */
html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup .leaflet-popup-tip {
html.eqoa-theme-light #character-builder-app table,
html.eqoa-theme-light #cm-calculator-app table,
html.eqoa-theme-light #character-builder-app .character-builder-stat-table,
html.eqoa-theme-light #cm-calculator-app .character-builder-stat-table,
html.eqoa-theme-light #character-builder-app .character-builder-equipped-table {
     background: #ffffff !important;
     background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
     border-color: #d8d1c7 !important;
     border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light #character-builder-app th,
body {
html.eqoa-theme-light #cm-calculator-app th {
     overflow-x: hidden !important;
     background: #ece8e1 !important;
     background: #101214 !important;
     background-color: #ece8e1 !important;
    color: #1f1712 !important;
    border-color: #d8d1c7 !important;
}
}


html.eqoa-theme-light #character-builder-app td,
#globalWrapper {
html.eqoa-theme-light #cm-calculator-app td {
     max-width: 2500px !important;
     background: #ffffff !important;
     margin-left: auto !important;
     background-color: #ffffff !important;
     margin-right: auto !important;
     color: #2b211b !important;
     position: relative !important;
     border-color: #e6e0d8 !important;
}
}


/* Inputs */
#eqoa-topbar {
html.eqoa-theme-light #character-builder-app input,
    position: relative;
html.eqoa-theme-light #character-builder-app select,
    top: auto;
html.eqoa-theme-light #character-builder-app textarea,
    z-index: 9999;
html.eqoa-theme-light #cm-calculator-app input,
    display: flex;
html.eqoa-theme-light #cm-calculator-app select,
    align-items: center;
html.eqoa-theme-light #cm-calculator-app textarea {
    justify-content: center;
     background: #fbfaf8 !important;
    gap: 28px;
     background-color: #fbfaf8 !important;
    height: 64px;
     border: 1px solid #d8d1c7 !important;
    padding: 0 16px;
     color: #2b211b !important;
    background: #111;
     box-shadow: none !important;
    border-bottom: 1px solid #5a3b12;
     max-width: none !important;
     width: 100vw !important;
     margin-left: calc(50% - 50vw) !important;
     margin-right: calc(50% - 50vw) !important;
     box-sizing: border-box !important;
}
}


html.eqoa-theme-light #character-builder-app input::placeholder,
html.eqoa-theme-light #eqoa-topbar {
html.eqoa-theme-light #character-builder-app textarea::placeholder,
    background: #f6f4f1 !important;
html.eqoa-theme-light #cm-calculator-app input::placeholder,
    background-color: #f6f4f1 !important;
html.eqoa-theme-light #cm-calculator-app textarea::placeholder {
    background-image: none !important;
     color: #665a50 !important;
     border-bottom: 1px solid #d8d1c7 !important;
     opacity: 1 !important;
     color: #2b211b !important;
}
}


/* Buttons */
html.eqoa-theme-light #eqoa-topbar .eqoa-top-title {
html.eqoa-theme-light #character-builder-app button,
     color: rgb(60, 40, 27) !important;
html.eqoa-theme-light #cm-calculator-app button,
     text-shadow: none !important;
html.eqoa-theme-light #character-builder-app .cm-action-button,
html.eqoa-theme-light #cm-calculator-app .cm-action-button,
html.eqoa-theme-light #cm-calculator-app .cm-tab-button,
html.eqoa-theme-light #cm-calculator-app .cm-view-button,
html.eqoa-theme-light #cm-calculator-app .cm-reset-button,
html.eqoa-theme-light #cm-calculator-app .cm-clear-search-button,
html.eqoa-theme-light #cm-calculator-app .cm-mini-remove-button {
     background: #3b2a20 !important;
    background-color: #3b2a20 !important;
    border: 1px solid #4a3427 !important;
    color: #ffffff !important;
}
 
html.eqoa-theme-light #character-builder-app button:hover,
html.eqoa-theme-light #cm-calculator-app button:hover {
    background: #6b4b38 !important;
     background-color: #6b4b38 !important;
    color: #ffffff !important;
}
}


/* Active tab/buttons */
html.eqoa-theme-light #eqoa-topbar .eqoa-top-search input {
html.eqoa-theme-light #character-builder-app .cb-tab-active,
html.eqoa-theme-light #cm-calculator-app .cm-tab-active,
html.eqoa-theme-light #cm-calculator-app .cm-view-active {
    background: #d8b04c !important;
    background-color: #d8b04c !important;
    border-color: #b68a2c !important;
    color: #1f1712 !important;
}
 
/* Equipment slots */
html.eqoa-theme-light #character-builder-app .character-builder-slot,
html.eqoa-theme-light #character-builder-app .character-builder-equipped-summary,
html.eqoa-theme-light #character-builder-app .character-builder-gear-column,
html.eqoa-theme-light #cm-calculator-app .cm-purchased-panel,
html.eqoa-theme-light #cm-calculator-app .cm-master-class-panel,
html.eqoa-theme-light #cm-calculator-app .cm-unlocked-box,
html.eqoa-theme-light #cm-calculator-app #cm-mastery-panel {
     background: #ffffff !important;
     background: #ffffff !important;
     background-color: #ffffff !important;
     background-color: #ffffff !important;
    background-image: none !important;
    color: #2b211b !important;
     border: 1px solid #d8d1c7 !important;
     border: 1px solid #d8d1c7 !important;
     color: #2b211b !important;
     box-shadow: none !important;
}
}


/* Item picker rows */
html.eqoa-theme-light #eqoa-topbar .eqoa-top-search input::placeholder {
html.eqoa-theme-light #character-builder-app .cb-item-picker-list,
     color: #7a6f66 !important;
html.eqoa-theme-light #character-builder-app .cb-picker-item,
html.eqoa-theme-light #character-builder-app .cb-picker-none {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    border-color: #e6e0d8 !important;
     color: #2b211b !important;
}
}


html.eqoa-theme-light #character-builder-app .cb-picker-item:hover {
html.eqoa-theme-light #eqoa-topbar .eqoa-top-search button {
     background: #ece8e1 !important;
    background: rgb(60, 40, 27) !important;
     background-color: #ece8e1 !important;
     background-color: rgb(60, 40, 27) !important;
     background-image: none !important;
    color: rgb(250, 248, 245) !important;
    border: 1px solid rgb(60, 40, 27) !important;
    box-shadow: none !important;
}
}


/* CM cards */
html.eqoa-theme-light #eqoa-topbar .eqoa-top-search button::before {
html.eqoa-theme-light #cm-calculator-app .cm-card {
     color: rgb(250, 248, 245) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #d8d1c7 !important;
     border-left-color: #b68a2c !important;
    color: #2b211b !important;
}
}


html.eqoa-theme-light #cm-calculator-app .cm-card-title {
html.eqoa-theme-light #eqoa-topbar .eqoa-discord-button {
     color: #1f1712 !important;
    background: #5865f2 !important;
    background-color: #5865f2 !important;
    background-image: none !important;
     color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}
}


html.eqoa-theme-light #cm-calculator-app .cm-card-desc,
#footer, .mw-footer, #footer-places, #footer-info, #footer-icons {
html.eqoa-theme-light #cm-calculator-app .cm-card-req,
    background: #1d1916 !important;
html.eqoa-theme-light #cm-calculator-app .cm-chain-preview,
    color: #f2b229 !important;
html.eqoa-theme-light #cm-calculator-app .cm-card-meta {
    border-color: rgba(160, 101, 28, 0.75) !important;
     color: #665a50 !important;
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
     box-sizing: border-box !important;
}
}


html.eqoa-theme-light #cm-calculator-app .cm-card-locked {
#eqoa-right-rail {
     background: #fff4f2 !important;
     position: fixed;
     background-color: #fff4f2 !important;
    top: 92px;
     border-color: #e2b8b2 !important;
     z-index: 100;
    width: 300px;
     right: max(18px, calc((100vw - 2500px) / 2 + 18px)) !important;
}
}


/* Warning/info boxes */
#p-personal {
html.eqoa-theme-light #character-builder-app .character-builder-warning-box,
    position: fixed !important;
html.eqoa-theme-light #cm-calculator-app .character-builder-warning-box,
    top: 8px !important;
html.eqoa-theme-light #cm-calculator-app .cm-unlock-hint {
    left: auto !important;
     background: #ffffff !important;
    width: auto !important;
     background-color: #ffffff !important;
    max-width: calc(100vw - 190px) !important;
     border: 1px solid #d8d1c7 !important;
    height: auto !important;
     color: #2b211b !important;
    margin: 0 !important;
    padding: 0 !important;
     overflow: visible !important;
     z-index: 9999 !important;
     background: transparent !important;
     right: max(18px, calc((100vw - 2500px) / 2 + 18px)) !important;
}
}


/* Purchased list */
html, body, body.skin-monobook, #globalWrapper, #column-content, #column-one, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
html.eqoa-theme-light #cm-calculator-app .cm-purchased-item {
     background: rgb(20, 18, 15) !important;
     background: #fbfaf8 !important;
     background-color: rgb(20, 18, 15) !important;
     background-color: #fbfaf8 !important;
     background-image: none !important;
     border-color: #e6e0d8 !important;
    color: #2b211b !important;
}
}


html.eqoa-theme-light #cm-calculator-app .cm-purchased-cost {
html.eqoa-theme-dark, html.eqoa-theme-dark body, html.eqoa-theme-dark body.skin-monobook, html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #column-content, html.eqoa-theme-dark #column-one, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark #mw-content-text, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-body-content, html.eqoa-theme-dark .mw-parser-output {
     color: #5a3928 !important;
     background: rgb(20, 18, 15) !important;
    background-color: rgb(20, 18, 15) !important;
    background-image: none !important;
}
}


/* Tooltips */
html, body, body.skin-monobook, #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
html.eqoa-theme-light #character-builder-app .character-builder-tooltip,
     background: rgb(52, 48, 45) !important;
html.eqoa-theme-light #cm-calculator-app .cm-tooltip {
     background-color: rgb(52, 48, 45) !important;
     background: #ffffff !important;
     background-image: none !important;
     background-color: #ffffff !important;
     border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
}
}


html.eqoa-theme-light #cm-calculator-app .cm-tooltip-title,
#content, .mw-body, #bodyContent, #mw-content-text {
html.eqoa-theme-light #character-builder-app .cb-tooltip-title {
    background: rgb(29, 25, 22) !important;
     color: #1f1712 !important;
    background-color: rgb(29, 25, 22) !important;
     border-color: rgb(52, 48, 45) !important;
}
}


/* Text cleanup inside both tools */
#wpTextbox1, #wpSummary {
html.eqoa-theme-light #character-builder-app,
    background: rgb(29, 25, 22) !important;
html.eqoa-theme-light #character-builder-app div,
    background-color: rgb(29, 25, 22) !important;
html.eqoa-theme-light #character-builder-app span,
    color: #f2ab31 !important;
html.eqoa-theme-light #character-builder-app p,
     border: 1px solid rgb(52, 48, 45) !important;
html.eqoa-theme-light #cm-calculator-app,
html.eqoa-theme-light #cm-calculator-app div,
html.eqoa-theme-light #cm-calculator-app span,
html.eqoa-theme-light #cm-calculator-app p {
     text-shadow: none !important;
}
}
/* =========================================================
  Global White Theme - Character Builder + Class Mastery
  Must stay at very bottom of Common.css
  ========================================================= */


/* =========================================================
#column-one, html.eqoa-theme-dark #column-one {
  FINAL PAGE TEMPLATE THEME COVERAGE
     position: absolute !important;
  Dark + Light support for older/custom page templates
    top: 0 !important;
  Keep this at the very bottom of Common.css
     left: 0 !important;
  ========================================================= */
     width: 165px !important;
 
     padding: 155px 10px 14px 10px !important;
/* Shared theme surfaces */
     margin: 0 !important;
html.eqoa-theme-dark {
     box-sizing: border-box !important;
     --page-bg: #080808;
    background: rgb(29, 25, 22) !important;
     --page-panel: #141210;
     background-color: rgb(29, 25, 22) !important;
     --page-panel-2: #11100e;
    background-image: none !important;
     --page-panel-3: #1b1814;
     border: 1px solid rgb(52, 48, 45) !important;
     --page-border: #4a4035;
     border-radius: 4px !important;
     --page-border-soft: #3a3129;
     overflow: visible !important;
     --page-text: #e6e1d8;
     z-index: 20 !important;
     --page-muted: #c9c1b5;
     --page-heading: #ffffff;
     --page-accent: #f0b400;
     --page-accent-hover: #ffd45a;
}
}


html.eqoa-theme-light {
#p-logo, html.eqoa-theme-dark #p-logo {
    --page-bg: #f6f4f1;
     position: absolute !important;
    --page-panel: #ffffff;
     top: 8px !important;
    --page-panel-2: #fbfaf8;
     left: 10px !important;
    --page-panel-3: #ece8e1;
     width: 145px !important;
     --page-border: #d8d1c7;
     height: 145px !important;
     --page-border-soft: #e6e0d8;
     margin: 0 !important;
     --page-text: #2b211b;
     padding: 0 !important;
     --page-muted: #665a50;
     --page-heading: #1f1712;
     --page-accent: #5a3928;
     --page-accent-hover: #8a5538;
}
}


/* Generic custom template boxes */
#column-one .portlet, #column-one .generated-sidebar, #column-one .pBody, #column-one .portlet .pBody, #column-one .generated-sidebar .pBody, #column-one div.pBody, #column-one ul, #column-one li, html.eqoa-theme-dark #column-one .portlet, html.eqoa-theme-dark #column-one .generated-sidebar, html.eqoa-theme-dark #column-one .pBody, html.eqoa-theme-dark #column-one .portlet .pBody, html.eqoa-theme-dark #column-one .generated-sidebar .pBody, html.eqoa-theme-dark #column-one div.pBody, html.eqoa-theme-dark #column-one ul, html.eqoa-theme-dark #column-one li {
html.eqoa-theme-dark .job-infobox-table,
     background: transparent !important;
html.eqoa-theme-dark .job-center-box,
     background-color: transparent !important;
html.eqoa-theme-dark .job-contents-box,
     background-image: none !important;
html.eqoa-theme-dark .spell-list,
     border: 0 !important;
html.eqoa-theme-dark .SpellList,
     box-shadow: none !important;
html.eqoa-theme-dark .spell-col,
html.eqoa-theme-dark .SpellRow,
html.eqoa-theme-dark .exp-camp-wrapper,
html.eqoa-theme-dark .exp-camp-table,
html.eqoa-theme-dark .lycan-section-table,
html.eqoa-theme-dark .lycan-spawn-table,
html.eqoa-theme-dark .lycan-table-header,
html.eqoa-theme-dark .zone-directory-table,
html.eqoa-theme-dark .path-choice-box,
html.eqoa-theme-dark .path-choice-panel,
html.eqoa-theme-dark .items-filter-box,
html.eqoa-theme-dark .item-box,
html.eqoa-theme-dark .item-image-block,
html.eqoa-theme-light .job-infobox-table,
html.eqoa-theme-light .job-center-box,
html.eqoa-theme-light .job-contents-box,
html.eqoa-theme-light .spell-list,
html.eqoa-theme-light .SpellList,
html.eqoa-theme-light .spell-col,
html.eqoa-theme-light .SpellRow,
html.eqoa-theme-light .exp-camp-wrapper,
html.eqoa-theme-light .exp-camp-table,
html.eqoa-theme-light .lycan-section-table,
html.eqoa-theme-light .lycan-spawn-table,
html.eqoa-theme-light .lycan-table-header,
html.eqoa-theme-light .zone-directory-table,
html.eqoa-theme-light .path-choice-box,
html.eqoa-theme-light .path-choice-panel,
html.eqoa-theme-light .items-filter-box,
html.eqoa-theme-light .item-box,
html.eqoa-theme-light .item-image-block {
     background: var(--page-panel) !important;
     background-color: var(--page-panel) !important;
     color: var(--page-text) !important;
     border-color: var(--page-border) !important;
     text-shadow: none !important;
}
}


/* Headers inside custom templates */
#column-one h3, #column-one h5, #column-one h3[id$="-label"], #column-one h5[id$="-label"] {
html.eqoa-theme-dark .job-infobox-header th,
    text-transform: capitalize !important;
html.eqoa-theme-dark .spell-lvl,
    width: 132px !important;
html.eqoa-theme-dark .exp-camp-table caption,
    margin: 8px auto 4px auto !important;
html.eqoa-theme-dark .exp-camp-table th,
    padding: 0 6px !important;
html.eqoa-theme-dark .lycan-section-table caption,
    box-sizing: border-box !important;
html.eqoa-theme-dark .lycan-spawn-table th,
    background: #332513 !important;
html.eqoa-theme-dark .path-choice-title,
    color: #f2ab31 !important;
html.eqoa-theme-dark .path-choice-header,
    border: 1px solid rgba(242,171,49,0.35) !important;
html.eqoa-theme-dark .zone-directory-table caption,
    border-radius: 4px !important;
html.eqoa-theme-dark .zone-directory-table th,
    font-size: 11px !important;
html.eqoa-theme-light .job-infobox-header th,
     font-weight: 700 !important;
html.eqoa-theme-light .spell-lvl,
     line-height: 22px !important;
html.eqoa-theme-light .exp-camp-table caption,
     text-align: center !important;
html.eqoa-theme-light .exp-camp-table th,
html.eqoa-theme-light .lycan-section-table caption,
html.eqoa-theme-light .lycan-spawn-table th,
html.eqoa-theme-light .path-choice-title,
html.eqoa-theme-light .path-choice-header,
html.eqoa-theme-light .zone-directory-table caption,
html.eqoa-theme-light .zone-directory-table th {
    background: var(--page-panel-3) !important;
     background-color: var(--page-panel-3) !important;
     color: var(--page-accent) !important;
     border-color: var(--page-border) !important;
     text-shadow: none !important;
     text-shadow: none !important;
}
}


/* Cells and rows */
#column-one ul {
html.eqoa-theme-dark .job-infobox-table td,
     margin: 0 0 8px 16px !important;
html.eqoa-theme-dark .exp-camp-table td,
     padding: 0 !important;
html.eqoa-theme-dark .lycan-section-table td,
html.eqoa-theme-dark .lycan-spawn-table td,
html.eqoa-theme-dark .zone-directory-table td,
html.eqoa-theme-light .job-infobox-table td,
html.eqoa-theme-light .exp-camp-table td,
html.eqoa-theme-light .lycan-section-table td,
html.eqoa-theme-light .lycan-spawn-table td,
html.eqoa-theme-light .zone-directory-table td {
     background: var(--page-panel) !important;
     background-color: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}
}


/* Alternating rows */
#column-one li {
html.eqoa-theme-dark .exp-camp-table tr:nth-child(even) td,
     color: #86b3c4 !important;
html.eqoa-theme-dark .lycan-spawn-table tr:nth-child(even) td,
html.eqoa-theme-light .exp-camp-table tr:nth-child(even) td,
html.eqoa-theme-light .lycan-spawn-table tr:nth-child(even) td {
     background: var(--page-panel-2) !important;
    background-color: var(--page-panel-2) !important;
}
}


/* Job page old light boxes */
#column-one a, #column-one a:visited {
html.eqoa-theme-light .job-infobox-label td:first-child,
     color: #f2ab31 !important;
html.eqoa-theme-light .job-infobox-label td:last-child,
     font-weight: 700 !important;
html.eqoa-theme-light .job-center-box,
     text-decoration: none !important;
html.eqoa-theme-light .job-contents-box {
     text-shadow: none !important;
     background: var(--page-panel) !important;
     background-color: var(--page-panel) !important;
     color: var(--page-text) !important;
     border-color: var(--page-border) !important;
}
}


/* Spell page */
#column-one a:hover {
html.eqoa-theme-light .spell-data,
     color: #ffd45a !important;
html.eqoa-theme-light .spell-name,
    text-decoration: underline !important;
html.eqoa-theme-light .SpellRow {
     color: var(--page-text) !important;
}
}


html.eqoa-theme-light .spell-divider,
#column-content, #content, .mw-body {
html.eqoa-theme-light .spell-divider * {
     margin-left: 180px !important;
     background: var(--page-border) !important;
    background-color: var(--page-border) !important;
}
}


/* Raid encounter tables */
#p-cactions, html.eqoa-theme-dark #p-cactions {
html.eqoa-theme-dark .raid-encounter-table .exp-camp-table,
     display: block !important;
html.eqoa-theme-light .raid-encounter-table .exp-camp-table {
    visibility: visible !important;
     background: var(--page-panel) !important;
    opacity: 1 !important;
     color: var(--page-text) !important;
    position: absolute !important;
     border-color: var(--page-border) !important;
    top: 10px !important;
    left: 185px !important;
    right: auto !important;
    z-index: 99999 !important;
     background: transparent !important;
     border: 0 !important;
}
}


html.eqoa-theme-dark .raid-encounter-table th,
@media (max-width: 520px) {
html.eqoa-theme-light .raid-encounter-table th {
    .spell-list__cols {
    background: var(--page-panel-3) !important;
        grid-template-columns: 1fr !important;
    color: var(--page-accent) !important;
     }
     border-color: var(--page-border) !important;
}


html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td,
    .SpellRow {
html.eqoa-theme-light .raid-encounter-table .exp-camp-row td {
        width: 100% !important;
    background: var(--page-panel) !important;
     }
    color: var(--page-text) !important;
     border-color: var(--page-border) !important;
}
}


html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td:nth-child(even),
@media screen and (max-width: 768px) {
html.eqoa-theme-light .raid-encounter-table .exp-camp-row td:nth-child(even) {
    .character-builder-box {
    background: var(--page-panel-2) !important;
        padding: 10px;
}
        overflow-x: hidden;
    }


/* Item filter box */
    .character-builder-title-row {
html.eqoa-theme-dark .items-filter-box input,
        display: block;
html.eqoa-theme-light .items-filter-box input {
        text-align: center;
    background: var(--page-panel-2) !important;
    }
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}


html.eqoa-theme-dark .items-filter-box button,
    .character-builder-controls {
html.eqoa-theme-light .items-filter-box button {
        display: flex;
    background: var(--wiki-button-bg) !important;
        flex-direction: column;
    color: var(--wiki-button-text) !important;
        gap: 8px;
    border-color: var(--page-border) !important;
        align-items: stretch;
}
    }


/* Old item box */
    .character-builder-controls select, .character-builder-controls input, .character-builder-controls textarea, .character-builder-controls button {
html.eqoa-theme-light .item-box,
        width: 100% !important;
html.eqoa-theme-light .item-box *,
        box-sizing: border-box;
html.eqoa-theme-light .item-stats div,
     }
html.eqoa-theme-light .item-attributes,
html.eqoa-theme-light .item-attr-table,
html.eqoa-theme-light .item-attr-table th,
html.eqoa-theme-light .item-attr-table td {
    background: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
     text-shadow: none !important;
}


html.eqoa-theme-light .item-image-block {
    .cb-builder-tabs {
    background: var(--page-panel-2) !important;
        display: grid;
    color: var(--page-text) !important;
        grid-template-columns: 1fr 1fr;
     border-color: var(--page-border) !important;
     }
}


/* Main page boxes */
    .cb-tab-button {
html.eqoa-theme-light .mp-box,
        width: 100%;
html.eqoa-theme-light .mp-banner,
     }
html.eqoa-theme-light .mp-banner-inner {
    background: var(--page-panel) !important;
     background-color: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}


html.eqoa-theme-light .mp-banner-title,
    .character-builder-equipment-layout {
html.eqoa-theme-light .mp-banner-subtitle {
        display: block !important;
    color: var(--page-heading) !important;
     }
     text-shadow: none !important;
}


/* Links inside custom templates */
    .character-builder-equipped-summary {
html.eqoa-theme-dark .job-layout a,
        position: static !important;
html.eqoa-theme-dark .spell-list a,
        width: 100% !important;
html.eqoa-theme-dark .SpellList a,
        min-width: 0 !important;
html.eqoa-theme-dark .exp-camp-table a,
        max-width: none !important;
html.eqoa-theme-dark .lycan-section-table a,
        margin: 0 0 15px !important;
html.eqoa-theme-dark .lycan-spawn-table a,
        box-sizing: border-box;
html.eqoa-theme-dark .zone-directory-table a,
    }
html.eqoa-theme-dark .path-choice-box a,
html.eqoa-theme-dark .items-filter-box a,
html.eqoa-theme-light .job-layout a,
html.eqoa-theme-light .spell-list a,
html.eqoa-theme-light .SpellList a,
html.eqoa-theme-light .exp-camp-table a,
html.eqoa-theme-light .lycan-section-table a,
html.eqoa-theme-light .lycan-spawn-table a,
html.eqoa-theme-light .zone-directory-table a,
html.eqoa-theme-light .path-choice-box a,
html.eqoa-theme-light .items-filter-box a {
    color: var(--page-accent) !important;
    text-shadow: none !important;
}


html.eqoa-theme-dark .job-layout a:hover,
    .character-builder-gear-column {
html.eqoa-theme-dark .spell-list a:hover,
        width: 100%;
html.eqoa-theme-dark .SpellList a:hover,
    }
html.eqoa-theme-dark .exp-camp-table a:hover,
html.eqoa-theme-dark .lycan-section-table a:hover,
html.eqoa-theme-dark .lycan-spawn-table a:hover,
html.eqoa-theme-dark .zone-directory-table a:hover,
html.eqoa-theme-dark .path-choice-box a:hover,
html.eqoa-theme-dark .items-filter-box a:hover,
html.eqoa-theme-light .job-layout a:hover,
html.eqoa-theme-light .spell-list a:hover,
html.eqoa-theme-light .SpellList a:hover,
html.eqoa-theme-light .exp-camp-table a:hover,
html.eqoa-theme-light .lycan-section-table a:hover,
html.eqoa-theme-light .lycan-spawn-table a:hover,
html.eqoa-theme-light .zone-directory-table a:hover,
html.eqoa-theme-light .path-choice-box a:hover,
html.eqoa-theme-light .items-filter-box a:hover {
    color: var(--page-accent-hover) !important;
}


/* =========================================================
    .character-builder-gear-grid {
  LIGHT THEME - REMOVE MONOBOOK TOP BLACK BAR
        grid-template-columns: 1fr !important;
  Keep at very bottom of Common.css
        gap: 10px;
  ========================================================= */
    }


html.eqoa-theme-light #globalWrapper,
    .cb-picker-tools {
html.eqoa-theme-light #column-content,
        flex-direction: column;
html.eqoa-theme-light #content,
        align-items: stretch;
html.eqoa-theme-light #p-cactions,
     }
html.eqoa-theme-light #p-cactions ul,
html.eqoa-theme-light #p-cactions li,
html.eqoa-theme-light #p-personal,
html.eqoa-theme-light #p-personal ul,
html.eqoa-theme-light #p-personal li,
html.eqoa-theme-light #head,
html.eqoa-theme-light #mw-head,
html.eqoa-theme-light #left-navigation,
html.eqoa-theme-light #right-navigation {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    background-image: none !important;
     border-color: #d8d1c7 !important;
}


html.eqoa-theme-light #p-cactions li a,
    .cb-slot-filter, .cb-slot-sort {
html.eqoa-theme-light #p-personal li a {
        width: 100% !important;
    background: #ffffff !important;
     }
    background-color: #ffffff !important;
     background-image: none !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}


html.eqoa-theme-light #p-cactions li.selected a {
    .character-builder-stat-table {
    background: #ece8e1 !important;
        display: block;
    background-color: #ece8e1 !important;
        overflow-x: auto;
    color: #1f1712 !important;
        white-space: nowrap;
}
    }


/* =========================================================
    .cb-item-picker-list {
  LIGHT THEME - MONOBOOK TOP STRIP HARD FIX
        max-height: 260px;
  Must be the last block in Common.css
    }
  ========================================================= */


html.eqoa-theme-light,
    .character-builder-tooltip {
html.eqoa-theme-light body,
        max-width: 90vw;
html.eqoa-theme-light body.skin-monobook,
        left: 5vw !important;
html.eqoa-theme-light #globalWrapper,
        right: 5vw;
html.eqoa-theme-light #column-content,
        font-size: 12px;
html.eqoa-theme-light #content,
     }
html.eqoa-theme-light #column-one,
html.eqoa-theme-light #p-cactions,
html.eqoa-theme-light #p-cactions *,
html.eqoa-theme-light #p-personal,
html.eqoa-theme-light #p-personal *,
html.eqoa-theme-light #head,
html.eqoa-theme-light #mw-head,
html.eqoa-theme-light #left-navigation,
html.eqoa-theme-light #right-navigation,
html.eqoa-theme-light .portlet,
html.eqoa-theme-light .pBody {
    background-color: #f6f4f1 !important;
     background-image: none !important;
}
}


/* The visible top action tabs */
@media (max-width: 1000px) {
html.eqoa-theme-light #p-cactions li,
    .cm-unlocked-grid-three {
html.eqoa-theme-light #p-cactions li a,
        grid-template-columns: 1fr;
html.eqoa-theme-light #p-personal li,
     }
html.eqoa-theme-light #p-personal li a {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #2b211b !important;
     border-color: #d8d1c7 !important;
}
}


/* Selected tab */
@media (max-width: 800px) {
html.eqoa-theme-light #p-cactions li.selected,
    .cm-main-layout {
html.eqoa-theme-light #p-cactions li.selected a {
        grid-template-columns: 1fr;
    background-color: #ece8e1 !important;
    }
     color: #1f1712 !important;
 
}
    .cm-search-row {
        flex-direction: column;
    }
 
    .cm-card-compact-row {
        display: block;
    }
 
    .cm-card-compact .cm-card-meta {
        margin-top: 5px;
        white-space: normal;
     }
 
    .cb-ingame-stat-panel {
        grid-template-columns: 1fr;
    }


/* Restore MonoBook logo and keep global theme button visible */
    .cb-ingame-row, .cb-ingame-small-row {
html.eqoa-theme-light #p-logo {
        grid-template-columns: minmax(120px, 1fr) 58px minmax(78px, auto);
    background-color: #f6f4f1 !important;
        font-size: 18px;
    }
}
}


html.eqoa-theme-light #p-logo a {
@media (max-width: 760px) {
     background-color: transparent !important;
     .cm-calculator-box {
    background-size: contain !important;
        padding: 12px;
    background-repeat: no-repeat !important;
     }
     background-position: center !important;
}


#eqoa-theme-toggle.eqoa-theme-toggle {
    .cm-calculator-box .character-builder-controls {
    display: inline-flex !important;
        grid-template-columns: 1fr;
    visibility: visible !important;
        align-items: stretch;
    opacity: 1 !important;
     }
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
     justify-content: center !important;
    pointer-events: auto !important;
    background: var(--wiki-button-bg, #202020) !important;
    color: var(--wiki-button-text, #ffffff) !important;
    border: 1px solid var(--wiki-border, #343434) !important;
    border-radius: 6px !important;
}


/* Force global theme button visible */
    .cm-calculator-box select, .cm-calculator-box input, .cm-reset-button {
#eqoa-theme-toggle,
        width: 100% !important;
#eqoa-theme-toggle.eqoa-theme-toggle,
        box-sizing: border-box;
button#eqoa-theme-toggle {
     }
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    background: #3b2a20 !important;
    color: #ffffff !important;
    border: 1px solid #4a3427 !important;
    border-radius: 6px !important;
    font-size: 22px !important;
    line-height: 1 !important;
     padding: 0 !important;
}


/* =========================================================
    .cm-tabs, .cm-view-toggle {
  LIGHT THEME - SIDEBAR READABILITY FIX
        display: grid;
  Must stay at very bottom of Common.css
        grid-template-columns: 1fr 1fr;
  ========================================================= */
    }


/* Sidebar section headers: Sandstorm Era, World, Character, Navigation */
    .cm-tab-button, .cm-view-button {
html.eqoa-theme-light #column-one h3,
        width: 100%;
html.eqoa-theme-light #column-one h5,
        text-align: center;
html.eqoa-theme-light .portlet h3,
    }
html.eqoa-theme-light .portlet h5,
 
html.eqoa-theme-light .generated-sidebar h3,
    .cm-build-actions {
html.eqoa-theme-light .generated-sidebar h5 {
        display: grid;
    color: #4a2f1f !important;
        grid-template-columns: 1fr;
    background: transparent !important;
     }
    font-weight: bold !important;
    border-bottom: 1px solid #d8d1c7 !important;
     text-shadow: none !important;
}
}


/* Sidebar links */
@media (max-width: 900px) {
html.eqoa-theme-light #column-one a,
    .eqoa-grid-2 {
html.eqoa-theme-light .portlet a,
        grid-template-columns: 1fr;
html.eqoa-theme-light .generated-sidebar a {
     }
    color: #2b211b !important;
     font-weight: 700 !important;
    text-shadow: none !important;
}


/* Sidebar links hover */
    .eqoa-itembox {
html.eqoa-theme-light #column-one a:hover,
        font-size: 22px;
html.eqoa-theme-light .portlet a:hover,
     }
html.eqoa-theme-light .generated-sidebar a:hover {
    color: #7a4a2f !important;
     text-decoration: underline !important;
}


/* Sidebar bullet squares */
    .eqoa-section-title {
html.eqoa-theme-light #column-one li,
        font-size: 20px;
html.eqoa-theme-light .portlet li,
    }
html.eqoa-theme-light .generated-sidebar li {
    color: #5a3928 !important;
}


/* Search label */
    .eqoa-section-content {
html.eqoa-theme-light #p-search h3,
        font-size: 16px;
html.eqoa-theme-light #p-search h5 {
     }
    color: #4a2f1f !important;
     background: transparent !important;
}
}


/* =========================================================
@media screen and (max-width: 700px) {
  LIGHT THEME - MAIN PAGE + SEARCH HEADER BARS
    .rare-encounter-table, .rare-encounter-table tbody, .rare-encounter-table tr, .rare-encounter-table th, .rare-encounter-table td {
  Must stay at very bottom of Common.css
        display: block !important;
  ========================================================= */
        width: 100% !important;
        box-sizing: border-box;
    }


/* Main Page box headers like World / Character */
    .rare-encounter-table {
html.eqoa-theme-light .mp-box > b:first-child,
        table-layout: auto !important;
html.eqoa-theme-light .mp-box > strong:first-child,
        margin-bottom: 0;
html.eqoa-theme-light .mp-box-title,
        border-collapse: separate;
html.eqoa-theme-light .mp-box-header,
        border-spacing: 0;
html.eqoa-theme-light .mainpage-box-title,
     }
html.eqoa-theme-light .mainpage-box-header {
    display: block !important;
    background: #4a3427 !important;
    background-color: #4a3427 !important;
    color: #ffffff !important;
    border: 1px solid #3b2a20 !important;
    padding: 6px 8px !important;
    margin: -10px -10px 8px -10px !important;
    font-weight: 700 !important;
     text-shadow: none !important;
}


/* If the Main Page uses table headers instead of mp-box titles */
    .rare-encounter-table tr:first-child {
html.eqoa-theme-light .mp-box th,
        display: none !important;
html.eqoa-theme-light .mp-banner-title {
     }
    background: #4a3427 !important;
     background-color: #4a3427 !important;
    color: #ffffff !important;
    border-color: #3b2a20 !important;
    text-shadow: none !important;
}


/* Sidebar SEARCH header */
    .rare-encounter-table td {
html.eqoa-theme-light #p-search h3,
        margin-bottom: 14px;
html.eqoa-theme-light #p-search h5,
        padding: 0 !important;
html.eqoa-theme-light #p-search .pBody::before {
        overflow: hidden;
    background: #4a3427 !important;
     }
    background-color: #4a3427 !important;
    color: #ffffff !important;
    border: 1px solid #3b2a20 !important;
    padding: 4px 6px !important;
    text-shadow: none !important;
     font-weight: 700 !important;
}


/* =========================================================
    .rare-encounter-base td:nth-child(1)::before {
  LIGHT THEME - MAIN PAGE PLAIN HEADERS
        content: "Base World 1";
  Must stay at very bottom of Common.css
    }
  ========================================================= */


html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > b:first-child,
    .rare-encounter-base td:nth-child(2)::before {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > strong:first-child,
        content: "Base World 2";
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > b,
     }
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > strong,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > b:first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > strong:first-child {
    display: block !important;
    background: #4a3427 !important;
    background-color: #4a3427 !important;
    color: #ffffff !important;
    border: 1px solid #3b2a20 !important;
    padding: 6px 8px !important;
     margin: -1px -1px 8px -1px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
}


/* Left-aligned headers like World / Character / EQOA: Sandstorm */
    .rare-encounter-base td:nth-child(3)::before {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > span:first-child,
        content: "Base World 3";
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > span:first-child {
     }
    display: block !important;
    background: #4a3427 !important;
    background-color: #4a3427 !important;
     color: #ffffff !important;
    border: 1px solid #3b2a20 !important;
    padding: 6px 8px !important;
    margin: -1px -1px 8px -1px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}


/* Catch direct first-line headings inside Main Page boxes */
    .rare-encounter-base td:nth-child(4)::before {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-box > :first-child,
        content: "Base World 4";
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner > :first-child,
     }
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > :first-child {
    display: block !important;
     background: #4a3427 !important;
    background-color: #4a3427 !important;
    color: #ffffff !important;
    border: 1px solid #3b2a20 !important;
    padding: 6px 8px !important;
    margin: -10px -10px 8px -10px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}


/* =========================================================
    .rare-encounter-frontiers td:nth-child(1)::before {
  LIGHT THEME - MAIN PAGE HEADER TEXT FORCE WHITE
        content: "Frontiers 1";
  Must stay at very bottom of Common.css
    }
  ========================================================= */


html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-box > :first-child,
    .rare-encounter-frontiers td:nth-child(2)::before {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-box > :first-child *,
        content: "Frontiers 2";
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner > :first-child,
     }
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner > :first-child *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > :first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > :first-child *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > b:first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > b:first-child *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > strong:first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > strong:first-child *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > b,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > b *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > strong,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > center > strong *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > b:first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > b:first-child *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > strong:first-child,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output > div > div > strong:first-child * {
    color: #ffffff !important;
     text-shadow: none !important;
}


    .rare-encounter-frontiers td:nth-child(3)::before {
        content: "Frontiers 3";
    }


    .rare-encounter-table td::before {
        display: block;
        padding: 8px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        border-bottom: 1px solid;
    }


    .rare-encounter-table .raid-checkboxify b {
        font-size: 16px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }


/* =========================================================
    .rare-encounter-table .raid-checkboxify label {
  LIGHT THEME - MAIN PAGE ORANGE HEADERS
        font-size: 14px;
  Must stay at very bottom of Common.css
        line-height: 1.25;
  ========================================================= */
        padding: 6px 8px;
        overflow-wrap: anywhere;
    }


html.eqoa-theme-light body.page-Main_Page .eqoa-orange-header {
    .rare-encounter-table .raid-checkboxify input[type="checkbox"] {
    display: block !important;
        margin-right: 5px;
     background: #4a3427 !important;
     }
    background-color: #4a3427 !important;


     color: #ffffff !important;
     html.eqoa-theme-dark .rare-encounter-table td::before {
    border: 0 !important;
        background: #3a2418;
    border-bottom: 0 !important;
        color: #ffd45a;
    outline: 0 !important;
        border-color: #5a3a25;
    box-shadow: none !important;
     }
    padding: 7px 10px !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
     text-align: center !important;
    text-shadow: none !important;
}


html.eqoa-theme-light body.page-Main_Page .eqoa-orange-header *,
    html.eqoa-theme-light .rare-encounter-table td::before {
html.eqoa-theme-light body.page-Main_Page .eqoa-orange-header .mw-headline {
        background: #d9c7aa;
    color: #ffffff !important;
        color: #2a170d;
    background: transparent !important;
        border-color: #b8a17e;
    border: 0 !important;
     }
    box-shadow: none !important;
    text-shadow: none !important;
}
 
/* Remove spacing/border artifacts caused by the center wrapper */
html.eqoa-theme-light body.page-Main_Page center:has(.eqoa-orange-header) {
    display: block !important;
    background: #4a3427 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
     line-height: 0 !important;
}


    .rare-encounter-mobile-layout {
        display: block;
    }


    .eqoa-grid-2, .eqoa-mobile-stack {
        display: block !important;
    }


    .eqoa-grid-2 > .eqoa-panel, .eqoa-mobile-stack > .eqoa-panel {
        width: 100% !important;
        margin-bottom: 12px !important;
    }


    .eqoa-crafts-grid, .eqoa-hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
    }


    .eqoa-crafting-rank-chart {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px 0 !important;
    }


    .zone-page-layout, .zone-left-top-layout {
        display: block !important;
    }


    .zone-left, .zone-right, .zone-description-box, .zone-toc-box, .zone-interactive-map-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px 0 !important;
    }


html.eqoa-theme-light body .mp-banner,
    html, body, body.skin-monobook {
html.eqoa-theme-light body .mw-parser-output .mp-banner {
        width: 100% !important;
    background: transparent !important;
        max-width: 100% !important;
    background-color: transparent !important;
        min-width: 0 !important;
    border: 0 !important;
        margin: 0 !important;
    padding: 0 !important;
        padding: 0 !important;
}
        overflow-x: hidden !important;
    }


html.eqoa-theme-light body .mp-banner .mp-banner-inner,
    #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
html.eqoa-theme-light body .mw-parser-output .mp-banner .mp-banner-inner {
        display: block !important;
    background: #ffffff !important;
        float: none !important;
    background-color: #ffffff !important;
        clear: both !important;
    border: 1px solid #d8d1c7 !important;
        width: 100% !important;
    padding: 0 !important;
        max-width: 100% !important;
    margin: 0 !important;
        min-width: 0 !important;
}
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: auto !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }


html.eqoa-theme-light body .mp-banner .mp-banner-title,
    #content, .mw-body {
html.eqoa-theme-light body .mw-parser-output .mp-banner .mp-banner-title {
        padding: 8px 8px 12px 8px !important;
    display: block !important;
        border-left: 0 !important;
    width: 100% !important;
        border-right: 0 !important;
    background: #4a3427 !important;
     }
    background-color: #4a3427 !important;
    color: #ffffff !important;
    padding: 7px 10px !important;
    margin: 0 !important;
    border: 0 !important;
     box-sizing: border-box !important;
    text-align: left !important;
}


html.eqoa-theme-light body .mp-banner .mp-banner-subtitle,
    #eqoa-topbar {
html.eqoa-theme-light body .mw-parser-output .mp-banner .mp-banner-subtitle {
        position: fixed !important;
    display: block !important;
        top: auto !important;
    width: 100% !important;
        left: auto !important;
    background: #ffffff !important;
        right: auto !important;
    background-color: #ffffff !important;
        display: grid !important;
    color: #2b211b !important;
        grid-template-columns: 44px minmax(0, 1fr) 64px !important;
    padding: 10px !important;
        grid-template-rows: 44px 40px !important;
    margin: 0 !important;
        align-items: center !important;
    border: 0 !important;
        gap: 6px !important;
    box-sizing: border-box !important;
        width: 100% !important;
    text-align: left !important;
        max-width: 100% !important;
}
        height: 100px !important;
        margin: 0 !important;
        padding: 8px 6px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }


    #eqoa-mobile-sidebar-toggle {
        display: flex !important;
        position: fixed !important;
        top: 15px !important;
        left: 22px !important;
        z-index: 2147483647 !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        background: #4a3427 !important;
        color: #ffffff !important;
        border: 1px solid #6b5430 !important;
        font-size: 24px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }


    #eqoa-topbar .eqoa-top-title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: block !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        font-size: 18px !important;
        line-height: 1 !important;
        text-align: center !important;
    }


/* =========================================================
    #eqoa-topbar .eqoa-discord-button {
  LIGHT THEME - MAIN PAGE BANNERS FINAL
        grid-column: 3 !important;
  Makes banner boxes match World / Character boxes
        grid-row: 1 !important;
  ========================================================= */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: normal !important;
        text-indent: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
    }


html.eqoa-theme-light body.page-Main_Page .mp-banner,
    #eqoa-topbar .eqoa-discord-button::before {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner {
        content: "Discord" !important;
    background: transparent !important;
        display: block !important;
    background-color: transparent !important;
        width: 100% !important;
    border: 0 !important;
        color: inherit !important;
    padding: 0 !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 38px !important;
        text-align: center !important;
        text-indent: 0 !important;
    }
 
    #eqoa-topbar .eqoa-top-search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 48px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
 
    #eqoa-topbar .eqoa-top-search input {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        line-height: 36px !important;
    }
 
    #eqoa-topbar .eqoa-top-search button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }


     margin: 0 0 10px 0 !important;
     #eqoa-topbar .eqoa-top-search button::before {
}
        content: "Search" !important;
        font-size: 10px !important;
        line-height: 36px !important;
    }


html.eqoa-theme-light body.page-Main_Page .mp-banner-inner,
#eqoa-right-rail, #p-personal, #p-views, #p-namespaces, #left-navigation, #right-navigation, #head, #mw-head, .page-actions, .portlet-page-actions {
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner {
        display: none !important;
    background: #ffffff !important;
        visibility: hidden !important;
    background-color: #ffffff !important;
        width: 0 !important;
    border: 1px solid #d8d1c7 !important;
        height: 0 !important;
    padding: 0 !important;
        max-width: 0 !important;
    margin: 0 !important;
        overflow: hidden !important;
    text-align: left !important;
     }
     box-sizing: border-box !important;
}


html.eqoa-theme-light body.page-Main_Page .mp-banner-inner > .mp-banner-title,
#column-one #p-cactions,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > .mp-banner-title {
html.eqoa-theme-dark #column-one #p-cactions,
html.eqoa-theme-light #column-one #p-cactions {
    order: 1 !important;
    position: static !important;
     display: block !important;
     display: block !important;
     background: #4a3427 !important;
     float: none !important;
     background-color: #4a3427 !important;
     clear: both !important;
     background-image: none !important;
     visibility: visible !important;
     color: #ffffff !important;
     opacity: 1 !important;
     border: 0 !important;
 
     padding: 7px 10px !important;
     width: 132px !important;
     margin: 0 !important;
     min-width: 132px !important;
     width: 100% !important;
     max-width: 132px !important;
     box-sizing: border-box !important;
 
     text-align: left !important;
     height: auto !important;
     font-size: 18px !important;
     min-height: 178px !important;
     font-weight: 700 !important;
    max-height: none !important;
     line-height: 1.2 !important;
 
     text-shadow: none !important;
     margin: 0 6px 10px 6px !important;
}
     padding: 0 !important;
 
     top: auto !important;
     left: auto !important;
     right: auto !important;
    bottom: auto !important;


html.eqoa-theme-light body.page-Main_Page .mp-banner-inner > .mp-banner-title *,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > .mp-banner-title * {
    color: #ffffff !important;
     background: transparent !important;
     background: transparent !important;
     text-shadow: none !important;
     background-color: transparent !important;
    background-image: none !important;
 
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    line-height: 1 !important;
}
}


html.eqoa-theme-light body.page-Main_Page .mp-banner-inner > .mp-banner-subtitle,
#column-one #p-cactions .pBody,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > .mp-banner-subtitle {
html.eqoa-theme-dark #column-one #p-cactions .pBody,
html.eqoa-theme-light #column-one #p-cactions .pBody {
    position: static !important;
     display: block !important;
     display: block !important;
     background: #ffffff !important;
    width: 132px !important;
     background-color: #ffffff !important;
    height: auto !important;
    min-height: 152px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
     background: transparent !important;
     background-color: transparent !important;
     background-image: none !important;
     background-image: none !important;
    color: #2b211b !important;
     border: 0 !important;
     border: 0 !important;
     padding: 10px !important;
     overflow: visible !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    font-size: 14px !important;
    font-style: normal !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
}
}


 
#column-one #p-cactions h3,
 
#column-one #p-cactions h5,
 
html.eqoa-theme-dark #column-one #p-cactions h3,
 
html.eqoa-theme-dark #column-one #p-cactions h5 {
html.eqoa-theme-light .mp-banner-inner > .mp-banner-subtitle {
    min-height: 72px !important;
    padding: 10px !important;
     display: block !important;
     display: block !important;
    visibility: visible !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 22px !important;
    min-height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 0 !important;
     box-sizing: border-box !important;
     box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-shadow: none !important;
    overflow: hidden !important;
}
}


 
html.eqoa-theme-light #column-one #p-cactions h3,
 
html.eqoa-theme-light #column-one #p-cactions h5 {
html.eqoa-theme-light .mp-banner-inner > .mp-banner-content {
    display: block !important;
    visibility: visible !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 22px !important;
    min-height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
     background: #ffffff !important;
     background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
     color: #2b211b !important;
     color: #2b211b !important;
     padding: 10px !important;
     border: 1px solid #d8d1c7 !important;
     min-height: 54px !important;
     border-radius: 0 !important;
    display: block !important;
     box-sizing: border-box !important;
     box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-shadow: none !important;
    overflow: hidden !important;
}
}


/* Force Main Page banner header text centered */
#column-one #p-cactions ul,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > .mp-banner-title,
html.eqoa-theme-dark #column-one #p-cactions ul,
html.eqoa-theme-light body.page-Main_Page .mw-parser-output .mp-banner-inner > .mp-banner-title * {
html.eqoa-theme-light #column-one #p-cactions ul {
     text-align: center !important;
     position: static !important;
}
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3px !important;


    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;


    height: auto !important;
    min-height: 152px !important;
    max-height: none !important;


/* =========================================================
    margin: 0 !important;
  MOBILE RESPONSIVE FIX - MAIN PAGE + MONOBOOK
    padding: 0 !important;
  Keep at very bottom of Common.css
    list-style: none !important;
  ========================================================= */
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    overflow: visible !important;
}
 
#column-one #p-cactions li,
#column-one #p-cactions li.selected,
html.eqoa-theme-dark #column-one #p-cactions li,
html.eqoa-theme-dark #column-one #p-cactions li.selected,
html.eqoa-theme-light #column-one #p-cactions li,
html.eqoa-theme-light #column-one #p-cactions li.selected {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    overflow: visible !important;
}


@media screen and (max-width: 700px) {
#column-one #p-cactions li a,
#column-one #p-cactions li.selected a,
html.eqoa-theme-dark #column-one #p-cactions li a,
html.eqoa-theme-dark #column-one #p-cactions li.selected a,
html.eqoa-theme-light #column-one #p-cactions li a,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;


     html,
     width: 100% !important;
    body {
    min-width: 0 !important;
        width: 100% !important;
    height: auto !important;
        min-width: 0 !important;
     min-height: 28px !important;
        overflow-x: hidden !important;
     }


     #globalWrapper,
     padding: 4px 3px !important;
    #column-content,
    margin: 0 !important;
    #content,
    box-sizing: border-box !important;
    #bodyContent,
    #mw-content-text,
    .mw-body,
    .mw-parser-output {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }


     /* Main Page: stack World / Character instead of forcing side-by-side */
     background: #1d1916 !important;
    .mp-flex-columns {
    background-color: #1d1916 !important;
        display: block !important;
    background-image: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 0 !important;
    }


     .mp-column,
     color: #f2ab31 !important;
    .mp-bottom,
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    .mp-box,
    .mp-banner,
    .mp-banner-inner {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        float: none !important;
        clear: both !important;
    }


     .mp-box {
     font-size: 10px !important;
        padding: 10px !important;
    font-weight: 800 !important;
        margin-bottom: 10px !important;
    line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
    text-align: center !important;
        word-break: normal !important;
    text-indent: 0 !important;
     }
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: normal !important;
     overflow: visible !important;
}


    .mp-box a,
html.eqoa-theme-light #column-one #p-cactions li a,
    .mp-banner-inner a,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    .mw-parser-output a {
    background: #ffffff !important;
        overflow-wrap: anywhere !important;
    background-color: #ffffff !important;
        word-break: normal !important;
    color: #2b211b !important;
     }
     border: 1px solid #d8d1c7 !important;
}


    .mp-banner-title,
#column-one #p-cactions li a:hover,
    .mp-banner-content,
#column-one #p-cactions li.selected a,
    .mp-banner-subtitle,
html.eqoa-theme-dark #column-one #p-cactions li a:hover,
    .eqoa-orange-header {
html.eqoa-theme-dark #column-one #p-cactions li.selected a {
        width: 100% !important;
    background: #3a2418 !important;
        max-width: 100% !important;
    background-color: #3a2418 !important;
        box-sizing: border-box !important;
    color: #ffd45a !important;
    }
}


    /* Tables/images cannot force the page wider than the phone */
html.eqoa-theme-light #column-one #p-cactions li a:hover,
    table,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    .wikitable,
    background: #ece8e1 !important;
    .infobox,
    background-color: #ece8e1 !important;
    .eqoa-section,
     color: #1f1712 !important;
    .eqoa-itembox,
}
    .exp-camp-table,
    .zone-data-table {
        max-width: 100% !important;
        box-sizing: border-box !important;
     }


    img,
#column-one #p-cactions #ca-more,
    .thumb,
#column-one #p-cactions li[id*="more"],
    .thumbinner,
#column-one #p-cactions a[id*="more"],
    .eqoa-image-box,
#column-one #p-cactions-mobile,
    .item-image,
#ca-more,
    .job-artwork {
#p-cactions #ca-more,
        max-width: 100% !important;
#p-cactions li[id*="more"],
        height: auto !important;
#p-cactions a[id*="more"],
        box-sizing: border-box !important;
html.eqoa-theme-dark #column-one #p-cactions #ca-more,
     }
html.eqoa-theme-dark #column-one #p-cactions li[id*="more"],
html.eqoa-theme-dark #column-one #p-cactions a[id*="more"],
html.eqoa-theme-dark #column-one #p-cactions-mobile,
html.eqoa-theme-dark #ca-more,
html.eqoa-theme-dark #p-cactions #ca-more,
html.eqoa-theme-dark #p-cactions li[id*="more"],
html.eqoa-theme-dark #p-cactions a[id*="more"],
html.eqoa-theme-light #column-one #p-cactions #ca-more,
html.eqoa-theme-light #column-one #p-cactions li[id*="more"],
html.eqoa-theme-light #column-one #p-cactions a[id*="more"],
html.eqoa-theme-light #column-one #p-cactions-mobile,
html.eqoa-theme-light #ca-more,
html.eqoa-theme-light #p-cactions #ca-more,
html.eqoa-theme-light #p-cactions li[id*="more"],
html.eqoa-theme-light #p-cactions a[id*="more"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
     padding: 0 !important;
    overflow: hidden !important;
}


    /* MonoBook sidebar: make it readable instead of broken desktop column */
#column-one,
    #column-one {
html.eqoa-theme-dark #column-one,
        position: static !important;
html.eqoa-theme-light #column-one {
        float: none !important;
    position: fixed !important;
        clear: both !important;
    top: 108px !important;
        width: 100% !important;
    left: 0 !important;
        min-width: 0 !important;
    bottom: 0 !important;
        max-width: 100% !important;
        margin: 12px 0 0 0 !important;
        padding: 0 6px !important;
        box-sizing: border-box !important;
    }


     #column-one .portlet,
     width: 185px !important;
    #column-one .generated-sidebar,
    min-width: 185px !important;
    #column-one .pBody,
    max-width: 185px !important;
    #p-search,
    #p-search .pBody {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


     #p-logo {
     height: calc(100vh - 108px) !important;
        width: 140px !important;
    min-height: calc(100vh - 108px) !important;
        height: 140px !important;
    max-height: calc(100vh - 108px) !important;
        margin: 10px auto !important;
    }


     #p-logo a {
     overflow-y: auto !important;
        width: 140px !important;
    overflow-x: hidden !important;
        height: 140px !important;
        margin: 0 auto !important;
        background-size: contain !important;
    }


     #searchInput {
     transform: translateX(-110%) !important;
        width: 100% !important;
    transition: transform 0.18s ease !important;
        max-width: 100% !important;
    z-index: 2147483500 !important;
        box-sizing: border-box !important;
    }


     /* Keep the floating theme button from covering content too badly */
     background: rgb(29, 25, 22) !important;
     #eqoa-theme-toggle {
     background-color: rgb(29, 25, 22) !important;
        right: 10px !important;
    background-image: none !important;
        bottom: 10px !important;
    }
}


    color: #f0b400 !important;
    border-right: 1px solid #4a4035 !important;
    border-radius: 0 !important;


/* =========================================================
    padding: 8px 10px 40px 10px !important;
  MOBILE RESPONSIVE + SIDEBAR DRAWER - CLEAN VERSION
    margin: 0 !important;
  ========================================================= */
    box-sizing: border-box !important;


@media screen and (max-width: 700px) {
     display: flex !important;
     html,
    flex-direction: column !important;
    body {
    align-items: center !important;
        width: 100% !important;
}
        min-width: 0 !important;
        overflow-x: hidden !important;
    }


    #globalWrapper,
html.eqoa-theme-light #column-one {
    #column-content,
    background: #f6f4f1 !important;
    #content,
    background-color: #f6f4f1 !important;
    #bodyContent,
    color: #2b211b !important;
    #mw-content-text,
    border-right: 1px solid #d8d1c7 !important;
    .mw-body,
}
    .mw-parser-output {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }


    #content {
#column-one > * {
        padding: 12px !important;
    order: 20 !important;
    }
}


    /* Hide MonoBook top/page-action UI on mobile */
#p-cactions,
    #p-cactions,
html.eqoa-theme-dark #p-cactions {
    #p-personal,
     order: 1 !important;
    #p-views,
}
    #p-namespaces,
    #left-navigation,
    #right-navigation,
     #head,
    #mw-head,
    .page-actions,
    .portlet-page-actions {


        display: none !important;
#p-logo,
    }
html.eqoa-theme-dark #p-logo {
    order: 2 !important;
}


    /* Mobile sidebar button */
#eqoa-sidebar-account {
    #eqoa-mobile-sidebar-toggle {
     order: 3 !important;
        display: flex !important;
}
        position: fixed !important;
        top: 8px !important;
        left: 8px !important;
        z-index: 2147483647 !important;
        width: 38px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #4a3427 !important;
        color: #ffffff !important;
        border: 1px solid #3b2a20 !important;
        font-size: 24px !important;
        font-weight: bold !important;
        cursor: pointer !important;
     }
 
    /* Sidebar drawer */
    #column-one {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 88vw !important;
        max-width: 360px !important;
        min-width: 0 !important;
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(-110%) !important;
        transition: transform 0.18s ease !important;
        z-index: 2147483500 !important;
        background: #080807 !important;
        color: #f0b400 !important;
        border-right: 1px solid #4a4035 !important;
        padding: 56px 12px 28px 12px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }


     html.eqoa-mobile-sidebar-open #column-one {
     html.eqoa-mobile-sidebar-open #column-one {
Line 6,609: Line 6,856:
     }
     }


     #column-one,
     #column-one, #column-one *, #column-one .portlet, #column-one .generated-sidebar, #column-one .pBody {
    #column-one *,
    #column-one .portlet,
    #column-one .generated-sidebar,
    #column-one .pBody {
         box-sizing: border-box !important;
         box-sizing: border-box !important;
         max-width: 100% !important;
         max-width: 100% !important;
     }
     }


     #column-one .portlet,
     #column-one .portlet, #column-one .generated-sidebar, #column-one .pBody {
    #column-one .generated-sidebar,
    #column-one .pBody {
         position: static !important;
         position: static !important;
         float: none !important;
         float: none !important;
Line 6,632: Line 6,873:
     }
     }


    /* Hide leftover icon-only MonoBook controls inside drawer */
#column-one li[id^="pt-"], #column-one a[id^="pt-"], #column-one input[type="image"], #column-one input[type="button"], #column-one button:not(#eqoa-mobile-sidebar-toggle), #column-one .mw-portlet-toggle, #column-one .portlet-toggle, #column-one .collapseButton {
    #column-one li[id^="ca-"],
    #column-one li[id^="pt-"],
    #column-one a[id^="ca-"],
    #column-one a[id^="pt-"],
    #column-one input[type="image"],
    #column-one input[type="button"],
    #column-one button:not(#eqoa-mobile-sidebar-toggle),
    #column-one .mw-portlet-toggle,
    #column-one .portlet-toggle,
    #column-one .collapseButton {
         display: none !important;
         display: none !important;
     }
     }


    /* Logo */
#p-logo,
    #p-logo {
html.eqoa-theme-dark #p-logo {
        width: 150px !important;
    position: static !important;
        height: 150px !important;
    display: block !important;
        margin: 0 auto 12px auto !important;
    width: 145px !important;
     }
    height: 145px !important;
    min-height: 145px !important;
    margin: 0 auto 8px auto !important;
     padding: 0 !important;
    overflow: visible !important;
    z-index: auto !important;
}


    #p-logo a {
#p-logo a,
        width: 150px !important;
html.eqoa-theme-dark #p-logo a {
        height: 150px !important;
    display: block !important;
        margin: 0 auto !important;
    width: 145px !important;
        background-size: contain !important;
    height: 145px !important;
        background-repeat: no-repeat !important;
    min-height: 145px !important;
        background-position: center !important;
    margin: 0 auto !important;
     }
    padding: 0 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
     overflow: visible !important;
}


    /* Search inside drawer */
     #p-search {
     #p-search {
         position: static !important;
         position: static !important;
Line 6,674: Line 6,915:
     }
     }


     #p-search h3,
     #p-search h3, #p-search h5 {
    #p-search h5 {
         display: none !important;
         display: none !important;
     }
     }
Line 6,689: Line 6,929:
         display: grid !important;
         display: grid !important;
         grid-template-columns: 1fr auto !important;
         grid-template-columns: 1fr auto !important;
    }


 
    .npc-template, .npc-page, .npc-page-layout, .npc-left, .npc-right, .item-template, .item-page-layout, .item-left, .item-right, .quest-template, .zone-page-layout, .zone-left, .zone-right {
/* =========================================================
  MOBILE RESPONSIVE FIX - ZONE PAGES
  Horizon-style: left/top content first, right info box below
  ========================================================= */
 
@media screen and (max-width: 700px) {
 
    /* Kill desktop 55/45 split */
    .zone-left,
    .zone-right {
         display: block !important;
         display: block !important;
         float: none !important;
         float: none !important;
Line 6,707: Line 6,938:
         max-width: 100% !important;
         max-width: 100% !important;
         min-width: 0 !important;
         min-width: 0 !important;
         margin: 0 0 12px 0 !important;
         margin: 0 0 10px 0 !important;
        padding: 0 !important;
         box-sizing: border-box !important;
         box-sizing: border-box !important;
     }
     }


    /* Force right-side info panel below left panel */
     .mw-parser-output > table, .wikitable, .infobox, .zone-data-table, .exp-camp-wrapper, .items-filter-box {
     .zone-left {
        width: 100% !important;
        order: 1 !important;
    }
 
    .zone-right {
        order: 2 !important;
    }
 
    /* If parent uses flex/grid, force vertical stacking */
    .zone-page,
    .zone-layout,
    .zone-wrapper,
    .zones-wrapper,
    .mw-parser-output {
         max-width: 100% !important;
         max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
     }
     }


     .zone-layout,
     img, video, canvas, iframe {
    .zone-wrapper,
    .zones-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
 
    .zones-box,
    .zone-details-box {
        width: 100% !important;
         max-width: 100% !important;
         max-width: 100% !important;
         min-width: 0 !important;
         height: auto !important;
        margin: 0 0 12px 0 !important;
         box-sizing: border-box !important;
         box-sizing: border-box !important;
        overflow: hidden !important;
     }
     }


     .zones-header,
     .rare-encounter-table table, .raid-encounter-table table {
    .zone-details-header {
         display: none !important;
         width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
     }
     }


     .zones-content,
     .rare-encounter-mobile-layout, .rare-mobile-box {
    .zone-details-content {
        display: block !important;
         width: 100% !important;
         width: 100% !important;
         max-width: 100% !important;
         max-width: 100% !important;
         box-sizing: border-box !important;
         box-sizing: border-box !important;
        padding: 10px !important;
        overflow-x: auto !important;
     }
     }


     .zone-details-row {
     .rare-mobile-box {
         display: block !important;
         margin: 0 0 10px 0 !important;
        width: 100% !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
     }
     }


     .zone-details-label,
     #character-builder-app, #cm-calculator-app, .character-builder-box, .cm-calculator-box, .character-builder-equipment-layout, .character-builder-equipped-summary, .character-builder-gear-column, .character-builder-gear-grid, .cm-layout, .cm-grid, .cm-card, .cm-purchased-panel, .cm-master-class-panel {
    .zone-details-text {
         display: block !important;
         display: block !important;
        float: none !important;
        clear: both !important;
         width: 100% !important;
         width: 100% !important;
         max-width: 100% !important;
         max-width: 100% !important;
         white-space: normal !important;
         min-width: 0 !important;
         overflow-wrap: anywhere !important;
         margin-left: 0 !important;
        margin-right: 0 !important;
         box-sizing: border-box !important;
         box-sizing: border-box !important;
     }
     }


     .zone-details-label {
     .character-builder-equipped-summary {
         margin-bottom: 5px !important;
        position: static !important;
        margin-top: 0 !important;
         margin-bottom: 12px !important;
    }
 
    .character-builder-gear-grid {
        grid-template-columns: 1fr !important;
     }
     }


    /* Info tables and zone tables stay readable */
     .character-builder-stat-table, .character-builder-equipped-table, #character-builder-app table, #cm-calculator-app table {
     .zone-data-table,
        display: block !important;
    .zones-content table,
    .zone-details-content table,
    table.info-table {
         width: 100% !important;
         width: 100% !important;
         max-width: 100% !important;
         max-width: 100% !important;
        table-layout: auto !important;
         overflow-x: auto !important;
        box-sizing: border-box !important;
         white-space: nowrap !important;
    }
 
    .zone-data-table th,
    .zone-data-table td,
    .zones-content table th,
    .zones-content table td,
    .zone-details-content table th,
    .zone-details-content table td,
    table.info-table th,
    table.info-table td {
        white-space: normal !important;
         overflow-wrap: anywhere !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }
 
    .zone-left img,
    .zone-right img,
    .zones-content img,
    .zone-details-content img {
        max-width: 100% !important;
        height: auto !important;
    }
 
    .zones-content pre,
    .zone-details-content pre {
         white-space: pre-wrap !important;
        overflow-wrap: anywhere !important;
        max-width: 100% !important;
        overflow-x: auto !important;
     }
     }
}
}


/* =========================================================
/* =========================================================
   MOBILE ZONE PAGE - HARD STACK LEFT / RIGHT COLUMNS
   CHARACTER BUILDER TOOLTIP FIX
  Must stay near bottom of Common.css
   ========================================================= */
   ========================================================= */


@media screen and (max-width: 700px) {
.character-builder-tooltip,
#cb-item-tooltip,
#cb-compare-tooltip {
    position: absolute !important;
    display: none;
    z-index: 2147483647 !important;


     .zone-left {
     max-width: 360px !important;
        float: none !important;
    min-width: 220px !important;
        display: block !important;
    padding: 10px 12px !important;
        width: 100% !important;
    box-sizing: border-box !important;
        max-width: 100% !important;
        clear: both !important;
        margin-right: 0 !important;
    }


     .zone-right {
     background: rgb(15, 10, 6) !important;
        float: none !important;
    background-color: rgb(15, 10, 6) !important;
        display: block !important;
    color: #f6f1df !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


     /* Force every zones-box to start on its own row on mobile */
     border: 1px solid #f2ab31 !important;
    .zones-box,
    border-radius: 4px !important;
    .zone-right.zones-box,
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75) !important;
    .zone-left.zones-box {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


     /* Break any inline/table-cell behavior from the template */
     font-size: 12px !important;
    .zone-left[style],
    line-height: 1.35 !important;
    .zone-right[style],
    text-align: left !important;
    .zones-box[style] {
    opacity: 1 !important;
        display: block !important;
     pointer-events: none !important;
        float: none !important;
    white-space: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
     }
 
    /* If they are inside a table row/cell layout, force cells to stack */
    .zone-left,
    .zone-right {
        position: static !important;
        left: auto !important;
        right: auto !important;
    }
}
}


@media screen and (max-width: 700px) {
.character-builder-tooltip *,
    .eqoa-mobile-zone-stack {
#cb-item-tooltip *,
        display: block !important;
#cb-compare-tooltip * {
        width: 100% !important;
    background: transparent !important;
        max-width: 100% !important;
    background-color: transparent !important;
        box-sizing: border-box !important;
    opacity: 1 !important;
    }
    text-shadow: none !important;
 
    .eqoa-mobile-zone-stack .zone-left,
    .eqoa-mobile-zone-stack .zone-right {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px 0 !important;
        box-sizing: border-box !important;
    }
}
}


 
.character-builder-tooltip b,
/* Character Builder Player Vitals boxes */
#cb-item-tooltip b,
.cb-vitals-box-row {
#cb-compare-tooltip b {
    display: grid;
     color: #ffd45a !important;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 10px;
     margin: 10px 0 14px 0;
}
}


.cb-vitals-box {
.character-builder-tooltip div,
    background: var(--cb-panel, #11100e);
.character-builder-tooltip span,
    border: 1px solid var(--cb-border, #3a3129);
#cb-item-tooltip div,
    border-left: 3px solid var(--cb-gold, #f0b400);
#cb-item-tooltip span,
    padding: 12px;
#cb-compare-tooltip div,
     box-sizing: border-box;
#cb-compare-tooltip span {
     color: inherit !important;
}
}


.cb-vitals-label {
html.eqoa-theme-light .character-builder-tooltip,
     color: var(--cb-muted, #aaa197);
html.eqoa-theme-light #cb-item-tooltip,
     font-size: 13px;
html.eqoa-theme-light #cb-compare-tooltip {
     font-weight: 700;
     background: rgb(60, 40, 27) !important;
     text-transform: uppercase;
    background-color: rgb(60, 40, 27) !important;
     color: rgb(250, 248, 245) !important;
     border: 1px solid rgb(224, 218, 210) !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
}


.cb-vitals-value {
.cb-tooltip-rarity-common {
     color: var(--cb-gold-hover, #ffd45a);
     border-color: #9ca3af !important;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 4px;
}
}


@media screen and (max-width: 700px) {
.cb-tooltip-rarity-uncommon {
    .cb-vitals-box-row {
    border-color: #22c55e !important;
        grid-template-columns: 1fr;
    }
}
}


html.eqoa-theme-light .cb-vitals-box {
.cb-tooltip-rarity-rare {
    background: #ffffff !important;
     border-color: #3b82f6 !important;
    border-color: #d8d1c7 !important;
     border-left-color: #3b2618 !important;
}
}


html.eqoa-theme-light .cb-vitals-label {
.cb-tooltip-rarity-ultra-rare {
     color: #665a50 !important;
     border-color: #d946ef !important;
}
}


html.eqoa-theme-light .cb-vitals-value {
/* Character Builder tooltip item tags */
     color: #3b2618 !important;
.cb-tooltip-tags {
     display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 6px 0 7px 0 !important;
}
}


.cb-tooltip-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 6px !important;
    box-sizing: border-box !important;


    background: #332513 !important;
    color: #ffd45a !important;
    border: 1px solid rgba(242, 171, 49, 0.65) !important;
    border-radius: 3px !important;


    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}


html.eqoa-theme-light .cb-tooltip-tag {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
}


/* =========================================================
  EQOA ZONE RELATED TABS
  ========================================================= */


.eqoa-zone-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;
    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    color: #f2ab31 !important;
}
.eqoa-zone-tabs-title {
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;


    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}


.eqoa-zone-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;


    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}


.raid-zone-columns {
.eqoa-zone-tab-button {
     display: grid !important;
    appearance: none !important;
     gap: 10px;
    cursor: pointer !important;
     margin-bottom: 18px;
 
    min-height: 34px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
 
    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border: 0 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;
 
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
}
 
.eqoa-zone-tab-button:hover,
.eqoa-zone-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}
 
.eqoa-zone-tab-panel {
    display: none !important;
    padding: 12px !important;
    box-sizing: border-box !important;
 
    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}
 
.eqoa-zone-tab-panel.is-active {
     display: block !important;
}
 
html.eqoa-theme-light .eqoa-zone-tabs {
     background: rgb(246, 244, 241) !important;
     border-color: rgb(224, 218, 210) !important;
}
}


.raid-zone-columns-4 {
html.eqoa-theme-light .eqoa-zone-tabs-title,
     grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
html.eqoa-theme-light .eqoa-zone-tab-button.is-active,
html.eqoa-theme-light .eqoa-zone-tab-button:hover {
     background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
}
}


.raid-zone-columns-3 {
html.eqoa-theme-light .eqoa-zone-tabs-nav,
html.eqoa-theme-light .eqoa-zone-tab-panel {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
}
 
html.eqoa-theme-light .eqoa-zone-tab-button {
    background: rgb(235, 231, 225) !important;
    color: rgb(43, 33, 27) !important;
    border-right-color: rgb(224, 218, 210) !important;
}
 
@media (max-width: 700px) {
    .eqoa-zone-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
 
    .eqoa-zone-tab-button {
        width: 100% !important;
        border-bottom: 1px solid rgba(138, 90, 18, 0.55) !important;
    }
}
 
.eqoa-class-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    box-sizing: border-box !important;
}
 
.eqoa-class-tabs-title {
    padding: 10px 12px !important;
    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}
 
.eqoa-class-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}
 
.eqoa-class-tab-button {
    cursor: pointer !important;
    padding: 9px 14px !important;
    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
 
.eqoa-class-tab-button:hover,
.eqoa-class-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}
 
.eqoa-class-tab-panel {
    display: none !important;
    padding: 12px !important;
    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}
 
.eqoa-class-tab-panel.is-active {
    display: block !important;
}
 
/* =========================================================
  EQOA CLASS ITEM LISTS
  ========================================================= */
 
.class-item-list {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
}
 
.class-item-controls {
    width: 100%;
    margin-bottom: 12px;
}
 
.class-item-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
 
.class-item-filter-button {
    border: 1px solid #6b542f;
    background: rgb(29, 25, 22);
    color: #ffb400;
    font-weight: 700;
    padding: 7px 10px;
    cursor: pointer;
}
 
.class-item-filter-button.is-active {
    background: rgb(58, 38, 15);
    color: #ffffff;
}
 
.class-item-search {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #6b542f;
    background: rgb(16, 12, 9);
    color: #ffffff;
    padding: 9px 10px;
    font-size: 14px;
}
 
.class-item-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #6b542f;
}
 
.class-item-table th,
.class-item-table td {
    border: 1px solid rgba(107, 84, 47, 0.55);
    padding: 8px 10px;
    vertical-align: top;
}
 
.class-item-table th {
    background: rgb(58, 38, 15);
    color: #ffb400;
    text-align: left;
}
 
.class-item-table td {
    background: rgb(16, 12, 9);
    color: #ffffff;
}
 
.class-item-table th:nth-child(1),
.class-item-table td:nth-child(1) {
    width: 46%;
}
 
.class-item-table th:nth-child(2),
.class-item-table td:nth-child(2) {
    width: 8%;
    text-align: center;
}
 
.class-item-table th:nth-child(3),
.class-item-table td:nth-child(3) {
    width: 14%;
}
 
.class-item-table th:nth-child(4),
.class-item-table td:nth-child(4) {
    width: 32%;
}
 
.class-item-table a {
    color: #ffb400;
    font-weight: 700;
    text-decoration: none;
}
 
html.eqoa-theme-light .class-item-filter-button,
body.eqoa-theme-light .class-item-filter-button {
    border: 1px solid #d8cbb8;
    background: #f6f4f1;
    color: #3c281b;
}
 
html.eqoa-theme-light .class-item-filter-button.is-active,
body.eqoa-theme-light .class-item-filter-button.is-active {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
}
 
html.eqoa-theme-light .class-item-search,
body.eqoa-theme-light .class-item-search {
    border: 1px solid #d8cbb8;
    background: #ffffff;
    color: #1f140c;
}
 
html.eqoa-theme-light .class-item-table,
body.eqoa-theme-light .class-item-table {
    border: 1px solid #d8cbb8;
}
 
html.eqoa-theme-light .class-item-table th,
body.eqoa-theme-light .class-item-table th {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: #d8cbb8;
}
 
html.eqoa-theme-light .class-item-table td,
body.eqoa-theme-light .class-item-table td {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8cbb8;
}
 
html.eqoa-theme-light .class-item-table a,
body.eqoa-theme-light .class-item-table a {
    color: #4a2f1f;
}
 
@media (max-width: 700px) {
    .class-item-list {
        padding: 10px;
        overflow-x: auto;
    }
 
    .class-item-table {
        min-width: 720px;
    }
}
 
.class-item-tooltip {
    position: absolute;
    z-index: 2147483647;
    max-width: 420px;
    padding: 12px 14px;
    background: #100a06;
    color: #f7ead2;
    font-size: 13px;
    line-height: 1.35;
    pointer-events: none;
    border: 1px solid #9a6a00;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    text-shadow: 0 0 8px currentColor;
}
 
.class-item-tooltip-rarity-common {
    border-color: #d8d8d8;
    box-shadow: 0 0 16px rgba(216, 216, 216, 0.25), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-uncommon {
    border-color: #20ff45;
    box-shadow: 0 0 16px rgba(32, 255, 69, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-rare {
    border-color: #1e88ff;
    box-shadow: 0 0 16px rgba(30, 136, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-ultra-rare {
    border-color: #ff3cff;
    box-shadow: 0 0 16px rgba(255, 60, 255, 0.45), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-rarity-common {
    color: #ffffff;
}
 
.class-item-rarity-uncommon {
    color: #20ff45;
}
 
.class-item-rarity-rare {
    color: #1e88ff;
}
 
.class-item-rarity-ultra-rare {
    color: #ff3cff;
}
 
.class-item-tooltip-flags {
    display: flex;
    gap: 6px;
    margin: 4px 0 8px 0;
}
 
.class-item-tooltip-flags span {
    border: 1px solid #d49a00;
    color: #fff2c2;
    background: rgba(60, 40, 12, 0.65);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 800;
}
 
.class-item-tooltip-section {
    color: #ffb400;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 3px;
}
 
.class-item-tooltip-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 2px;
}
 
.class-item-tooltip-stats span {
    font-weight: 800;
}
 
html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip {
    background: #f6f4f1;
    color: #1f140c;
}
 
html.eqoa-theme-light .class-item-tooltip-flags span,
body.eqoa-theme-light .class-item-tooltip-flags span {
    background: #fff7dd;
    color: #3c281b;
}
 
.class-item-tooltip {
    position: absolute;
    z-index: 2147483647;
    max-width: 420px;
    padding: 12px 14px;
    background: #100a06;
    color: #f7ead2;
    font-size: 13px;
    line-height: 1.35;
    pointer-events: none;
    border: 1px solid #9a6a00;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    text-shadow: 0 0 8px currentColor;
}
 
.class-item-tooltip-rarity-common {
    border-color: #d8d8d8;
    box-shadow: 0 0 16px rgba(216, 216, 216, 0.25), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-uncommon {
    border-color: #20ff45;
    box-shadow: 0 0 16px rgba(32, 255, 69, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-rare {
    border-color: #1e88ff;
    box-shadow: 0 0 16px rgba(30, 136, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
.class-item-tooltip-rarity-ultra-rare {
    border-color: #ff3cff;
    box-shadow: 0 0 16px rgba(255, 60, 255, 0.45), 0 0 20px rgba(0, 0, 0, 0.85);
}
 
/* =========================================================
  CLASS ITEM TABLE RARITY COLORS
  ========================================================= */
 
.class-item-table a.class-item-rarity-common,
.class-item-table a.class-item-rarity-common:link,
.class-item-table a.class-item-rarity-common:visited,
.class-item-table a.class-item-rarity-common:hover,
.class-item-table a.class-item-rarity-common:active {
    color: #ffffff !important;
}
 
.class-item-table a.class-item-rarity-uncommon,
.class-item-table a.class-item-rarity-uncommon:link,
.class-item-table a.class-item-rarity-uncommon:visited,
.class-item-table a.class-item-rarity-uncommon:hover,
.class-item-table a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
}
 
.class-item-table a.class-item-rarity-rare,
.class-item-table a.class-item-rarity-rare:link,
.class-item-table a.class-item-rarity-rare:visited,
.class-item-table a.class-item-rarity-rare:hover,
.class-item-table a.class-item-rarity-rare:active {
    color: #1e88ff !important;
}
 
.class-item-table a.class-item-rarity-ultra-rare,
.class-item-table a.class-item-rarity-ultra-rare:link,
.class-item-table a.class-item-rarity-ultra-rare:visited,
.class-item-table a.class-item-rarity-ultra-rare:hover,
.class-item-table a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
}
 
.class-item-table a.class-item-rarity-common,
.class-item-table a.class-item-rarity-uncommon,
.class-item-table a.class-item-rarity-rare,
.class-item-table a.class-item-rarity-ultra-rare {
    font-weight: 800 !important;
    text-shadow: 0 0 6px currentColor !important;
}
 
.class-item-tooltip-flags {
    display: flex;
    gap: 6px;
    margin: 4px 0 8px 0;
}
 
.class-item-tooltip-flags span {
    border: 1px solid #d49a00;
    color: #fff2c2;
    background: rgba(60, 40, 12, 0.65);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 800;
}
 
.class-item-tooltip-section {
    color: #ffb400;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 3px;
}
 
.class-item-tooltip-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 2px;
}
 
.class-item-tooltip-stats span {
    font-weight: 800;
}
 
html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip {
    background: #f6f4f1;
    color: #1f140c;
}
 
html.eqoa-theme-light .class-item-tooltip-flags span,
body.eqoa-theme-light .class-item-tooltip-flags span {
    background: #fff7dd;
    color: #3c281b;
}
 
/* =========================================================
  SPELL LIST THEME - FINAL
  ========================================================= */
 
.spell-list,
html.eqoa-theme-dark .spell-list,
body.eqoa-theme-dark .spell-list {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgb(16, 12, 9) !important;
    color: #f6f1df !important;
    border: 1px solid #8a5a12 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}
 
.spell-list__title,
html.eqoa-theme-dark .spell-list__title,
body.eqoa-theme-dark .spell-list__title {
    display: block !important;
    background: rgb(58, 38, 15) !important;
    color: #ffb400 !important;
    border-bottom: 1px solid #8a5a12 !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: center !important;
}
 
.spell-list__title .mw-headline,
html.eqoa-theme-dark .spell-list__title .mw-headline,
body.eqoa-theme-dark .spell-list__title .mw-headline {
    color: #ffb400 !important;
}
 
.spell-list__cols,
html.eqoa-theme-dark .spell-list__cols,
body.eqoa-theme-dark .spell-list__cols {
    display: grid !important;
     grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
     grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    background: rgb(16, 12, 9) !important;
}
.spell-col,
html.eqoa-theme-dark .spell-col,
body.eqoa-theme-dark .spell-col {
    background: rgb(16, 12, 9) !important;
    border-right: 1px solid rgba(138, 90, 18, 0.65) !important;
}
.spell-col:last-child {
    border-right: 0 !important;
}
.spell-row,
html.eqoa-theme-dark .spell-row,
body.eqoa-theme-dark .spell-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 30px !important;
    color: #f6f1df !important;
    background: rgb(16, 12, 9) !important;
    background-color: rgb(16, 12, 9) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(138, 90, 18, 0.45) !important;
}
.spell-list .spell-row .spell-lvl,
.spell-list .spell-row .spell-lvl.divider-right,
.spell-list .spell-row .spell-data,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-dark .spell-list .spell-row .spell-data,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-dark .spell-list .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
.spell-list .spell-row .spell-lvl,
.spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffb400 !important;
    font-weight: 800 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.65) !important;
}
.spell-data,
html.eqoa-theme-dark .spell-data,
body.eqoa-theme-dark .spell-data {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 8px !important;
    color: #f6f1df !important;
    min-width: 0 !important;
}
.spell-name a,
.spell-name a:link,
.spell-name a:visited,
html.eqoa-theme-dark .spell-name a,
html.eqoa-theme-dark .spell-name a:link,
html.eqoa-theme-dark .spell-name a:visited,
body.eqoa-theme-dark .spell-name a,
body.eqoa-theme-dark .spell-name a:link,
body.eqoa-theme-dark .spell-name a:visited {
    color: #ffb400 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.spell-name a:hover,
html.eqoa-theme-dark .spell-name a:hover,
body.eqoa-theme-dark .spell-name a:hover {
    color: #ffd45a !important;
    text-decoration: underline !important;
}
/* White theme stays separate */
html.eqoa-theme-light .spell-list,
body.eqoa-theme-light .spell-list {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
    border: 1px solid rgb(224, 218, 210) !important;
}
html.eqoa-theme-light .spell-list__title,
body.eqoa-theme-light .spell-list__title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}
html.eqoa-theme-light .spell-list__title .mw-headline,
body.eqoa-theme-light .spell-list__title .mw-headline {
    color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light .spell-list__cols,
body.eqoa-theme-light .spell-list__cols,
html.eqoa-theme-light .spell-col,
body.eqoa-theme-light .spell-col {
    background: rgb(246, 244, 241) !important;
}
html.eqoa-theme-light .spell-row,
body.eqoa-theme-light .spell-row {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}
html.eqoa-theme-light .spell-list .spell-row .spell-lvl,
html.eqoa-theme-light .spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-light .spell-list .spell-row .spell-data,
body.eqoa-theme-light .spell-list .spell-row .spell-lvl,
body.eqoa-theme-light .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-light .spell-list .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
html.eqoa-theme-light .spell-lvl,
body.eqoa-theme-light .spell-lvl {
    color: rgb(60, 40, 27) !important;
}
html.eqoa-theme-light .spell-name a,
html.eqoa-theme-light .spell-name a:link,
html.eqoa-theme-light .spell-name a:visited,
body.eqoa-theme-light .spell-name a,
body.eqoa-theme-light .spell-name a:link,
body.eqoa-theme-light .spell-name a:visited {
    color: rgb(60, 40, 27) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
@media screen and (max-width: 700px) {
    .spell-list__cols {
        grid-template-columns: 1fr !important;
    }
    .spell-col {
        border-right: 0 !important;
    }
    .spell-row {
        grid-template-columns: 38px minmax(0, 1fr) !important;
    }
}
@media screen and (max-width: 1200px) {
    #eqoa-right-rail {
        display: none;
    }
    #content, .mw-body {
        margin-right: 0 !important;
    }
    html.eqoa-theme-dark #eqoa-right-rail {
        display: none;
    }
    html.eqoa-theme-dark #content, html.eqoa-theme-dark .mw-body {
        margin-right: 0 !important;
    }
    .zone-left-top-layout {
        grid-template-columns: 1fr !important;
    }
        .zone-interactive-map-content {
        padding: 0 !important;
        background: transparent !important;
    }
    .zone-interactive-map-content .eqoa-interactive-map {
        display: block !important;
        width: 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
    }
    .zone-interactive-map-content .eqoa-interactive-map,
    .zone-interactive-map-content .eqoa-interactive-map .leaflet-pane,
    .zone-interactive-map-content .eqoa-interactive-map .leaflet-map-pane {
        background: transparent !important;
    }
}
@keyframes cbTooltipFade {
from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes cbStatGainPulse {
0% {
        transform: scale(1.18);
        opacity: 0.25;
        text-shadow: 0 0 10px rgba(80, 255, 120, 0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes cbStatLossPulse {
0% {
        transform: scale(1.18);
        opacity: 0.25;
        text-shadow: 0 0 10px rgba(255, 80, 80, 0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes cbStatFlash {
0% {
        background-color: rgba(80, 255, 120, 0.22);
        box-shadow: 0 0 10px rgba(80, 255, 120, 0.55);
        transform: scale(1.06);
    }
    100% {
        background-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
}
@keyframes cbLegendaryTextPulse {
0%, 100% {
        text-shadow: 0 0 4px rgba(181,72,72,0.35), 0 0 8px rgba(120,20,20,0.18);
    }
    50% {
        text-shadow: 0 0 8px rgba(220,90,90,0.85), 0 0 18px rgba(160,30,30,0.45);
    }
}
@keyframes cbRelicTextShimmer {
0%, 100% {
        color: #d4af37;
        text-shadow: 0 0 4px rgba(212,175,55,0.35), 0 0 8px rgba(255,220,120,0.18);
    }
    50% {
        color: #ffe08a;
        text-shadow: 0 0 9px rgba(255,230,150,0.9), 0 0 20px rgba(255,240,180,0.5);
    }
}
/* =========================================================
  EQOA CLASS PAGE TABS
  Same visual style as Zone Page tabs
  ========================================================= */
.eqoa-class-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;
    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    color: #f2ab31 !important;
}
.eqoa-class-tabs-title {
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.eqoa-class-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}
.eqoa-class-tab-button {
    appearance: none !important;
    cursor: pointer !important;
    min-height: 34px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border: 0 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
}
.eqoa-class-tab-button:hover,
.eqoa-class-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}
.eqoa-class-tab-panel {
    display: none !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}
.eqoa-class-tab-panel.is-active {
    display: block !important;
}
html.eqoa-theme-light .eqoa-class-tabs {
    background: rgb(246, 244, 241) !important;
    border-color: rgb(224, 218, 210) !important;
}
html.eqoa-theme-light .eqoa-class-tabs-title,
html.eqoa-theme-light .eqoa-class-tab-button.is-active,
html.eqoa-theme-light .eqoa-class-tab-button:hover {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light .eqoa-class-tabs-nav,
html.eqoa-theme-light .eqoa-class-tab-panel {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
}
html.eqoa-theme-light .eqoa-class-tab-button {
    background: rgb(235, 231, 225) !important;
    color: rgb(43, 33, 27) !important;
    border-right-color: rgb(224, 218, 210) !important;
}
@media (max-width: 700px) {
    .eqoa-class-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .eqoa-class-tab-button {
        width: 100% !important;
        border-bottom: 1px solid rgba(138, 90, 18, 0.55) !important;
    }
}
/* FINAL LOCKED SPELL ROW COLOR - DARK THEME ONLY */
html.eqoa-theme-dark .spell-list .spell-row,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd),
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even),
html.eqoa-theme-dark .spell-col .spell-row,
html.eqoa-theme-dark .spell-col .spell-row:nth-child(odd),
html.eqoa-theme-dark .spell-col .spell-row:nth-child(even),
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(odd),
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(even) {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
}
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-data,
html.eqoa-theme-dark .spell-list .spell-row .spell-name,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd) .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd) .spell-data,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even) .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even) .spell-data,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row .spell-lvl,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
/* FINAL LOCKED GLOBAL ROW COLOR - DARK THEME */
html.eqoa-theme-dark tr,
html.eqoa-theme-dark td,
html.eqoa-theme-dark .spell-row,
html.eqoa-theme-dark .spell-lvl,
html.eqoa-theme-dark .spell-data,
html.eqoa-theme-dark .zone-data-table tr,
html.eqoa-theme-dark .zone-data-table td,
html.eqoa-theme-dark .class-item-table tr,
html.eqoa-theme-dark .class-item-table td,
html.eqoa-theme-dark .raid-list__col label,
html.eqoa-theme-dark .raid-checkboxify label {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
}
/* =========================================================
  CHARACTER BUILDER - FINAL DARK THEME LOCK
  ========================================================= */
/* CB headers */
html.eqoa-theme-dark #character-builder-app .character-builder-title,
html.eqoa-theme-dark #character-builder-app .character-builder-section-title,
html.eqoa-theme-dark #character-builder-app .character-builder-subsection-title,
html.eqoa-theme-dark #character-builder-app .cb-slot-section-title,
html.eqoa-theme-dark #character-builder-app .cb-export-panel-title,
html.eqoa-theme-dark #character-builder-app .cb-export-small-title,
body.eqoa-theme-dark #character-builder-app .character-builder-title,
body.eqoa-theme-dark #character-builder-app .character-builder-section-title,
body.eqoa-theme-dark #character-builder-app .character-builder-subsection-title,
body.eqoa-theme-dark #character-builder-app .cb-slot-section-title,
body.eqoa-theme-dark #character-builder-app .cb-export-panel-title,
body.eqoa-theme-dark #character-builder-app .cb-export-small-title {
    background: rgb(58, 38, 15) !important;
    background-color: rgb(58, 38, 15) !important;
    background-image: none !important;
    color: #ffb400 !important;
    border: 1px solid #8a5a12 !important;
    font-weight: 800 !important;
    text-align: center !important;
}
/* CB item row containers */
html.eqoa-theme-dark #character-builder-app .cb-item-picker-list,
html.eqoa-theme-dark #character-builder-app .cb-picker-item,
html.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(odd),
html.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(even),
html.eqoa-theme-dark #character-builder-app .cb-picker-selected,
html.eqoa-theme-dark #character-builder-app .cb-picker-none,
body.eqoa-theme-dark #character-builder-app .cb-item-picker-list,
body.eqoa-theme-dark #character-builder-app .cb-picker-item,
body.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(odd),
body.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(even),
body.eqoa-theme-dark #character-builder-app .cb-picker-selected,
body.eqoa-theme-dark #character-builder-app .cb-picker-none {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
    border-color: rgba(138, 90, 18, 0.45) !important;
}
/* CB slot boxes / panels */
html.eqoa-theme-dark #character-builder-app .character-builder-slot,
html.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary,
html.eqoa-theme-dark #character-builder-app .character-builder-gear-column,
html.eqoa-theme-dark #character-builder-app .character-builder-warning-box,
body.eqoa-theme-dark #character-builder-app .character-builder-slot,
body.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary,
body.eqoa-theme-dark #character-builder-app .character-builder-gear-column,
body.eqoa-theme-dark #character-builder-app .character-builder-warning-box {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
    border-color: #8a5a12 !important;
}
/* Keep rarity colors, remove background from text spans */
html.eqoa-theme-dark #character-builder-app .cb-picker-item span,
html.eqoa-theme-dark #character-builder-app .cb-picker-item span[class*="cb-rarity-"],
html.eqoa-theme-dark #character-builder-app .cb-picker-item .cb-item-page-link,
body.eqoa-theme-dark #character-builder-app .cb-picker-item span,
body.eqoa-theme-dark #character-builder-app .cb-picker-item span[class*="cb-rarity-"],
body.eqoa-theme-dark #character-builder-app .cb-picker-item .cb-item-page-link {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
/* =========================================================
  ITEMS FOUND HERE FILTERS
  ========================================================= */
.items-filter-box {
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 10px 0;
    padding: 10px;
    border: 1px solid #8a5a12;
    background: rgb(17, 16, 14);
}
.items-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.items-filter-mode,
#clear-item-filters {
    background: rgb(29, 25, 22);
    color: #ffb400;
    border: 1px solid #8a5a12;
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
}
.items-filter-mode.is-active {
    background: rgb(58, 38, 15);
    color: #ffd45a;
}
.items-filter-tools {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 160px auto;
    gap: 8px;
}
#filter-item-search,
#filter-class-select {
    background: rgb(17, 16, 14);
    color: #f6f1df;
    border: 1px solid #5a3a12;
    padding: 8px 10px;
    box-sizing: border-box;
}
html.eqoa-theme-light .items-filter-box {
    background: rgb(246, 244, 241);
    border-color: rgb(224, 218, 210);
}
html.eqoa-theme-light .items-filter-mode,
html.eqoa-theme-light #clear-item-filters {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: rgb(224, 218, 210);
}
html.eqoa-theme-light .items-filter-mode.is-active {
    background: rgb(120, 78, 36);
    color: rgb(250, 248, 245);
}
html.eqoa-theme-light #filter-item-search,
html.eqoa-theme-light #filter-class-select {
    background: #ffffff;
    color: rgb(43, 33, 27);
    border-color: rgb(224, 218, 210);
}
@media screen and (max-width: 700px) {
    .items-filter-tools {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
  ITEM RARITY LINKS - SHARED BY CB, CLASS ITEMS, ZONE DROPS, NPC DROPS
  ========================================================= */
a.class-item-rarity-common,
a.class-item-rarity-common:link,
a.class-item-rarity-common:visited,
a.class-item-rarity-common:hover,
a.class-item-rarity-common:active {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45) !important;
}
a.class-item-rarity-uncommon,
a.class-item-rarity-uncommon:link,
a.class-item-rarity-uncommon:visited,
a.class-item-rarity-uncommon:hover,
a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32, 255, 69, 0.55) !important;
}
a.class-item-rarity-rare,
a.class-item-rarity-rare:link,
a.class-item-rarity-rare:visited,
a.class-item-rarity-rare:hover,
a.class-item-rarity-rare:active {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30, 136, 255, 0.65) !important;
}
a.class-item-rarity-ultra-rare,
a.class-item-rarity-ultra-rare:link,
a.class-item-rarity-ultra-rare:visited,
a.class-item-rarity-ultra-rare:hover,
a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 7px rgba(255, 60, 255, 0.75) !important;
}
#items-found-here-tooltip,
#class-item-tooltip {
    position: absolute !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}
/* Zone tab table headers: NPCs / Drops / Achievements */
html.eqoa-theme-dark .eqoa-zone-tabs table th,
html.eqoa-theme-dark .eqoa-zone-tabs .zone-data-table th,
html.eqoa-theme-dark .eqoa-zone-tabs .zone-monster-table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel .zone-data-table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel .zone-monster-table th {
    background: rgb(58, 38, 15) !important;
    background-color: rgb(58, 38, 15) !important;
    color: #ffb300 !important;
    border: 1px solid #5a3a12 !important;
    font-weight: 700 !important;
    text-align: center !important;
}
html.eqoa-theme-light .eqoa-zone-tabs table th,
html.eqoa-theme-light .eqoa-zone-tabs .zone-data-table th,
html.eqoa-theme-light .eqoa-zone-tabs .zone-monster-table th,
html.eqoa-theme-light .eqoa-zone-tab-panel table th,
html.eqoa-theme-light .eqoa-zone-tab-panel .zone-data-table th,
html.eqoa-theme-light .eqoa-zone-tab-panel .zone-monster-table th {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border: 1px solid rgb(224, 218, 210) !important;
    font-weight: 700 !important;
    text-align: center !important;
}
/* =========================================================
  FINAL ITEM RARITY COLOR OVERRIDE
  Applies to CB, Class Items, Zone Drops, NPC Drops
  ========================================================= */
html body a.class-item-rarity-common,
html body a.class-item-rarity-common:link,
html body a.class-item-rarity-common:visited,
html body a.class-item-rarity-common:hover,
html body a.class-item-rarity-common:active,
html body .zone-data-table a.class-item-rarity-common,
html body .zone-data-table a.class-item-rarity-common:hover,
html body .zone-monster-table a.class-item-rarity-common,
html body .zone-monster-table a.class-item-rarity-common:hover,
html body .eqoa-zone-tabs a.class-item-rarity-common,
html body .eqoa-zone-tabs a.class-item-rarity-common:hover {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255,255,255,0.55) !important;
}
html body a.class-item-rarity-uncommon,
html body a.class-item-rarity-uncommon:link,
html body a.class-item-rarity-uncommon:visited,
html body a.class-item-rarity-uncommon:hover,
html body a.class-item-rarity-uncommon:active,
html body .zone-data-table a.class-item-rarity-uncommon,
html body .zone-data-table a.class-item-rarity-uncommon:hover,
html body .zone-monster-table a.class-item-rarity-uncommon,
html body .zone-monster-table a.class-item-rarity-uncommon:hover,
html body .eqoa-zone-tabs a.class-item-rarity-uncommon,
html body .eqoa-zone-tabs a.class-item-rarity-uncommon:hover {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32,255,69,0.65) !important;
}
html body a.class-item-rarity-rare,
html body a.class-item-rarity-rare:link,
html body a.class-item-rarity-rare:visited,
html body a.class-item-rarity-rare:hover,
html body a.class-item-rarity-rare:active,
html body .zone-data-table a.class-item-rarity-rare,
html body .zone-data-table a.class-item-rarity-rare:hover,
html body .zone-monster-table a.class-item-rarity-rare,
html body .zone-monster-table a.class-item-rarity-rare:hover,
html body .eqoa-zone-tabs a.class-item-rarity-rare,
html body .eqoa-zone-tabs a.class-item-rarity-rare:hover {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30,136,255,0.75) !important;
}
html body a.class-item-rarity-ultra-rare,
html body a.class-item-rarity-ultra-rare:link,
html body a.class-item-rarity-ultra-rare:visited,
html body a.class-item-rarity-ultra-rare:hover,
html body a.class-item-rarity-ultra-rare:active,
html body .zone-data-table a.class-item-rarity-ultra-rare,
html body .zone-data-table a.class-item-rarity-ultra-rare:hover,
html body .zone-monster-table a.class-item-rarity-ultra-rare,
html body .zone-monster-table a.class-item-rarity-ultra-rare:hover,
html body .eqoa-zone-tabs a.class-item-rarity-ultra-rare,
html body .eqoa-zone-tabs a.class-item-rarity-ultra-rare:hover {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 7px rgba(255,60,255,0.8) !important;
}
.eqoa-class-index {
    border: 1px solid #8a5a00;
    background: #0d0c0b;
    color: #ffffff;
}
.eqoa-class-index-toolbar {
    padding: 14px;
    border-bottom: 1px solid #8a5a00;
    background: #1d1916;
}
.eqoa-class-index-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.eqoa-class-index-filters button {
    min-height: 34px;
    padding: 0 14px;
    background: #1d1916;
    color: #ffb000;
    border: 1px solid #6b5430;
    font-weight: 700;
    cursor: pointer;
}
.eqoa-class-index-filters button.is-active {
    background: #3c281b;
    color: #ffffff;
    border-color: #b88422;
}
.eqoa-class-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 16px;
    padding: 16px;
}
.eqoa-class-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    min-height: 170px;
    padding: 14px;
    box-sizing: border-box;
    background: #11100e;
    border: 1px solid #3a2b1a;
    color: #ffffff !important;
}
.eqoa-class-card:hover {
    border-color: #b88422;
    background: #1d1916;
}
.eqoa-class-card-art {
    display: flex;
    align-items: center;
    justify-content: center;
}
.eqoa-class-card-image {
    width: 112px;
    max-height: 145px;
    object-fit: contain;
}
.eqoa-class-card-title,
.eqoa-class-card-title a {
    color: #ffb000 !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
}
.eqoa-class-card-abbr {
    margin-top: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}
.eqoa-class-card-mc {
    margin-top: 8px;
    color: #f5ead8;
    font-size: 13px;
    line-height: 1.35;
}
.eqoa-class-card-mc a {
    color: #ffb000 !important;
    text-decoration: none !important;
}
.eqoa-class-card p {
    margin: 10px 0 0 0;
    color: #f5ead8;
    font-size: 14px;
    line-height: 1.4;
}
html.eqoa-theme-light .eqoa-class-index {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8c9b5;
}
html.eqoa-theme-light .eqoa-class-index-toolbar {
    background: #f6f4f1;
    border-color: #d8c9b5;
}
html.eqoa-theme-light .eqoa-class-index-filters button {
    background: #ffffff;
    color: #3c281b;
    border-color: #c8b9a6;
}
html.eqoa-theme-light .eqoa-class-index-filters button.is-active {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: rgb(60, 40, 27);
}
html.eqoa-theme-light .eqoa-class-card {
    background: #ffffff;
    border-color: #d8c9b5;
    color: #1f140c !important;
}
html.eqoa-theme-light .eqoa-class-card:hover {
    background: #f1ebe3;
    border-color: rgb(60, 40, 27);
}
html.eqoa-theme-light .eqoa-class-card-title,
html.eqoa-theme-light .eqoa-class-card-title a {
    color: rgb(60, 40, 27) !important;
}
html.eqoa-theme-light .eqoa-class-card-abbr,
html.eqoa-theme-light .eqoa-class-card-mc,
html.eqoa-theme-light .eqoa-class-card p {
    color: #1f140c;
}
html.eqoa-theme-light .eqoa-class-card-mc a {
    color: rgb(60, 40, 27) !important;
}
@media (max-width: 700px) {
    .eqoa-class-index-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
    }
    .eqoa-class-card {
        grid-template-columns: 86px 1fr;
        min-height: 130px;
        padding: 10px;
    }
    .eqoa-class-card-image {
        width: 82px;
        max-height: 112px;
    }
    .eqoa-class-card-title,
    .eqoa-class-card-title a {
        font-size: 18px;
    }
}
/* Zone Related header: follow global header theme */
.eqoa-zone-related-title,
.eqoa-zone-tabs-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    background: #3c281b !important;
    color: #ffb000 !important;
    border: 0 !important;
    border-bottom: 1px solid #8a5a00 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}
html.eqoa-theme-light .eqoa-zone-related-title,
html.eqoa-theme-light .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-bottom-color: rgb(224, 218, 210) !important;
}
.eqoa-spell-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #11100e;
    color: #ffffff;
    border: 1px solid #3a2b1a;
}
.eqoa-spell-list-table th {
    height: 36px;
    padding: 0 10px;
    background: #2b2b2b;
    color: #ffffff;
    border-bottom: 1px solid #11100e;
    text-align: left;
    font-weight: 800;
}
.eqoa-spell-list-table td {
    height: 48px;
    padding: 6px 10px;
    border-bottom: 1px solid #222222;
    background: #1d1d1d;
    vertical-align: middle;
}
.eqoa-spell-list-table tr:nth-child(odd) td {
    background: #202020;
}
.eqoa-spell-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.eqoa-spell-name-cell a {
    color: #ffd100 !important;
    font-weight: 800;
    text-decoration: none !important;
}
.eqoa-spell-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border: 1px solid #555555;
    background: #000000;
}
.eqoa-spell-class-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 4px;
    vertical-align: middle;
}
html.eqoa-theme-light .eqoa-spell-list-table {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8c9b5;
}
html.eqoa-theme-light .eqoa-spell-list-table th {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-bottom-color: #d8c9b5;
}
html.eqoa-theme-light .eqoa-spell-list-table td,
html.eqoa-theme-light .eqoa-spell-list-table tr:nth-child(odd) td {
    background: #ffffff;
    color: #1f140c;
    border-bottom-color: #d8c9b5;
}
@media (max-width: 700px) {
    .eqoa-spell-list-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* EQOA Spell tooltip parchment UI */
.eqoa-spell-tooltip {
    position: absolute !important;
    z-index: 2147483600 !important;
    width: 430px !important;
    max-width: calc(100vw - 24px) !important;
    color: #111111 !important;
    font-family: "Courier New", monospace !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    pointer-events: none !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.75)) !important;
}
.eqoa-spell-tooltip-main,
.eqoa-spell-tooltip-desc {
    padding: 16px 18px !important;
    box-sizing: border-box !important;
    background:
        linear-gradient(rgba(222, 213, 181, 0.88), rgba(185, 174, 139, 0.88)),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.035) 0px,
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px,
            transparent 7px
        ) !important;
    border: 2px solid #5b5548 !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 0 14px rgba(43, 35, 22, 0.45),
        inset 0 0 2px rgba(255, 255, 255, 0.55) !important;
}
.eqoa-spell-tooltip-main {
    min-height: 180px !important;
}
.eqoa-spell-tooltip-desc {
    min-height: 92px !important;
    margin-top: 8px !important;
}
.eqoa-spell-tooltip-name {
    margin-bottom: 4px !important;
}
.eqoa-spell-tooltip span {
    margin-left: 10px !important;
}
@media (max-width: 700px) {
    .eqoa-spell-tooltip {
        width: 330px !important;
        font-size: 20px !important;
    }
    .eqoa-spell-tooltip-main {
        min-height: 140px !important;
    }
    .eqoa-spell-tooltip-desc {
        min-height: 72px !important;
    }
}
.eqoa-spell-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
}
.eqoa-spell-path-section {
    border: 1px solid #8a5a00;
    background: #0d0c0b;
}
.eqoa-spell-path-title {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #3c281b;
    color: #ffb000;
    border-bottom: 1px solid #8a5a00;
    font-size: 16px;
    font-weight: 800;
}
html.eqoa-theme-light .eqoa-spell-path-section {
    background: #f6f4f1;
    border-color: #d8c9b5;
}
html.eqoa-theme-light .eqoa-spell-path-title {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: #d8c9b5;
}
@media (max-width: 700px) {
    .eqoa-spell-path-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}
/* EQOA spell tooltip: server-style parchment with gray frame */
.eqoa-spell-tooltip {
    position: absolute !important;
    z-index: 2147483600 !important;
    width: 430px !important;
    max-width: calc(100vw - 24px) !important;
    color: #050505 !important;
    font-family: "Courier New", monospace !important;
    font-size: 27px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    pointer-events: none !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background:
        linear-gradient(90deg, #222 0, #777 4px, #3c3c3c 8px, #111 12px, transparent 12px, transparent calc(100% - 12px), #111 calc(100% - 12px), #777 calc(100% - 4px), #222 100%),
        linear-gradient(180deg, #222 0, #777 4px, #3c3c3c 8px, #111 12px, transparent 12px, transparent calc(100% - 12px), #111 calc(100% - 12px), #777 calc(100% - 4px), #222 100%) !important;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.85)) !important;
}
.eqoa-spell-tooltip-main,
.eqoa-spell-tooltip-desc {
    position: relative !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    background:
        radial-gradient(circle at 25% 18%, rgba(255, 255, 235, 0.28), transparent 32%),
        radial-gradient(circle at 75% 70%, rgba(80, 65, 42, 0.16), transparent 40%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.035) 0px,
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px,
            transparent 7px
        ),
        linear-gradient(#d5ccb0, #b7ad8c) !important;
    border: 2px solid #5b5d5b !important;
    border-radius: 7px !important;
    box-shadow:
        inset 0 0 16px rgba(38, 32, 20, 0.55),
        inset 0 0 3px rgba(255, 255, 255, 0.6),
        0 0 0 2px #2b2d2b,
        0 0 0 4px #737673 !important;
}
.eqoa-spell-tooltip-main::before,
.eqoa-spell-tooltip-desc::before {
    content: "" !important;
    position: absolute !important;
    inset: 6px !important;
    border: 1px solid rgba(55, 55, 48, 0.35) !important;
    pointer-events: none !important;
}
.eqoa-spell-tooltip-main {
    min-height: 190px !important;
}
.eqoa-spell-tooltip-desc {
    min-height: 92px !important;
    margin-top: 10px !important;
}
.eqoa-spell-tooltip-name {
    margin-bottom: 2px !important;
}
.eqoa-spell-tooltip span {
    margin-left: 10px !important;
}
@media (max-width: 700px) {
    .eqoa-spell-tooltip {
        width: 340px !important;
        font-size: 20px !important;
        padding: 10px !important;
    }
    .eqoa-spell-tooltip-main {
        min-height: 150px !important;
    }
    .eqoa-spell-tooltip-desc {
        min-height: 74px !important;
    }
}
.class-item-rarity-legendary,
.class-item-rarity-legendary:visited,
.class-item-rarity-legendary:hover,
.cb-rarity-legendary {
    color: #ff8000 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}
.class-item-rarity-unique,
.class-item-rarity-unique:visited,
.class-item-rarity-unique:hover,
.cb-rarity-unique {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}
.class-item-tooltip.tooltip-rarity-legendary,
.tooltip-rarity-legendary {
    border-color: #ff8000 !important;
    box-shadow: 0 0 14px rgba(255, 128, 0, 0.75) !important;
}
.class-item-tooltip.tooltip-rarity-unique,
.tooltip-rarity-unique {
    border-color: #ffd700 !important;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.75) !important;
}
.class-item-tooltip.tooltip-rarity-legendary .class-item-tooltip-title,
.class-item-tooltip.tooltip-rarity-legendary .eqoa-related-tooltip-title,
.tooltip-rarity-legendary .class-item-tooltip-title,
.tooltip-rarity-legendary .eqoa-related-tooltip-title {
    color: #ff8000 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}
.class-item-tooltip.tooltip-rarity-unique .class-item-tooltip-title,
.class-item-tooltip.tooltip-rarity-unique .eqoa-related-tooltip-title,
.tooltip-rarity-unique .class-item-tooltip-title,
.tooltip-rarity-unique .eqoa-related-tooltip-title {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}
.eqoa-spell-class-icon {
    width: 75px !important;
    height: 75px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 75px  !important;
    max-height: 75px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    image-rendering: auto !important;
}
.eqoa-spell-classes-cell {
    text-align: center !important;
    vertical-align: middle !important;
}
.eqoa-spell-classes-cell .eqoa-spell-class-icon {
    text-align: center !important;
    display: inline-block !important;
}
.eqoa-spell-list-table tr {
    border-bottom: 1px solid #25211c !important;
}
.eqoa-spell-list-table td,
.eqoa-spell-list-table th {
    border-bottom: 0 !important;
}
.eqoa-spell-classes-cell {
    text-align: center !important;
    vertical-align: middle !important;
}
.eqoa-spell-classes-cell .eqoa-spell-class-icon {
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
}
.eqoa-spell-list-table th:nth-child(3) {
    text-align: center !important;
}
/* =========================================================
  QUEST TEMPLATE
  ========================================================= */
.quest-template {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.quest-left {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}
.quest-right {
    flex: 2;
    min-width: 400px;
    padding: 10px;
    display: block;
}
.quest-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
    padding: 8px 12px;
    box-sizing: border-box;
    background: #3a2418;
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.45);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}
.quest-right .quest-header {
    margin-top: 10px;
}
.quest-right .quest-header:first-child {
    margin-top: 0;
}
.quest-card,
.quest-section-body {
    display: block;
    margin-top: 5px;
    padding: 10px;
    box-sizing: border-box;
    background: rgb(17, 16, 14);
    color: #f5efe2;
    border: 1px solid rgba(242, 171, 49, 0.35);
}
.quest-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.quest-giver-label {
    font-weight: bold;
}
.quest-table {
    width: 100%;
    border-collapse: collapse;
}
.quest-table td {
    padding: 6px 8px;
    border: 1px solid rgba(242, 171, 49, 0.22);
    color: #f5efe2;
}
.quest-table td:first-child {
    width: 34%;
    color: #ffd45a;
}
/* White theme */
html.eqoa-theme-light .quest-header,
body.eqoa-theme-light .quest-header {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border: 0;
}
html.eqoa-theme-light .quest-card,
html.eqoa-theme-light .quest-section-body,
body.eqoa-theme-light .quest-card,
body.eqoa-theme-light .quest-section-body {
    background: #f6f4f1;
    color: #2b211b;
    border: 1px solid #d8d1c7;
}
html.eqoa-theme-light .quest-table td,
body.eqoa-theme-light .quest-table td {
    color: #2b211b;
    border: 1px solid #d8d1c7;
}
html.eqoa-theme-light .quest-table td:first-child,
body.eqoa-theme-light .quest-table td:first-child {
    color: #4a2f1f;
}
/* Mobile */
@media screen and (max-width: 700px) {
    .quest-template {
        display: block;
    }
    .quest-left,
    .quest-right {
        width: 100%;
        min-width: 0;
        padding: 8px 0;
    }
    .quest-card img {
        max-width: 100%;
        height: auto;
    }
}
html.eqoa-theme-light body .quest-template h2.quest-header,
html.eqoa-theme-light body .quest-template h2.quest-header *,
body.eqoa-theme-light .quest-template h2.quest-header,
body.eqoa-theme-light .quest-template h2.quest-header * {
    color: #ffffff !important;
    text-shadow: none !important;
}
.tunaria-zone-page {
    display: block;
    width: 100%;
}
.tunaria-zone-map-panel,
.tunaria-zone-list-panel {
    width: 100%;
    background: rgb(17, 16, 14);
    border: 1px solid rgba(242, 171, 49, 0.35);
    margin: 0 0 16px 0;
    box-sizing: border-box;
}
.tunaria-zone-header {
    background: #3a2418;
    color: #ffd45a;
    border-bottom: 1px solid rgba(242, 171, 49, 0.35);
    padding: 9px 12px;
    text-align: center;
    font-weight: 800;
    font-size: 20px;
}
.tunaria-zone-map-panel {
    width: 100%;
    background: rgb(17, 16, 14) !important;
    border: 1px solid rgba(242, 171, 49, 0.35) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.tunaria-zone-map {
    width: 100% !important;
    padding: 18px !important;
    margin: 0 !important;
    text-align: center !important;
    background: rgb(17, 16, 14) !important;
    box-sizing: border-box !important;
}
.tunaria-zone-map,
.tunaria-zone-map *,
.tunaria-zone-map p,
.tunaria-zone-map a,
.tunaria-zone-map span,
.tunaria-zone-map div,
.tunaria-zone-map .center,
.tunaria-zone-map .floatnone,
.tunaria-zone-map .mw-file-description,
.tunaria-zone-map .mw-default-size {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.tunaria-zone-map p,
.tunaria-zone-map .center,
.tunaria-zone-map .floatnone,
.tunaria-zone-map .mw-file-description {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.tunaria-zone-map-image,
.tunaria-zone-map img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.tunaria-zone-list {
    columns: 4;
    column-gap: 28px;
    padding: 16px 22px;
    line-height: 1.45;
    background: rgb(17, 16, 14);
}
.tunaria-zone-list a {
    color: #f2ab31 !important;
    font-weight: 700;
    text-decoration: none;
}
.tunaria-zone-list a:hover {
    color: #ffd45a !important;
    text-decoration: underline;
}
html.eqoa-theme-light .tunaria-zone-map-panel,
html.eqoa-theme-light .tunaria-zone-list-panel,
body.eqoa-theme-light .tunaria-zone-map-panel,
body.eqoa-theme-light .tunaria-zone-list-panel {
    background: #f6f4f1;
    border: 1px solid #d8d1c7;
}
html.eqoa-theme-light .tunaria-zone-header,
body.eqoa-theme-light .tunaria-zone-header {
    background: rgb(60, 40, 27);
    color: #ffffff !important;
    border-bottom: 1px solid #d8d1c7;
}
html.eqoa-theme-light .tunaria-zone-map,
html.eqoa-theme-light .tunaria-zone-list,
body.eqoa-theme-light .tunaria-zone-map,
body.eqoa-theme-light .tunaria-zone-list {
    background: #f6f4f1;
}
html.eqoa-theme-light .tunaria-zone-list a,
body.eqoa-theme-light .tunaria-zone-list a {
    color: #4a2f1f !important;
}
@media screen and (max-width: 900px) {
    .tunaria-zone-list {
        columns: 2;
    }
}
@media screen and (max-width: 520px) {
    .tunaria-zone-list {
        columns: 1;
    }
    .tunaria-zone-header {
        font-size: 18px;
    }
}
html.eqoa-theme-dark a.new,
body.eqoa-theme-dark a.new,
html.eqoa-theme-dark a.new:visited,
body.eqoa-theme-dark a.new:visited {
    color: #e85b5b !important;
}
html.eqoa-theme-dark a.new:hover,
body.eqoa-theme-dark a.new:hover {
    color: #ff7777 !important;
}
/* GLOBAL WHITE THEME LINKS */
html.eqoa-theme-light #content a,
html.eqoa-theme-light .mw-body a,
html.eqoa-theme-light .eqoa-panel a,
html.eqoa-theme-light .zones-box a,
html.eqoa-theme-light .zone-data-table a,
html.eqoa-theme-light .quest-template a,
body.eqoa-theme-light #content a,
body.eqoa-theme-light .mw-body a {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}
html.eqoa-theme-light #content a:visited,
html.eqoa-theme-light .mw-body a:visited,
body.eqoa-theme-light #content a:visited,
body.eqoa-theme-light .mw-body a:visited {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}
html.eqoa-theme-light #content a:hover,
html.eqoa-theme-light .mw-body a:hover,
body.eqoa-theme-light #content a:hover,
body.eqoa-theme-light .mw-body a:hover {
    color: rgb(120, 73, 38) !important;
    -webkit-text-fill-color: rgb(120, 73, 38) !important;
    text-decoration: underline !important;
}
/* Missing / uncreated pages stay red in white theme */
html.eqoa-theme-light #content a.new,
html.eqoa-theme-light .mw-body a.new,
html.eqoa-theme-light a.new,
html.eqoa-theme-light a.new:visited,
body.eqoa-theme-light #content a.new,
body.eqoa-theme-light .mw-body a.new,
body.eqoa-theme-light a.new,
body.eqoa-theme-light a.new:visited {
    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;
    text-shadow: none !important;
}
html.eqoa-theme-light #content a.new:hover,
html.eqoa-theme-light .mw-body a.new:hover,
html.eqoa-theme-light a.new:hover,
body.eqoa-theme-light #content a.new:hover,
body.eqoa-theme-light .mw-body a.new:hover,
body.eqoa-theme-light a.new:hover {
    color: #d92d20 !important;
    -webkit-text-fill-color: #d92d20 !important;
    text-decoration: underline !important;
}
/* Normal non-link text in white theme */
html.eqoa-theme-light #content,
html.eqoa-theme-light .mw-body,
body.eqoa-theme-light #content,
body.eqoa-theme-light .mw-body {
    color: #111111 !important;
}
.zone-npc-filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background: rgb(29, 25, 22);
    border: 1px solid rgba(242, 171, 49, 0.35);
}
.zone-npc-search-input {
    min-width: 260px;
    background: rgb(17, 16, 14);
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.45);
    padding: 6px 8px;
}
.zone-npc-search-clear {
    background: rgb(60, 40, 27);
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.55);
    padding: 6px 10px;
    font-weight: bold;
    cursor: pointer;
}
html.eqoa-theme-light .zone-npc-filter-bar,
body.eqoa-theme-light .zone-npc-filter-bar {
    background: #f6f4f1;
    border-color: #d8d1c7;
}
html.eqoa-theme-light .zone-npc-search-input,
body.eqoa-theme-light .zone-npc-search-input {
    background: #ffffff;
    color: #2b211b;
    border-color: #d8d1c7;
}
html.eqoa-theme-light .zone-npc-search-clear,
body.eqoa-theme-light .zone-npc-search-clear {
    background: rgb(60, 40, 27);
    color: #ffffff;
    border-color: rgb(60, 40, 27);
}
/* =========================================================
  Quest Reward Item Rarity Links
  ========================================================= */
.quest-reward-items a.class-item-rarity-common,
.quest-reward-items a.class-item-rarity-common:link,
.quest-reward-items a.class-item-rarity-common:visited,
.quest-reward-items a.class-item-rarity-common:hover,
.quest-reward-items a.class-item-rarity-common:active {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45) !important;
}
.quest-reward-items a.class-item-rarity-uncommon,
.quest-reward-items a.class-item-rarity-uncommon:link,
.quest-reward-items a.class-item-rarity-uncommon:visited,
.quest-reward-items a.class-item-rarity-uncommon:hover,
.quest-reward-items a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32, 255, 69, 0.55) !important;
}
.quest-reward-items a.class-item-rarity-rare,
.quest-reward-items a.class-item-rarity-rare:link,
.quest-reward-items a.class-item-rarity-rare:visited,
.quest-reward-items a.class-item-rarity-rare:hover,
.quest-reward-items a.class-item-rarity-rare:active {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30, 136, 255, 0.65) !important;
}
.quest-reward-items a.class-item-rarity-ultra-rare,
.quest-reward-items a.class-item-rarity-ultra-rare:link,
.quest-reward-items a.class-item-rarity-ultra-rare:visited,
.quest-reward-items a.class-item-rarity-ultra-rare:hover,
.quest-reward-items a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 60, 255, 0.75) !important;
}
.quest-reward-items a.class-item-rarity-legendary,
.quest-reward-items a.class-item-rarity-legendary:link,
.quest-reward-items a.class-item-rarity-legendary:visited,
.quest-reward-items a.class-item-rarity-legendary:hover,
.quest-reward-items a.class-item-rarity-legendary:active {
    color: #ff8000 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}
.quest-reward-items a.class-item-rarity-unique,
.quest-reward-items a.class-item-rarity-unique:link,
.quest-reward-items a.class-item-rarity-unique:visited,
.quest-reward-items a.class-item-rarity-unique:hover,
.quest-reward-items a.class-item-rarity-unique:active {
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}
/* EQOA Quest Index Filters */
.eqoa-quest-filter-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}
.eqoa-quest-filter {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border: 1px solid #7a5100 !important;
    background: #1d1916 !important;
    color: #ffb000 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    user-select: none !important;
}
.eqoa-quest-filter.is-active,
.eqoa-quest-filter:hover {
    background: #3c2818 !important;
    color: #ffd45a !important;
    border-color: #b87900 !important;
}
.eqoa-quest-search {
    width: 100% !important;
    height: 34px !important;
    margin: 8px 0 14px 0 !important;
    padding: 6px 10px !important;
    border: 1px solid #7a5100 !important;
    background: #1d1916 !important;
    color: #ffd45a !important;
    box-sizing: border-box !important;
}
.eqoa-quest-panel {
    display: none;
}
.eqoa-quest-panel.is-active {
    display: block;
}
html.eqoa-theme-light .eqoa-quest-filter {
    background: #faf8f5 !important;
    color: #3c2818 !important;
    border-color: #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-quest-filter.is-active,
html.eqoa-theme-light .eqoa-quest-filter:hover {
    background: #3c281b !important;
    color: #ffffff !important;
    border-color: #3c281b !important;
}
html.eqoa-theme-light .eqoa-quest-search {
    background: #ffffff !important;
    color: #1f140c !important;
    border-color: #d4c6b6 !important;
}
/* EQOA Quest Index Expandable Sections */
.eqoa-quest-index-section {
    border: 1px solid #7a5100 !important;
    margin: 14px 0 !important;
    background: #0d0c0b !important;
}
.eqoa-quest-index-section > .eqoa-section-title {
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    padding-right: 36px !important;
}
.eqoa-quest-index-section > .eqoa-section-title::after {
    content: '+' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #ffd45a !important;
}
.eqoa-quest-index-section.is-open > .eqoa-section-title::after {
    content: '-' !important;
}
.eqoa-quest-index-section:not(.is-open) > :not(.eqoa-section-title) {
    display: none !important;
}
html.eqoa-theme-light .eqoa-quest-index-section {
    background: #faf8f5 !important;
    border-color: #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-quest-index-section > .eqoa-section-title::after {
    color: #ffffff !important;
}
/* White Theme Quest Section Headers */
html.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title,
body.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title {
    background: #3c281b !important;
    background-color: #3c281b !important;
    color: #ffffff !important;
    border-color: #3c281b !important;
}
html.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title::after,
body.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title::after {
    color: #ffffff !important;
}
.soa-home-banner-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    overflow: hidden;
}
.soa-home-banner-wrap .thumb,
.soa-home-banner-wrap .thumbinner,
.soa-home-banner-wrap .center,
.soa-home-banner-wrap .floatnone {
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    float: none !important;
}
@media (max-width: 700px) {
    #p-cactions.eqoa-mobile-page-actions-bottom {
        position: static !important;
        width: 132px !important;
        margin: 12px auto 10px auto !important;
        order: 99 !important;
    }
}
@media (max-width: 700px) {
    #column-one #sidebar-toggle,
    #column-one #p-personal-toggle,
    #column-one #globalWrapper-toggle,
    #column-one .menu-toggle,
    #column-one .mobile-close-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}
/* New Player Hub */
.eqoa-new-player-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.eqoa-new-player-hub .eqoa-page-title {
    grid-column: 1 / -1;
}
.eqoa-new-player-hub .eqoa-panel {
    margin: 0 !important;
}
.eqoa-new-player-hub .eqoa-body {
    min-height: 120px;
}
.eqoa-new-player-hub ul {
    margin: 10px 0 0 18px;
    padding: 0;
}
.eqoa-new-player-hub li {
    margin: 4px 0;
    font-weight: 800;
}
/* Dark theme */
html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-panel,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-panel {
    background: #0d0c0b !important;
    border: 1px solid #7a5100 !important;
}
html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-header,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-header {
    background: #3c281b !important;
    color: #ffb000 !important;
    border-bottom: 1px solid #7a5100 !important;
}
html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-body,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-body {
    background: #0d0c0b !important;
    color: #ffffff !important;
}
/* White theme */
html.eqoa-theme-light .eqoa-new-player-hub .eqoa-panel,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-panel {
    background: #faf8f5 !important;
    border: 1px solid #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-new-player-hub .eqoa-header,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-header {
    background: #3c281b !important;
    color: #ffffff !important;
    border-bottom: 1px solid #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-new-player-hub .eqoa-body,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-body {
    background: #faf8f5 !important;
    color: #1f140c !important;
}
html.eqoa-theme-light .eqoa-new-player-hub a,
body.eqoa-theme-light .eqoa-new-player-hub a {
    color: #8a4b00 !important;
}
@media (max-width: 700px) {
    .eqoa-new-player-hub {
        grid-template-columns: 1fr;
    }
    .eqoa-new-player-hub .eqoa-body {
        min-height: 0;
    }
}
/* White theme: Sandstorm Changes brown headers must use white text */
html.eqoa-theme-light .eqoa-changes-page .eqoa-header,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header,
html.eqoa-theme-light .eqoa-changes-page .eqoa-header *,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header *,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title *,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title *,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title a,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}
/* Sandstorm Changes Page */
.eqoa-changes-page {
    margin-top: 14px;
}
.eqoa-changes-page .eqoa-page-title {
    margin-bottom: 14px;
}
.eqoa-changes-page .eqoa-panel {
    margin: 0 0 14px 0 !important;
}
.eqoa-changes-page .eqoa-body {
    padding: 12px !important;
}
.eqoa-changes-toc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.eqoa-changes-toc-grid > div {
    border: 1px solid #7a5100;
    background: #1d1916;
    padding: 10px;
    text-align: center;
    font-weight: 900;
}
.eqoa-changes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.eqoa-change-box {
    border: 1px solid #7a5100;
    background: #0d0c0b;
    min-height: 92px;
}
.eqoa-change-title {
    background: #3c281b;
    color: #ffb000;
    border-bottom: 1px solid #7a5100;
    padding: 8px 10px;
    font-weight: 900;
    text-align: center;
}
.eqoa-change-title a {
    color: inherit !important;
}
.eqoa-change-body {
    padding: 10px;
    color: #ffffff;
}
/* White theme */
html.eqoa-theme-light .eqoa-changes-page .eqoa-panel,
body.eqoa-theme-light .eqoa-changes-page .eqoa-panel {
    background: #faf8f5 !important;
    border: 1px solid #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-changes-page .eqoa-header,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header,
html.eqoa-theme-light .eqoa-change-title,
body.eqoa-theme-light .eqoa-change-title {
    background: #3c281b !important;
    color: #ffffff !important;
    border-bottom: 1px solid #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-changes-page .eqoa-body,
body.eqoa-theme-light .eqoa-changes-page .eqoa-body {
    background: #faf8f5 !important;
    color: #1f140c !important;
}
html.eqoa-theme-light .eqoa-change-box,
body.eqoa-theme-light .eqoa-change-box,
html.eqoa-theme-light .eqoa-changes-toc-grid > div,
body.eqoa-theme-light .eqoa-changes-toc-grid > div {
    background: #ffffff !important;
    border: 1px solid #d4c6b6 !important;
}
html.eqoa-theme-light .eqoa-change-body,
body.eqoa-theme-light .eqoa-change-body {
    color: #1f140c !important;
}
html.eqoa-theme-light .eqoa-changes-page a,
body.eqoa-theme-light .eqoa-changes-page a {
    color: #8a4b00 !important;
}
html.eqoa-theme-light .eqoa-change-title a,
body.eqoa-theme-light .eqoa-change-title a {
    color: #ffffff !important;
}
@media (max-width: 900px) {
    .eqoa-changes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .eqoa-changes-toc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .eqoa-changes-grid,
    .eqoa-changes-toc-grid {
        grid-template-columns: 1fr;
    }
}
/* Zone tabs must only show the active panel */
.eqoa-zone-tab-panel {
    display: none !important;
}
.eqoa-zone-tab-panel.is-active {
    display: block !important;
}
/* White theme zone Related tabs */
html.eqoa-theme-light .eqoa-zone-tabs,
body.eqoa-theme-light .eqoa-zone-tabs {
    background: rgb(246, 244, 241) !important;
    border: 1px solid rgb(224, 218, 210) !important;
    color: #111111 !important;
}
html.eqoa-theme-light .eqoa-zone-tabs-title,
body.eqoa-theme-light .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light .eqoa-zone-tab-buttons,
body.eqoa-theme-light .eqoa-zone-tab-buttons {
    display: flex !important;
    width: 100% !important;
    background: rgb(246, 244, 241) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}
html.eqoa-theme-light .eqoa-zone-tab-button,
body.eqoa-theme-light .eqoa-zone-tab-button {
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1px solid rgb(224, 218, 210) !important;
    border-bottom: 0 !important;
}
html.eqoa-theme-light .eqoa-zone-tab-button.is-active,
body.eqoa-theme-light .eqoa-zone-tab-button.is-active {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light .eqoa-zone-tab-panel,
body.eqoa-theme-light .eqoa-zone-tab-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    padding: 12px !important;
}
/* WHITE THEME: GLOBAL UI TOOLTIP TEXT FIX */
html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip,
html.eqoa-theme-light .eqoa-item-tooltip,
body.eqoa-theme-light .eqoa-item-tooltip,
html.eqoa-theme-light .eqoa-spell-tooltip,
body.eqoa-theme-light .eqoa-spell-tooltip,
html.eqoa-theme-light .cb-item-tooltip,
body.eqoa-theme-light .cb-item-tooltip,
html.eqoa-theme-light .cb-tooltip,
body.eqoa-theme-light .cb-tooltip,
html.eqoa-theme-light .character-builder-tooltip,
body.eqoa-theme-light .character-builder-tooltip,
html.eqoa-theme-light #class-item-tooltip,
body.eqoa-theme-light #class-item-tooltip,
html.eqoa-theme-light #cb-item-tooltip,
body.eqoa-theme-light #cb-item-tooltip {
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border-color: rgb(107, 84, 48) !important;
}
/* Tooltip titles: brown in white theme unless rarity JS overrides it */
html.eqoa-theme-light .class-item-tooltip-title,
body.eqoa-theme-light .class-item-tooltip-title,
html.eqoa-theme-light .eqoa-item-tooltip-title,
body.eqoa-theme-light .eqoa-item-tooltip-title,
html.eqoa-theme-light .cb-item-tooltip-title,
body.eqoa-theme-light .cb-item-tooltip-title,
html.eqoa-theme-light .cb-tooltip-title,
body.eqoa-theme-light .cb-tooltip-title,
html.eqoa-theme-light .character-builder-tooltip-title,
body.eqoa-theme-light .character-builder-tooltip-title {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}
/* Generic readable tooltip text in white theme */
html.eqoa-theme-light .class-item-tooltip div,
body.eqoa-theme-light .class-item-tooltip div,
html.eqoa-theme-light .eqoa-item-tooltip div,
body.eqoa-theme-light .eqoa-item-tooltip div,
html.eqoa-theme-light .cb-item-tooltip div,
body.eqoa-theme-light .cb-item-tooltip div,
html.eqoa-theme-light .cb-tooltip div,
body.eqoa-theme-light .cb-tooltip div,
html.eqoa-theme-light .character-builder-tooltip div,
body.eqoa-theme-light .character-builder-tooltip div {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}
/* Keep tooltip label text gold */
html.eqoa-theme-light .class-item-tooltip b,
body.eqoa-theme-light .class-item-tooltip b,
html.eqoa-theme-light .eqoa-item-tooltip b,
body.eqoa-theme-light .eqoa-item-tooltip b,
html.eqoa-theme-light .cb-item-tooltip b,
body.eqoa-theme-light .cb-item-tooltip b,
html.eqoa-theme-light .cb-tooltip b,
body.eqoa-theme-light .cb-tooltip b {
    color: #b36b00 !important;
    -webkit-text-fill-color: #b36b00 !important;
}
/* WHITE THEME: CHARACTER BUILDER ITEM LIST RARITY COLORS */
html.eqoa-theme-light .cb-picker-item,
body.eqoa-theme-light .cb-picker-item {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-common,
body.eqoa-theme-light .cb-picker-item .cb-rarity-common {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-uncommon,
body.eqoa-theme-light .cb-picker-item .cb-rarity-uncommon {
    color: #008f2f !important;
    -webkit-text-fill-color: #008f2f !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-rare,
body.eqoa-theme-light .cb-picker-item .cb-rarity-rare {
    color: #005fcc !important;
    -webkit-text-fill-color: #005fcc !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-ultra-rare,
body.eqoa-theme-light .cb-picker-item .cb-rarity-ultra-rare {
    color: #b000b8 !important;
    -webkit-text-fill-color: #b000b8 !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-legendary,
body.eqoa-theme-light .cb-picker-item .cb-rarity-legendary {
    color: #a85f00 !important;
    -webkit-text-fill-color: #a85f00 !important;
}
html.eqoa-theme-light .cb-picker-item .cb-rarity-unique,
body.eqoa-theme-light .cb-picker-item .cb-rarity-unique {
    color: #8b1a1a !important;
    -webkit-text-fill-color: #8b1a1a !important;
}
html.eqoa-theme-light .cb-picker-item .cb-item-page-link,
body.eqoa-theme-light .cb-picker-item .cb-item-page-link {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}
/* WHITE THEME: NORMAL PAGE LINKS */
html.eqoa-theme-light #bodyContent a:not(.new):not(.class-item-tooltip-link):not([class*="rarity"]),
body.eqoa-theme-light #bodyContent a:not(.new):not(.class-item-tooltip-link):not([class*="rarity"]) {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}
html.eqoa-theme-light #bodyContent a.new,
body.eqoa-theme-light #bodyContent a.new,
html.eqoa-theme-light #bodyContent a.new:visited,
body.eqoa-theme-light #bodyContent a.new:visited {
    color: #d92d20 !important;
    -webkit-text-fill-color: #d92d20 !important;
}
/* WHITE THEME: BROWN HEADER TEXT */
html.eqoa-theme-light .eqoa-header,
html.eqoa-theme-light .eqoa-page-title,
html.eqoa-theme-light .eqoa-section-title,
html.eqoa-theme-light .eqoa-zone-tabs-title,
html.eqoa-theme-light .quest-header,
html.eqoa-theme-light .zones-header,
html.eqoa-theme-light .zone-info-title,
html.eqoa-theme-light .npcname-header,
html.eqoa-theme-light .spell-list__title,
html.eqoa-theme-light .raid-list__title,
html.eqoa-theme-light .raid-list__section-title,
html.eqoa-theme-light .eqoa-change-section-title,
html.eqoa-theme-light .eqoa-change-card-title,
html.eqoa-theme-light .sandstorm-change-card-title,
body.eqoa-theme-light .eqoa-header,
body.eqoa-theme-light .eqoa-page-title,
body.eqoa-theme-light .eqoa-section-title,
body.eqoa-theme-light .eqoa-zone-tabs-title,
body.eqoa-theme-light .quest-header,
body.eqoa-theme-light .zones-header,
body.eqoa-theme-light .zone-info-title,
body.eqoa-theme-light .npcname-header,
body.eqoa-theme-light .spell-list__title,
body.eqoa-theme-light .raid-list__title,
body.eqoa-theme-light .raid-list__section-title,
body.eqoa-theme-light .eqoa-change-section-title,
body.eqoa-theme-light .eqoa-change-card-title,
body.eqoa-theme-light .sandstorm-change-card-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* WHITE THEME: COMPLETED LINKS INSIDE BROWN HEADERS */
html.eqoa-theme-light .eqoa-header a:not(.new),
html.eqoa-theme-light .eqoa-page-title a:not(.new),
html.eqoa-theme-light .eqoa-section-title a:not(.new),
html.eqoa-theme-light .eqoa-zone-tabs-title a:not(.new),
html.eqoa-theme-light .quest-header a:not(.new),
html.eqoa-theme-light .zones-header a:not(.new),
html.eqoa-theme-light .zone-info-title a:not(.new),
html.eqoa-theme-light .npcname-header a:not(.new),
html.eqoa-theme-light .spell-list__title a:not(.new),
html.eqoa-theme-light .raid-list__title a:not(.new),
html.eqoa-theme-light .raid-list__section-title a:not(.new),
html.eqoa-theme-light .eqoa-change-card-title a:not(.new),
body.eqoa-theme-light .eqoa-header a:not(.new),
body.eqoa-theme-light .eqoa-page-title a:not(.new),
body.eqoa-theme-light .eqoa-section-title a:not(.new),
body.eqoa-theme-light .eqoa-zone-tabs-title a:not(.new),
body.eqoa-theme-light .quest-header a:not(.new),
body.eqoa-theme-light .zones-header a:not(.new),
body.eqoa-theme-light .zone-info-title a:not(.new),
body.eqoa-theme-light .npcname-header a:not(.new),
body.eqoa-theme-light .spell-list__title a:not(.new),
body.eqoa-theme-light .raid-list__title a:not(.new),
body.eqoa-theme-light .raid-list__section-title a:not(.new),
body.eqoa-theme-light .eqoa-change-card-title a:not(.new) {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* WHITE THEME: UNBUILT LINKS INSIDE BROWN HEADERS */
html.eqoa-theme-light .eqoa-header a.new,
html.eqoa-theme-light .eqoa-page-title a.new,
html.eqoa-theme-light .eqoa-section-title a.new,
html.eqoa-theme-light .eqoa-zone-tabs-title a.new,
html.eqoa-theme-light .quest-header a.new,
html.eqoa-theme-light .zones-header a.new,
html.eqoa-theme-light .zone-info-title a.new,
html.eqoa-theme-light .npcname-header a.new,
html.eqoa-theme-light .spell-list__title a.new,
html.eqoa-theme-light .raid-list__title a.new,
html.eqoa-theme-light .raid-list__section-title a.new,
html.eqoa-theme-light .eqoa-change-card-title a.new,
body.eqoa-theme-light .eqoa-header a.new,
body.eqoa-theme-light .eqoa-page-title a.new,
body.eqoa-theme-light .eqoa-section-title a.new,
body.eqoa-theme-light .eqoa-zone-tabs-title a.new,
body.eqoa-theme-light .quest-header a.new,
body.eqoa-theme-light .zones-header a.new,
body.eqoa-theme-light .zone-info-title a.new,
body.eqoa-theme-light .npcname-header a.new,
body.eqoa-theme-light .spell-list__title a.new,
body.eqoa-theme-light .raid-list__title a.new,
body.eqoa-theme-light .raid-list__section-title a.new,
body.eqoa-theme-light .eqoa-change-card-title a.new {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}
/* WHITE THEME: SANDSTORM CHANGES CARD HEADER LINKS */
html.eqoa-theme-light #bodyContent .eqoa-change-title,
body.eqoa-theme-light #bodyContent .eqoa-change-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new):visited,
body.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}
html.eqoa-theme-light #bodyContent .eqoa-change-title a.new,
body.eqoa-theme-light #bodyContent .eqoa-change-title a.new,
html.eqoa-theme-light #bodyContent .eqoa-change-title a.new:visited,
body.eqoa-theme-light #bodyContent .eqoa-change-title a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
    text-shadow: none !important;
}
/* WHITE THEME: ZONE PAGE HEADER LOCK */
html.eqoa-theme-light #bodyContent .zones-header,
body.eqoa-theme-light #bodyContent .zones-header,
html.eqoa-theme-light #bodyContent .zone-details-header,
body.eqoa-theme-light #bodyContent .zone-details-header,
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title,
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}
/* WHITE THEME: LINKS INSIDE THOSE ZONE HEADERS */
html.eqoa-theme-light #bodyContent .zones-header a:not(.new),
body.eqoa-theme-light #bodyContent .zones-header a:not(.new),
html.eqoa-theme-light #bodyContent .zone-details-header a:not(.new),
body.eqoa-theme-light #bodyContent .zone-details-header a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a:not(.new) {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* WHITE THEME: REDLINKS INSIDE THOSE ZONE HEADERS */
html.eqoa-theme-light #bodyContent .zones-header a.new,
body.eqoa-theme-light #bodyContent .zones-header a.new,
html.eqoa-theme-light #bodyContent .zone-details-header a.new,
body.eqoa-theme-light #bodyContent .zone-details-header a.new,
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a.new,
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a.new {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}
/* WHITE THEME: EQOA HEADER LOCK */
html.eqoa-theme-light #bodyContent .eqoa-header,
body.eqoa-theme-light #bodyContent .eqoa-header {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}
html.eqoa-theme-light #bodyContent .eqoa-header a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-header a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-header a:not(.new):visited,
body.eqoa-theme-light #bodyContent .eqoa-header a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light #bodyContent .eqoa-header a.new,
body.eqoa-theme-light #bodyContent .eqoa-header a.new,
html.eqoa-theme-light #bodyContent .eqoa-header a.new:visited,
body.eqoa-theme-light #bodyContent .eqoa-header a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}
/* WHITE THEME: TABLE CAPTION HEADER LOCK */
html.eqoa-theme-light #bodyContent table caption,
body.eqoa-theme-light #bodyContent table caption,
html.eqoa-theme-light #bodyContent caption,
body.eqoa-theme-light #bodyContent caption {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}
/* WHITE THEME: CAPTION COLLAPSE / EXPAND BUTTON */
html.eqoa-theme-light #bodyContent caption .mw-collapsible-toggle,
body.eqoa-theme-light #bodyContent caption .mw-collapsible-toggle,
html.eqoa-theme-light #bodyContent caption .mw-collapsible-text,
body.eqoa-theme-light #bodyContent caption .mw-collapsible-text {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* WHITE THEME: LINKS INSIDE CAPTION HEADERS */
html.eqoa-theme-light #bodyContent caption a:not(.new),
body.eqoa-theme-light #bodyContent caption a:not(.new),
html.eqoa-theme-light #bodyContent caption a:not(.new):visited,
body.eqoa-theme-light #bodyContent caption a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* WHITE THEME: REDLINKS INSIDE CAPTION HEADERS */
html.eqoa-theme-light #bodyContent caption a.new,
body.eqoa-theme-light #bodyContent caption a.new,
html.eqoa-theme-light #bodyContent caption a.new:visited,
body.eqoa-theme-light #bodyContent caption a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}
/* SANDSTORM CHANGES: HEADER CLICK COLLAPSE STYLE */
.eqoa-changes-page .eqoa-changes-section > .eqoa-header {
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
}
.eqoa-changes-page .eqoa-changes-section > .eqoa-header .mw-collapsible-toggle {
    display: none !important;
}
.eqoa-changes-page .eqoa-change-header-plus {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    color: #ffb000 !important;
    -webkit-text-fill-color: #ffb000 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-shadow: none !important;
    pointer-events: none !important;
}
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-header-plus,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-header-plus {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}
/* SANDSTORM CHANGES: HIDE DEFAULT MEDIAWIKI EXPAND TEXT IN BOTH THEMES */
html.eqoa-theme-light .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
body.eqoa-theme-light .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
html.eqoa-theme-dark .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
body.eqoa-theme-dark .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
.eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
/* MOBILE FIX: Level Hunting Guide EXP camp tables - keep collapsible working */
@media screen and (max-width: 700px) {
    table.exp-camp-table,
    html.eqoa-theme-dark table.exp-camp-table,
    html.eqoa-theme-light table.exp-camp-table,
    body.eqoa-theme-dark table.exp-camp-table,
    body.eqoa-theme-light table.exp-camp-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }
    table.exp-camp-table caption {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        caption-side: top !important;
        padding: 10px 12px !important;
        margin: 18px 0 0 0 !important;
        text-align: center !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        background: rgb(60, 40, 27) !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
        border: 1px solid #8a5a00 !important;
    }
    table.exp-camp-table caption .mw-collapsible-toggle {
        float: none !important;
        display: inline-block !important;
        margin-left: 8px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
    }
    table.exp-camp-table:not(.mw-collapsed) tr {
    display: table-row !important;
}
table.exp-camp-table.mw-collapsed tr {
    display: none !important;
}
    table.exp-camp-table th,
    table.exp-camp-table td {
        display: table-cell !important;
        width: auto !important;
        min-width: 90px !important;
        max-width: none !important;
        padding: 6px 8px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        vertical-align: middle !important;
        box-sizing: border-box !important;
    }
    table.exp-camp-table th {
        font-size: 15px !important;
        text-align: center !important;
        background: rgb(60, 40, 27) !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
    }
    table.exp-camp-table th:nth-child(1),
    table.exp-camp-table td:nth-child(1) {
        min-width: 60px !important;
        text-align: center !important;
    }
    table.exp-camp-table th:nth-child(2),
    table.exp-camp-table td:nth-child(2) {
        min-width: 110px !important;
    }
    table.exp-camp-table th:nth-child(3),
    table.exp-camp-table td:nth-child(3) {
        min-width: 140px !important;
    }
    table.exp-camp-table th:nth-child(4),
    table.exp-camp-table td:nth-child(4) {
        min-width: 170px !important;
    }
    table.exp-camp-table th:nth-child(5),
    table.exp-camp-table td:nth-child(5) {
        min-width: 140px !important;
    }
    html.eqoa-theme-light table.exp-camp-table td,
    body.eqoa-theme-light table.exp-camp-table td {
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
    }
}
/* EXP CAMP TABLE: header click + / - collapse icon */
table.exp-camp-table caption {
    position: relative !important;
    padding-right: 42px !important;
    cursor: pointer !important;
}
table.exp-camp-table caption .mw-collapsible-toggle,
html.eqoa-theme-dark table.exp-camp-table caption .mw-collapsible-toggle,
html.eqoa-theme-light table.exp-camp-table caption .mw-collapsible-toggle,
body.eqoa-theme-dark table.exp-camp-table caption .mw-collapsible-toggle,
body.eqoa-theme-light table.exp-camp-table caption .mw-collapsible-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffb000 !important;
    -webkit-text-fill-color: #ffb000 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
table.exp-camp-table caption .mw-collapsible-text,
table.exp-camp-table caption .mw-collapsible-bracket {
    display: none !important;
}
table.exp-camp-table caption {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* NPCFriendly Template */
.eqoa-friendly-npc-page {
    width: 100%;
    box-sizing: border-box;
}
.eqoa-friendly-npc-top {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
    gap: 12px;
    align-items: start;
}
.eqoa-friendly-npc-page .eqoa-panel {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 0 0 12px 0;
}
.eqoa-friendly-npc-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    padding: 8px 10px;
}
.eqoa-friendly-npc-page .eqoa-body {
    padding: 10px;
    color: #ffffff;
}
.eqoa-friendly-npc-info-table {
    width: 100%;
    border-collapse: collapse;
}
.eqoa-friendly-npc-info-table th,
.eqoa-friendly-npc-info-table td {
    border: 1px solid #3a2f25;
    padding: 8px 10px;
    vertical-align: top;
}
.eqoa-friendly-npc-info-table th {
    width: 34%;
    background: rgb(29, 25, 22);
    color: #ffb000;
    text-align: left;
}
.eqoa-friendly-npc-image-body {
    text-align: center;
}
.eqoa-friendly-npc-image {
    max-width: 100%;
    height: auto;
}
.eqoa-friendly-npc-caption {
    margin-top: 8px;
    color: #ffb000;
    font-weight: 700;
    text-align: center;
}
.eqoa-friendly-npc-page a {
    color: #ffb000;
    font-weight: 700;
}
.eqoa-friendly-npc-page a.new {
    color: #ff3b30 !important;
}
/* Light Theme */
html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-panel {
    background: #ffffff;
    border-color: #e0dad2;
}
html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}
html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-body {
    color: #111111;
}
html.eqoa-theme-light .eqoa-friendly-npc-info-table th,
html.eqoa-theme-light .eqoa-friendly-npc-info-table td {
    border-color: #e0dad2;
}
html.eqoa-theme-light .eqoa-friendly-npc-info-table th {
    background: #f6f4f1;
    color: rgb(60, 40, 27);
}
html.eqoa-theme-light .eqoa-friendly-npc-page a:not(.new) {
    color: rgb(74, 47, 31) !important;
}
html.eqoa-theme-light .eqoa-friendly-npc-page a.new {
    color: #cc1f1f !important;
}
/* Mobile */
@media screen and (max-width: 700px) {
    .eqoa-friendly-npc-top {
        display: block;
    }
    .eqoa-friendly-npc-page .eqoa-panel {
        margin-bottom: 10px;
    }
    .eqoa-friendly-npc-info-table th,
    .eqoa-friendly-npc-info-table td {
        padding: 7px 8px;
        font-size: 13px;
    }
    .eqoa-friendly-npc-info-table th {
        width: 38%;
    }
    .eqoa-friendly-npc-image {
        width: 100%;
        max-width: 320px;
    }
}
/* Template:NPCMerchant */
.eqoa-merchant-page,
.eqoa-merchant-page * {
    box-sizing: border-box;
}
.eqoa-merchant-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 12px;
    align-items: start;
}
.eqoa-merchant-page .eqoa-panel {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 0 0 12px 0;
    overflow: hidden;
}
.eqoa-merchant-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    padding: 8px 10px;
}
.eqoa-merchant-page .eqoa-body {
    background: rgb(17, 16, 14);
    color: #ffffff;
    padding: 10px;
}
.eqoa-merchant-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.eqoa-merchant-info-table th,
.eqoa-merchant-info-table td {
    border: 1px solid #3a2f25;
    padding: 8px 10px;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.eqoa-merchant-info-table th {
    width: 32%;
    background: rgb(29, 25, 22);
    color: #ffb000;
    text-align: left;
    font-weight: 800;
}
.eqoa-merchant-image-body {
    text-align: center;
}
.eqoa-merchant-image,
.eqoa-merchant-image-body img {
    max-width: 100%;
    height: auto;
}
.eqoa-merchant-caption {
    margin-top: 8px;
    color: #ffb000;
    font-weight: 800;
    text-align: center;
}
.eqoa-merchant-sells ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
}
.eqoa-merchant-sells li {
    margin: 0px 0;
}
.eqoa-merchant-page a:not(.new) {
    color: #ffb000;
    font-weight: 700;
}
.eqoa-merchant-page a.new {
    color: #ff3b30 !important;
}
/* Template:NPCMerchant light theme */
html.eqoa-theme-light .eqoa-merchant-page .eqoa-panel {
    background: #ffffff;
    border-color: #e0dad2;
}
html.eqoa-theme-light .eqoa-merchant-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}
html.eqoa-theme-light .eqoa-merchant-page .eqoa-body {
    background: #ffffff;
    color: #111111;
}
html.eqoa-theme-light .eqoa-merchant-info-table th,
html.eqoa-theme-light .eqoa-merchant-info-table td {
    border-color: #e0dad2;
}
html.eqoa-theme-light .eqoa-merchant-info-table th {
    background: #f6f4f1;
    color: rgb(60, 40, 27);
}
html.eqoa-theme-light .eqoa-merchant-page a:not(.new) {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}
html.eqoa-theme-light .eqoa-merchant-page a.new {
    color: #cc1f1f !important;
    -webkit-text-fill-color: #cc1f1f !important;
}
/* Template:NPCMerchant mobile */
@media screen and (max-width: 700px) {
    .eqoa-merchant-top {
        display: block;
    }
    .eqoa-merchant-info-table th,
    .eqoa-merchant-info-table td {
        padding: 7px 8px;
        font-size: 13px;
    }
    .eqoa-merchant-info-table th {
        width: 38%;
    }
    .eqoa-merchant-image,
    .eqoa-merchant-image-body img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
}
/* Template Library Page */
.eqoa-template-library {
    display: block;
    width: 100%;
}
.eqoa-template-card {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 12px 0;
    padding: 10px;
}
.eqoa-template-title {
    color: #ffb000;
    font-weight: 800;
    margin-bottom: 8px;
}
.eqoa-template-copy-button {
    background: rgb(60, 40, 27);
    color: #ffffff;
    border: 1px solid #b8860b;
    padding: 6px 14px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 8px;
}
.eqoa-template-code {
    white-space: pre-wrap;
    background: #0f0f0f;
    color: #ffffff;
    border: 1px solid #3a2f25;
    padding: 10px;
    margin: 0;
    overflow-x: auto;
}
html.eqoa-theme-light .eqoa-template-card {
    background: #ffffff;
    border-color: #e0dad2;
}
html.eqoa-theme-light .eqoa-template-title {
    color: rgb(74, 47, 31);
}
html.eqoa-theme-light .eqoa-template-code {
    background: #f6f4f1;
    color: #111111;
    border-color: #e0dad2;
}
/* Play-Nice Policy page */
.policy-page {
    border: 1px solid #8a5a00;
    background: #11100e;
    color: #f5f0e6;
    padding: 18px;
    box-sizing: border-box;
}
.policy-hero {
    background: rgb(60, 40, 27);
    border: 1px solid #8a5a00;
    padding: 18px 14px;
    text-align: center;
    margin-bottom: 16px;
}
.policy-title {
    color: #ffb000;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
}
.policy-subtitle {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
}
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.policy-rule {
    border: 1px solid #5f430d;
    background: rgb(29, 25, 22);
}
.policy-rule-title {
    background: rgb(60, 40, 27);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 9px 12px;
    border-bottom: 1px solid #8a5a00;
}
.policy-rule-body {
    color: #f5f0e6;
    font-size: 14px;
    line-height: 1.45;
    padding: 11px 12px;
}
.policy-warning {
    margin-top: 16px;
    border: 1px solid #b30;
    background: #1d1410;
    padding: 14px 18px;
}
.policy-warning-title {
    color: #ffb000;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}
.policy-warning ul {
    margin: 8px 0 0 22px;
}
.policy-warning li {
    margin: 4px 0;
}
/* White theme */
html.eqoa-theme-light .policy-page {
    background: #f6f4f1;
    color: #111;
    border-color: #d8c8b8;
}
html.eqoa-theme-light .policy-hero,
html.eqoa-theme-light .policy-rule-title {
    background: rgb(60, 40, 27);
    color: #fff !important;
}
html.eqoa-theme-light .policy-rule {
    background: #fff;
    border-color: #d8c8b8;
}
html.eqoa-theme-light .policy-rule-body {
    color: #111;
}
html.eqoa-theme-light .policy-warning {
    background: #fff7f2;
    color: #111;
    border-color: #b30;
}
/* Play-Nice Policy agreement notice */
.policy-agreement {
    margin: 0 0 16px 0;
    padding: 12px 14px;
    border: 1px solid #8a5a00;
    background: rgb(60, 40, 27);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    line-height: 1.4;
}
html.eqoa-theme-light .policy-agreement {
    background: rgb(60, 40, 27);
    color: #fff !important;
    border-color: #d8c8b8;
}
/* Mobile */
@media (max-width: 700px) {
    .policy-page {
        padding: 10px;
    }
    .policy-grid {
        grid-template-columns: 1fr;
    }
    .policy-title {
        font-size: 24px;
    }
    .policy-rule-title {
        font-size: 16px;
    }
}
/* ===== Zone Related Tabs: locked active panel behavior ===== */
.eqoa-zone-tabs .eqoa-zone-tab-panel {
    display: none !important;
}
.eqoa-zone-tabs .eqoa-zone-tab-panel.is-active {
    display: block !important;
}
.eqoa-zone-tabs .eqoa-zone-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.eqoa-zone-tabs .eqoa-zone-tab-button {
    cursor: pointer !important;
}
.eqoa-zone-tabs .eqoa-zone-tabs-body {
    width: 100% !important;
    box-sizing: border-box !important;
}
.eqoa-zone-tabs .eqoa-zone-tab-panel > * {
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Center Drops column content in Zone NPC tab */
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops,
.eqoa-zone-tabs .zone-monster-table th.zone-monster-drops {
    text-align: center !important;
    vertical-align: middle !important;
}
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops a,
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops span,
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops div {
    text-align: center !important;
}
/* ===========================
  ItemPageMisc
  Trash / quest / misc items
  =========================== */
.eqoa-misc-item-page {
    width: 100%;
    box-sizing: border-box;
}
.eqoa-misc-inspect-box {
    width: min(1120px, 96vw);
    min-height: 250px;
    margin: 18px auto 28px auto;
    padding: 26px 32px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.72) !important;
    border: 2px solid rgba(220, 220, 220, 0.75) !important;
    box-shadow:
        inset 0 0 45px rgba(255, 255, 255, 0.05),
        inset 0 0 110px rgba(0, 0, 0, 0.95),
        0 0 18px rgba(0, 0, 0, 0.95) !important;
    color: #ffffff !important;
    text-shadow: 3px 3px 2px #000000;
}
.eqoa-misc-inspect-box * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.eqoa-misc-inspect-name {
    margin: 0 0 34px 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}
.eqoa-misc-inspect-flags {
    display: block !important;
    margin: 0 0 4px 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    white-space: normal;
}
.eqoa-misc-inspect-desc {
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}
.eqoa-misc-section {
    max-width: 1100px;
    margin: 18px auto;
    border: 1px solid #805200;
    background: rgb(29, 25, 22) !important;
    box-sizing: border-box;
}
.eqoa-misc-section-header {
    padding: 10px 14px;
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #805200;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.eqoa-misc-section-body {
    min-height: 56px;
    padding: 22px 16px;
    background: rgb(29, 25, 22) !important;
    color: #f5efe5 !important;
    font-size: 18px;
    line-height: 1.45;
    box-sizing: border-box;
}
.eqoa-misc-section-body a:not(.new) {
    color: #f0b400 !important;
    font-weight: 700;
}
.eqoa-misc-section-body a.new {
    color: #ff3b30 !important;
    font-weight: 700;
}
.eqoa-misc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
}
.eqoa-misc-two-col .eqoa-misc-section {
    width: 100%;
    margin: 0;
}
/* White theme */
html.eqoa-theme-light .eqoa-misc-inspect-box {
    background: rgba(0, 0, 0, 0.72) !important;
    border: 2px solid rgba(220, 220, 220, 0.75) !important;
    color: #ffffff !important;
}
html.eqoa-theme-light .eqoa-misc-inspect-name,
html.eqoa-theme-light .eqoa-misc-inspect-flags,
html.eqoa-theme-light .eqoa-misc-inspect-desc {
    color: #ffffff !important;
}
html.eqoa-theme-light .eqoa-misc-section {
    border-color: rgb(224, 218, 210);
    background: rgb(250, 248, 245) !important;
}
html.eqoa-theme-light .eqoa-misc-section-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}
html.eqoa-theme-light .eqoa-misc-section-body {
    background: rgb(250, 248, 245) !important;
    color: #111111 !important;
}
html.eqoa-theme-light .eqoa-misc-section-body a:not(.new) {
    color: rgb(74, 47, 31) !important;
}
html.eqoa-theme-light .eqoa-misc-section-body a.new {
    color: #d10000 !important;
}
/* Mobile */
@media screen and (max-width: 700px) {
    .eqoa-misc-inspect-box {
        width: 100%;
        min-height: 190px;
        margin: 12px 0 18px 0;
        padding: 18px 20px;
    }
    .eqoa-misc-inspect-name {
        font-size: 24px;
        margin-bottom: 22px;
    }
    .eqoa-misc-inspect-flags,
    .eqoa-misc-inspect-desc {
        font-size: 21px;
        line-height: 1.15;
    }
    .eqoa-misc-two-col {
        display: block;
    }
    .eqoa-misc-two-col .eqoa-misc-section {
        margin: 18px 0;
    }
    .eqoa-misc-section-body {
        font-size: 16px;
        padding: 16px 12px;
    }
}
.eqoa-misc-inspect-flags {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 18px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
.eqoa-misc-inspect-flags span {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
/* MOBILE: KEEP TOP BAR FROM COVERING PAGE TITLE */
@media screen and (max-width: 700px) {
    body #globalWrapper {
        padding-top: 25px !important;
        box-sizing: border-box !important;
    }
    body #content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    body #firstHeading,
    body .firstHeading,
    body h1.firstHeading {
        margin-top: 0 !important;
        padding-top: 8px !important;
        position: relative !important;
        z-index: 1 !important;
    }
    body #eqoa-topbar {
        z-index: 2147483000 !important;
    }
}
/* =========================================================
  Zone Page: equal-height Zone Information, no visual restyle
  ========================================================= */
:root {
  --eqoa-zone-info-font-family: inherit;
  --eqoa-zone-info-font-size: 14px;
  --eqoa-zone-info-line-height: 1.35;
  --eqoa-zone-info-font-weight: 700;
  --eqoa-zone-info-header-font-size: 20px;
  --eqoa-zone-info-header-font-weight: 800;
}
@media (min-width: 901px) {
  .zone-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .zone-page-layout > .zone-left,
  .zone-page-layout > .zone-right {
    min-width: 0 !important;
  }
  .zone-page-layout > .zone-right {
    display: flex !important;
    align-self: stretch !important;
    height: 100% !important;
  }
  .zone-page-layout > .zone-right > * {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }
  .zone-page-layout > .zone-right table {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
.zone-page-layout > .zone-right,
.zone-page-layout > .zone-right table,
.zone-page-layout > .zone-right th,
.zone-page-layout > .zone-right td {
  font-family: var(--eqoa-zone-info-font-family) !important;
  font-size: var(--eqoa-zone-info-font-size) !important;
  line-height: var(--eqoa-zone-info-line-height) !important;
}
.zone-page-layout > .zone-right th,
.zone-page-layout > .zone-right td {
  font-weight: var(--eqoa-zone-info-font-weight) !important;
}
.zone-page-layout > .zone-right .eqoa-header,
.zone-page-layout > .zone-right .zones-header,
.zone-page-layout > .zone-right .zone-details-header,
.zone-page-layout > .zone-right caption {
  font-family: var(--eqoa-zone-info-font-family) !important;
  font-size: var(--eqoa-zone-info-header-font-size) !important;
  font-weight: var(--eqoa-zone-info-header-font-weight) !important;
  line-height: 1.2 !important;
}
@media (max-width: 900px) {
  .zone-page-layout {
    display: block !important;
  }
  .zone-page-layout > .zone-left,
  .zone-page-layout > .zone-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .zone-page-layout > .zone-right {
    display: block !important;
    height: auto !important;
    margin-top: 12px !important;
  }
  .zone-page-layout > .zone-right > *,
  .zone-page-layout > .zone-right table {
    height: auto !important;
    min-height: 0 !important;
  }
  .zone-page-layout > .zone-right,
  .zone-page-layout > .zone-right table,
  .zone-page-layout > .zone-right th,
  .zone-page-layout > .zone-right td {
    font-size: 15px !important;
  }
  .zone-page-layout > .zone-right .eqoa-header,
  .zone-page-layout > .zone-right .zones-header,
  .zone-page-layout > .zone-right .zone-details-header,
  .zone-page-layout > .zone-right caption {
    font-size: 18px !important;
  }
}
/* Zone Information: keep Unique NPCs / Connections label cells matching other label cells */
.zone-page-layout .zone-right td:has(> b:first-child):has(> b:only-child) {
  background: rgb(29, 25, 22) !important;
}
.eqoa-zone-screenshots {
  background: rgb(17, 16, 14) !important;
  border: 1px solid #9a6500 !important;
  color: #fff !important;
  padding: 14px !important;
  margin: 20px 0 !important;
}
.eqoa-zone-screenshots-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}
.eqoa-zone-screenshots-title {
  color: #ffae00 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}
.eqoa-zone-screenshots-subtitle,
.eqoa-zone-screenshots-count {
  color: #fff !important;
}
.eqoa-zone-screenshots-count {
  margin-top: 4px !important;
  font-weight: 800 !important;
  color: #ffae00 !important;
}
.eqoa-zone-screenshots-upload a {
  display: inline-block !important;
  background: #d89416 !important;
  color: #111 !important;
  font-weight: 900 !important;
  padding: 10px 18px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
}
.eqoa-zone-screenshots-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.eqoa-zone-screenshot-card {
  display: block !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #000 !important;
  border: 3px solid #000 !important;
  cursor: pointer !important;
}
.eqoa-zone-screenshot-card:nth-child(n+5) {
  display: none !important;
}
.eqoa-zone-screenshot-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* Screenshots header: match zone detail headers exactly */
.eqoa-zone-screenshots .eqoa-zone-screenshots-header,
.eqoa-zone-screenshots-header.zones-header.zone-details-header {
  background: rgb(51, 37, 19) !important;
  color: rgb(216, 154, 34) !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(74, 53, 24) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 20.4px !important;
  text-align: center !important;
  padding: 6px 8px !important;
  margin: 0 !important;
}
/* Screenshot popup */
.eqoa-screenshot-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.92) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
}
.eqoa-screenshot-lightbox.is-open {
  display: flex !important;
}
.eqoa-screenshot-lightbox-image {
  width: min(1500px, 92vw) !important;
  height: auto !important;
  max-height: 86vh !important;
  object-fit: contain !important;
  border: 2px solid #9a6500 !important;
  box-shadow: 0 0 28px rgba(255, 174, 0, 0.35) !important;
}
.eqoa-screenshot-lightbox-close,
.eqoa-screenshot-lightbox-prev,
.eqoa-screenshot-lightbox-next {
  position: fixed !important;
  z-index: 1000000 !important;
  background: rgba(20, 14, 9, 0.95) !important;
  color: #ffae00 !important;
  border: 1px solid #9a6500 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}
.eqoa-screenshot-lightbox-close {
  top: 14px !important;
  right: 18px !important;
  width: 44px !important;
  height: 44px !important;
}
.eqoa-screenshot-lightbox-prev,
.eqoa-screenshot-lightbox-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 58px !important;
}
.eqoa-screenshot-lightbox-prev {
  left: 18px !important;
}
.eqoa-screenshot-lightbox-next {
  right: 18px !important;
}
.eqoa-screenshot-lightbox-counter {
  position: fixed !important;
  bottom: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #ffae00 !important;
  font-weight: 900 !important;
  background: rgba(20, 14, 9, 0.9) !important;
  border: 1px solid #9a6500 !important;
  padding: 6px 12px !important;
}
@media (max-width: 700px) {
  .eqoa-zone-screenshots-top {
    display: block !important;
  }
  .eqoa-zone-screenshots-upload {
    margin-top: 12px !important;
  }
  .eqoa-zone-screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .eqoa-screenshot-lightbox-image {
    width: 94vw !important;
    max-height: 78vh !important;
  }
}
/* Raid Encounters modern grid */
.raid-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.raid-list__grid,
.raid-list > .eqoa-section-title {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  background: transparent !important;
  border: 1px solid #4a3518 !important;
}
.raid-list__col {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid #9b6500 !important;
  background: #11100e !important;
}
.raid-list__col b {
  display: block !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  background: #332513 !important;
  color: #d89a22 !important;
  border-bottom: 1px solid #4a3518 !important;
  text-align: center !important;
  font-weight: 900 !important;
}
.raid-list__col label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 10px !important;
  line-height: 1.35 !important;
}
.raid-list__col input[type="checkbox"] {
  flex: 0 0 auto !important;
}
@media (max-width: 1100px) {
  .raid-list__grid,
  .raid-list > .eqoa-section-title {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  .raid-list__grid,
  .raid-list > .eqoa-section-title {
    grid-template-columns: 1fr !important;
    padding: 8px !important;
  }
}
/* ===========================
  EQOA Achievements
=========================== */
.eqoa-achievements-page {
    --ach-bg: #080806;
    --ach-panel: #0f0c08;
    --ach-panel-soft: #17110b;
    --ach-header: #3c281b;
    --ach-border: #8a5a00;
    --ach-border-soft: rgba(138, 90, 0, 0.55);
    --ach-text: #ffffff;
    --ach-gold: #ffae00;
    --ach-muted: #d8c7a3;
    --ach-blue: #2f93ff;
    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
    border: 1px solid var(--ach-border);
    padding: 14px;
}
body.theme-light .eqoa-achievements-page,
body.client-lightmode .eqoa-achievements-page,
body.skin-theme-clientpref-day .eqoa-achievements-page {
    --ach-bg: #f6f3ed;
    --ach-panel: #ffffff;
    --ach-panel-soft: #f1ebe2;
    --ach-header: #3c281b;
    --ach-border: #d7c7b5;
    --ach-border-soft: #d7c7b5;
    --ach-text: #111111;
    --ach-gold: #d89000;
    --ach-muted: #4a2f1f;
}
.eqoa-achievements-page * {
    box-sizing: border-box;
}
.eqoa-achievement-top,
.eqoa-achievement-tracker,
.eqoa-achievement-controls,
.eqoa-achievement-list {
    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
}
.eqoa-achievement-tracker {
    border: 1px solid var(--ach-border);
    margin-bottom: 12px;
}
.eqoa-achievement-tracker .eqoa-header {
    background: var(--ach-header) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--ach-border);
    text-align: center;
    font-weight: 800;
}
.eqoa-achievement-tracker-body {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 20px;
    padding: 14px;
    background: var(--ach-bg) !important;
    align-items: stretch;
}
.eqoa-achievement-total {
    border-right: 1px solid var(--ach-border-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 100%;
    padding: 8px 10px;
}
.eqoa-achievement-total-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    overflow: hidden;
    margin: 0 auto;
}
.eqoa-achievement-total-icon img {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border: 0 !important;
    background: transparent !important;
}
.eqoa-achievement-total-percent {
    color: var(--ach-gold);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}
.eqoa-achievement-total-count {
    color: var(--ach-text);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
.eqoa-achievement-breakdowns {
    display: grid;
    gap: 8px;
}
.eqoa-achievement-breakdowns > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    border: 1px solid var(--ach-border-soft);
    background: var(--ach-panel) !important;
    color: var(--ach-text) !important;
    padding: 8px 12px;
    font-weight: 700;
}
.eqoa-achievement-breakdowns span {
    color: var(--ach-gold);
}
.eqoa-achievement-controls {
    border: 1px solid var(--ach-border);
    margin-bottom: 12px;
    padding: 10px;
}
.eqoa-achievement-main-tabs,
.eqoa-achievement-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.eqoa-achievement-main-tabs button,
.eqoa-achievement-subtabs button {
    appearance: none;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: var(--ach-gold) !important;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
}
.eqoa-achievement-main-tabs button.is-active,
.eqoa-achievement-subtabs button.is-active {
    background: var(--ach-header) !important;
    color: #ffffff !important;
}
.eqoa-achievement-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.eqoa-achievement-search {
    flex: 1;
    min-width: 220px;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel) !important;
    color: var(--ach-text) !important;
    padding: 9px 10px;
}
.eqoa-achievement-toggle-label {
    color: var(--ach-gold);
    font-weight: 800;
    white-space: nowrap;
}
.eqoa-achievement-row {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) 92px minmax(180px, 230px) 56px;
    gap: 16px;
    align-items: center;
    min-height: 118px;
    border-bottom: 1px solid var(--ach-border-soft);
    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
    padding: 14px 10px;
}
.eqoa-achievement-row[hidden],
.eqoa-achievement-row.is-filtered-out {
    display: none !important;
}
.eqoa-achievement-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: transparent !important;
    font-size: 0 !important;
}
.eqoa-achievement-icon img {
    width: 52px !important;
    height: 52px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border: 0 !important;
    background: transparent !important;
}
.eqoa-achievement-icon .mw-broken-media,
.eqoa-achievement-icon a.new {
    display: none !important;
}
.eqoa-achievement-icon-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--ach-gold);
    font-size: 26px;
    font-weight: 900;
}
.eqoa-achievement-name {
    color: var(--ach-gold);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
}
.eqoa-achievement-description {
    color: var(--ach-text);
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}
.eqoa-achievement-points {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    gap: 2px;
    padding: 0;
    overflow: hidden !important;
    border: 1px solid var(--ach-border);
    border-radius: 4px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 174, 0, 0.08),
            rgba(255, 174, 0, 0.02)
        ) !important;
    text-align: center;
    line-height: 1;
}
.eqoa-achievement-points pre {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    background: transparent !important;
    border: 0 !important;
}
.eqoa-achievement-points span {
    display: block;
    margin: 0;
    color: var(--ach-gold) !important;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}
.eqoa-achievement-points small {
    display: block;
    margin: 1px 0 0;
    color: var(--ach-muted) !important;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.eqoa-achievement-points,
.eqoa-achievement-points pre {
    overflow: hidden !important;
}
.eqoa-achievement-points pre {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    white-space: normal !important;
    line-height: 1 !important;
}
.eqoa-achievement-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
}
.eqoa-achievement-reward,
.eqoa-achievement-tag {
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: var(--ach-gold) !important;
    padding: 5px 8px;
    font-weight: 800;
    font-size: 12px;
}
.eqoa-achievement-reward {
    border-color: var(--ach-blue);
    color: var(--ach-blue) !important;
}
.eqoa-achievement-check-placeholder {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
    background: transparent !important;
}
f.eqoa-achievement-breakdowns > div,
.eqoa-achievement-main-tabs button,
.eqoa-achievement-subtabs button,
.eqoa-achievement-search,
.eqoa-achievement-points,
.eqoa-achievement-reward,
.eqoa-achievement-tag,
.eqoa-achievement-check {
    border-radius: 3px;
}
.eqoa-achievement-check {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--ach-border) !important;
    background: var(--ach-panel-soft) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
}
.eqoa-achievement-check::before {
    content: "";
}
.eqoa-achievement-row.is-completed .eqoa-achievement-check::before {
    content: "✓";
    color: var(--ach-gold);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}
.eqoa-achievement-requirements {
    display: none;
    grid-column: 2 / -1;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel) !important;
    padding: 10px;
}
.eqoa-achievement-row.is-requirements-open .eqoa-achievement-requirements {
    display: block;
}
.eqoa-achievement-requirements-title {
    color: var(--ach-gold);
    font-weight: 900;
    margin-bottom: 8px;
}
.eqoa-achievement-requirement {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--ach-border-soft);
    background: var(--ach-panel-soft) !important;
    color: #9c9c9c !important;
    padding: 7px 9px;
    margin: 0 0 6px;
    font-weight: 800;
    cursor: pointer;
}
.eqoa-achievement-requirement.is-completed {
    color: #69d35f !important;
}
.eqoa-achievement-row.is-highlighted {
    outline: 2px solid var(--ach-gold);
    outline-offset: -2px;
}
.eqoa-achievements-page pre,
.eqoa-achievements-page .mw-parser-output pre {
    background: transparent !important;
    border: 0 !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 760px) {
    .eqoa-achievement-tracker-body {
        grid-template-columns: 1fr;
    }
    .eqoa-achievement-total {
        border-right: 0;
        border-bottom: 1px solid var(--ach-border-soft);
        padding-bottom: 12px;
    }
    .eqoa-achievement-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .eqoa-achievement-search {
        min-width: 0;
        width: 100%;
    }
    .eqoa-achievement-row {
        grid-template-columns: 58px minmax(0, 1fr) 62px 46px;
        grid-template-areas:
            "icon main points check"
            "meta meta meta meta"
            "req req req req";
        gap: 10px;
        padding: 12px 8px;
    }
.eqoa-achievement-row {
    grid-template-columns:
        66px
        minmax(0, 1fr)
        72px
        minmax(180px, 230px)
        56px;
}
    .eqoa-achievement-icon {
        grid-area: icon;
    }
    .eqoa-achievement-main {
        grid-area: main;
    }
    .eqoa-achievement-points {
        grid-area: points;
        width: 58px;
    }
    .eqoa-achievement-meta {
        grid-area: meta;
    }
    .eqoa-achievement-check-placeholder {
        grid-area: check;
    }
    .eqoa-achievement-requirements {
        grid-area: req;
        grid-column: 1 / -1;
    }
}
.eqoa-achievement-list > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}
.eqoa-achievement-list > p {
    margin: 0 !important;
}
.eqoa-achievement-list > p:empty,
.eqoa-achievement-list > p:has(br:only-child) {
    display: none !important;
}
.eqoa-achievement-points-summary {
    display: flex;
    justify-content: center;
    margin: 10px 0 12px;
}
.eqoa-achievement-points-summary-card {
    width: 300px;
    padding: 9px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label value"
        "meta value";
    align-items: center;
    gap: 2px 16px;
    border: 1px solid var(--ach-border-soft);
    border-radius: 6px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 174, 0, 0.07),
            rgba(255, 174, 0, 0.02)
        ) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 3px 10px rgba(0, 0, 0, 0.22);
}
.eqoa-achievement-points-summary-label {
    grid-area: label;
    color: var(--ach-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.4px;
}
.eqoa-achievement-points-summary-value {
    grid-area: value;
    color: var(--ach-gold);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}
.eqoa-achievement-points-summary-meta {
    grid-area: meta;
    color: var(--ach-muted);
    font-size: 10px;
    font-weight: 700;
}
.eqoa-achievement-list {
    display: flex;
    flex-direction: column;
}
}


.raid-zone-columns-2 {
.eqoa-achievement-row {
     grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
     order: 0;
}
 
.raid-zone-column {
    min-width: 0;
    border: 1px solid;
}
}


.raid-expansion-title {
.eqoa-achievement-row[data-achievement-icon="Achievement Meta.png"] {
    margin: 16px 0 8px;
     order: -1;
    padding: 8px 10px;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid;
}
 
.raid-zone-column .raid-checkboxify b {
    display: block;
    padding: 7px 9px;
    margin: 0;
    text-align: center;
    font-size: 16px;
    border-bottom: 1px solid;
}
 
.raid-zone-column .raid-checkboxify label {
     display: block;
    padding: 5px 8px;
    margin: 0;
    border-bottom: 1px solid;
    line-height: 1.25;
}
 
.raid-zone-column .raid-checkboxify br {
    display: none;
}
 
/* Dark */
html:not(.eqoa-theme-light) .raid-expansion-title,
html:not(.eqoa-theme-light) .raid-zone-column .raid-checkboxify b {
    background: #3a2418;
    color: #ffd45a;
    border-color: #5a3a25;
}
 
html:not(.eqoa-theme-light) .raid-zone-column {
    background: #15100d;
    border-color: #4a3326;
}
 
html:not(.eqoa-theme-light) .raid-zone-column .raid-checkboxify label {
    color: #f1e6d0;
    border-color: #34251d;
}
 
html:not(.eqoa-theme-light) .raid-zone-column .raid-checkboxify label:nth-of-type(even) {
    background: #1d1510;
}
 
/* Light */
html.eqoa-theme-light .raid-expansion-title,
html.eqoa-theme-light .raid-zone-column .raid-checkboxify b {
    background: #d9c7aa;
    color: #2a170d;
    border-color: #b8a17e;
}
 
html.eqoa-theme-light .raid-zone-column {
    background: #fffaf1;
    border-color: #d8cfc2;
}
 
html.eqoa-theme-light .raid-zone-column .raid-checkboxify label {
    color: #2a170d;
    border-color: #e5dacb;
}
 
html.eqoa-theme-light .raid-zone-column .raid-checkboxify label:nth-of-type(even) {
    background: #f3eadc;
}
 
/* Mobile only */
@media screen and (max-width: 700px) {
    .raid-zone-columns,
    .raid-zone-columns-4,
    .raid-zone-columns-3,
    .raid-zone-columns-2 {
        grid-template-columns: 1fr !important;
    }
}
}

Latest revision as of 00:20, 17 July 2026

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;

400;600;700;800&display=swap'); h1, h2, h3, h4, h5, h6 {
    color: white !important;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 0.9em;
}

.job-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 150px;
    width: 100%;
    margin: 0 auto;
}

.job-left, .job-right {
    max-width: 350px;
    margin-top: 0;
    padding-top: 0;
}

.job-right {
    text-align: center;
}

.job-artwork, .job-right img {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0;
    display: block;
}

.spell-list {
    background: #1d1916 !important;
    border: 1px solid #E3B44A !important;
    color: #B9C4D1 !important;
    padding: 6px !important;
    margin-bottom: 12px !important;
}

.spell-list__cols {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 6px !important;
    align-items: start !important;
}

.spell-col {
    background: #1C2B44 !important;
    border: 1px solid #E3B44A !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    color: #B9C4D1 !important;
}

.spell-row {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(227,180,74,0.06) !important;
}



.spell-data {
    display: flex !important;
    align-items: center !important;
    gap: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    height: auto !important;
    color: #B9C4D1 !important;
}

.spell-name {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.spell-icon img, .spell-icon-wrap img, .spell-row img {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.spell-divider {
    display: inline-block !important;
    align-self: stretch !important;
    width: 1px !important;
    min-width: 1px !important;
    background: #F2D07A !important;
    margin: 0 3px !important;
    box-sizing: border-box !important;
}

.spell-divider * {
    background: #F2D07A !important;
}



.SpellList {
    background: #1d1916 !important;
    border: 1px solid #E3B44A !important;
    padding: 6px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    color: #B9C4D1 !important;
}

.SpellRow {
    width: calc(50% - 20px) !important;
    background: #1C2B44 !important;
    border: 1px solid #E3B44A !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
    color: #B9C4D1 !important;
}

.spell-list table, .spell-list tr, .spell-list td, .spell-list th, .spell-col table, .spell-col tr, .spell-col td, .spell-col th {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.spell-list .box, .spell-list .mp-inner, .spell-list .mainpage-box, .spell-list .portal, .spell-list .infobox, .spell-col .infobox {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

.zone-data-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 20px !important;
    font-size: 14px !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
}

.zone-data-table th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
}

.zone-data-table td {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border-soft) !important;
    padding: 6px !important;
}

.zone-data-table tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
}

.zone-data-table a {
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.zone-data-table a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.zone-data-table.zone-monster-table {
    table-layout: fixed !important;
    width: 100% !important;
}

.zone-quest-name,
.zone-npc-name {
    width: 40% !important;
}

.zone-quest-type,
.zone-quest-starter,
.zone-quest-location {
    width: 20% !important;
}

.zone-npc-type,
.zone-npc-location {
    width: 30% !important;
}

.zone-monster-name {
    width: 22% !important;
}

.zone-monster-level {
    width: 8% !important;
    text-align: center !important;
}

.zone-monster-drops {
    width: 32% !important;
}

.zone-monster-family {
    width: 18% !important;
}

.zone-monster-notes {
    width: 20% !important;
}

.zone-data-table.zone-monster-table th,
.zone-data-table.zone-monster-table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    vertical-align: middle !important;
}

.zones-box {
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    color: var(--wiki-text) !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

.zones-header {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border-bottom: 1px solid var(--wiki-border) !important;
    padding: 6px 8px !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    margin: 0 !important;
    text-shadow: none !important;
}

.zones-content {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    padding: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.zones-content a {
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.zones-content a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.zones-content pre {
    font-size: 0 !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: none !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    white-space: normal !important;
}

.zones-content pre a {
    font-size: 14px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.zones-content pre a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.zones-header, .zone-details-header {
    font-size: 1.25em !important;
}

.zones-content, .zone-details-content, .zones-content pre a, .zone-details-text {
    font-size: 16px !important;
}

.zone-details-box {
    width: 100% !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

.zone-details-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 6px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--wiki-border-soft) !important;
    background-color: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    box-sizing: border-box !important;
}

.zone-details-row:nth-child(even) {
    background-color: var(--wiki-panel-2) !important;
}

.zone-details-row:last-child {
    border-bottom: none !important;
}

.zone-details-label {
    display: block !important;
    width: auto !important;
    margin-bottom: 6px !important;
    color: var(--wiki-link) !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    line-height: 1.1 !important;
    background: transparent !important;
    text-shadow: none !important;
}

.zone-details-label b {
    color: inherit !important;
}

.zone-details-text {
    display: block !important;
    width: auto !important;
    color: var(--wiki-text) !important;
    background: transparent !important;
    line-height: 1.35 !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-shadow: none !important;
}

.zone-details-row a, .zone-details-content a {
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.zone-details-row a:hover, .zone-details-content a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.exp-camp-wrapper {
    width: 100% !important;
    margin: 18px 0 !important;
    overflow-x: auto !important;
}

.exp-camp-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
}

.exp-camp-table td {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border-soft) !important;
    padding: 8px 10px !important;
    vertical-align: top !important;
}

.exp-camp-table tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
}

.exp-camp-table th:nth-child(1), .exp-camp-table td:nth-child(1) {
    width: 8% !important;
    text-align: center !important;
}

.exp-camp-table th:nth-child(2), .exp-camp-table td:nth-child(2) {
    width: 15% !important;
}

.exp-camp-table th:nth-child(3), .exp-camp-table td:nth-child(3) {
    width: 18% !important;
}

.exp-camp-table th:nth-child(4), .exp-camp-table td:nth-child(4) {
    width: 24% !important;
    line-height: 1.45 !important;
}

.exp-camp-table th:nth-child(5), .exp-camp-table td:nth-child(5) {
    width: 35% !important;
}

.exp-camp-table a, .exp-camp-table .mw-collapsible-toggle, .exp-camp-table .mw-collapsible-toggle a {
    color: var(--wiki-link) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.exp-camp-table a:hover, .exp-camp-table .mw-collapsible-toggle a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.exp-camp-table th.headerSort, .exp-camp-table th.headerSortUp, .exp-camp-table th.headerSortDown {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
}

.exp-camp-table caption {
    caption-side: top !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-heading) !important;
    padding: 8px 10px !important;
    border: 1px solid var(--wiki-border) !important;
    border-bottom: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.exp-camp-table th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px 10px !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

.exp-camp-table .exp-camp-row td:nth-child(1), .exp-camp-table .exp-camp-row td:nth-child(2), .exp-camp-table .exp-camp-row td:nth-child(4), .exp-camp-table .exp-camp-row td:nth-child(3), .exp-camp-table .exp-camp-row td:nth-child(5) {
    text-align: center !important;
    vertical-align: middle !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.exp-camp-notes .eqoa-header {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.exp-camp-notes .eqoa-body {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

.items-filter-box {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 10px !important;
    margin: 15px 0 10px 0 !important;
    box-sizing: border-box !important;
}

.items-filter-box input {
    width: 90px !important;
    margin: 4px !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 3px !important;
}

.items-filter-box button {
    margin-left: 8px !important;
    background: var(--wiki-button-bg) !important;
    color: var(--wiki-button-text) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
}

.character-builder-box {
    --cb-bg: #080807;
    --cb-panel: #1d1916;
    --cb-panel-2: #141210;
    --cb-panel-3: #1b1814;
    --cb-border: #3a3129;
    --cb-border-soft: rgba(240, 180, 0, 0.22);
    --cb-gold: #f0b400;
    --cb-gold-soft: #d4a137;
    --cb-gold-hover: #ffd45a;
    --cb-text: #e6e1d8;
    --cb-muted: #aaa197;
    --cb-danger: #ff9b8f;
    --cb-danger-bg: rgba(130, 38, 28, 0.22);
    --cb-good: #9eff9e;
    --cb-blue: #8fd9ff;
    background: var(--cb-bg);
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    border-radius: 4px;
    padding: 16px;
    margin: 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

.character-builder-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--cb-border);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.character-builder-title {
    flex: 1;
    text-align: center;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000;
    margin: 0;
    border: 0;
    padding: 0;
}

.cb-builder-tabs {
    display: flex;
    gap: 8px;
    margin: 12px 0 14px;
    border-bottom: 1px solid var(--cb-border);
    padding-bottom: 8px;
}

.cb-tab-button {
    background: var(--cb-panel-3);
    border: 1px solid var(--cb-border);
    border-radius: 3px;
    color: var(--cb-gold);
    cursor: pointer;
    padding: 7px 14px;
    font-weight: 700;
}

.cb-tab-button:hover {
    background: var(--cb-panel-2);
    color: var(--cb-gold-hover);
    border-color: var(--cb-gold-soft);
}

.cb-tab-active {
    background: var(--cb-gold);
    color: #080807;
    border-color: var(--cb-gold);
}

.cb-tab-panel {
    display: none;
}

.cb-tab-panel-active {
    display: block;
}

.character-builder-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.character-builder-controls label {
    color: var(--cb-gold);
    font-weight: 700;
}

.character-builder-controls select, .character-builder-controls input, .character-builder-controls textarea, .cb-slot-search, .cb-slot-filter, .cb-slot-sort {
    background: var(--cb-bg);
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    border-radius: 3px;
    padding: 6px 8px;
}

.character-builder-controls textarea {
    resize: vertical;
}

.character-builder-controls select:focus, .character-builder-controls input:focus, .character-builder-controls textarea:focus, .cb-slot-search:focus, .cb-slot-filter:focus, .cb-slot-sort:focus {
    outline: none;
    border-color: var(--cb-gold);
    box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
}

.character-builder-controls button, #cb-refresh-items, #cb-generate-share-url, #cb-copy-share-url, #cb-reset-build, #cb-export-card, #cb-show-bis, #cb-compare-builds {
    background: var(--cb-panel-3);
    border: 1px solid var(--cb-border);
    border-radius: 3px;
    color: var(--cb-gold);
    cursor: pointer;
    padding: 7px 12px;
    font-weight: 700;
}

.character-builder-controls button:hover, #cb-refresh-items:hover, #cb-generate-share-url:hover, #cb-copy-share-url:hover, #cb-reset-build:hover, #cb-export-card:hover, #cb-show-bis:hover, #cb-compare-builds:hover {
    background: var(--cb-panel-2);
    color: var(--cb-gold-hover);
    border-color: var(--cb-gold-soft);
}

.character-builder-stat-table, .character-builder-equipped-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
}

.character-builder-stat-table th {
    background: var(--cb-panel-3);
    color: var(--cb-gold);
    border: 1px solid var(--cb-border);
    padding: 8px;
    text-align: center;
}

.character-builder-stat-table td, .character-builder-equipped-table td {
    background: var(--cb-panel-2);
    color: var(--cb-text);
    border: 1px solid var(--cb-border);
    padding: 7px;
}

.character-builder-equipped-table td:first-child {
    color: var(--cb-gold);
    width: 35%;
    font-weight: 700;
}

.character-builder-equipment-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
}

.character-builder-equipped-summary {
    order: 1;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    margin-top: 36px !important;
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
    border-radius: 4px;
    padding: 10px;
    position: sticky;
    top: 10px;
}

.character-builder-gear-column {
    order: 2;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.character-builder-gear-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
    gap: 8px !important;
}

.character-builder-slot {
    background: var(--cb-panel);
    border: 1px solid var(--cb-border);
    border-left: 3px solid var(--cb-gold);
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.character-builder-slot label {
    display: block;
    color: var(--cb-gold);
    font-weight: 700;
    margin-bottom: 4px;
}

.cb-upgrade-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--cb-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cb-upgrade-toggle input {
    accent-color: var(--cb-gold);
}

.cb-item-picker-list {
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid var(--cb-border);
    background: var(--cb-bg);
    border-radius: 3px;
}

.cb-picker-item {
    color: var(--cb-text);
    padding: 4px 6px;
    border-bottom: 1px solid rgba(240, 180, 0, 0.08);
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.cb-picker-item:hover {
    background: var(--cb-panel-3);
    color: var(--cb-gold-hover);
}

.cb-picker-selected {
    background: var(--cb-panel-3);
    color: var(--cb-gold-hover);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--cb-gold);
}

.cb-picker-none {
    color: var(--cb-muted);
}

.cb-picker-disabled, .cb-slot-disabled-note {
    color: var(--cb-danger);
    padding: 4px;
    font-size: 12px;
}

.character-builder-warning-box {
    background: var(--cb-danger-bg);
    border: 1px solid rgba(220, 90, 70, 0.35);
    border-radius: 3px;
    color: #ffb0a0;
    padding: 8px;
    margin: 10px 0;
    font-size: 13px;
}

.character-builder-tooltip {
    position: absolute;
    z-index: 99999;
    background: var(--cb-bg);
    color: var(--cb-text);
    border: 1px solid var(--cb-gold-soft);
    border-radius: 4px;
    padding: 10px;
    min-width: 220px;
    max-width: 340px;
    font-size: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
    pointer-events: none;
    animation: cbTooltipFade 0.12s ease-out;
}

.cb-tooltip-title {
    color: var(--cb-gold-hover);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--cb-border);
    margin-bottom: 5px;
    padding-bottom: 3px;
}

.cb-tooltip-line {
    margin: 2px 0;
}

.cb-tooltip-stats {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
}

.cb-tooltip-stats span {
    color: var(--cb-gold);
    font-weight: 700;
}

.cb-compare-tooltip {
    min-width: 260px;
}

.cb-equipped-item-name {
    color: var(--cb-gold-hover);
    cursor: pointer;
    transition: filter 0.14s ease, text-shadow 0.14s ease;
}

.cb-equipped-item-name:hover {
    filter: brightness(1.12);
    text-decoration: underline;
}

.cb-item-page-link {
    margin-left: 6px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.75;
    color: var(--cb-gold);
}

.cb-item-page-link:hover {
    opacity: 1;
    color: var(--cb-gold-hover);
}

.cb-overcap {
    color: var(--cb-good);
    font-weight: 700;
}

.cb-compare-positive {
    color: var(--cb-good);
    animation: cbStatGainPulse 0.45s ease-out;
}

.cb-compare-negative {
    color: var(--cb-danger);
    animation: cbStatLossPulse 0.45s ease-out;
}

.character-builder-stat-table td {
    text-align: center;
    font-weight: 700;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
}

.cb-stat-flash {
    animation: cbStatFlash 0.55s ease-out;
}

.cb-rarity-common {
    color: #d7d7d7;
}

.cb-rarity-uncommon {
    color: #6fd96f;
}

.cb-rarity-rare {
    color: #63a9ff;
    text-shadow: 0 0 4px rgba(99,169,255,0.45);
}

.cb-rarity-ultra-rare {
    color: #d26bff;
    text-shadow: 0 0 6px rgba(210,107,255,0.8), 0 0 12px rgba(255,120,60,0.45);
}

.cb-rarity-legendary {
    color: #b54848;
    text-shadow: 0 0 5px rgba(181,72,72,0.55), 0 0 12px rgba(120,20,20,0.35);
    animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
}

.cb-rarity-relic {
    color: #d4af37;
    text-shadow: 0 0 6px rgba(212,175,55,0.55), 0 0 14px rgba(255,220,120,0.35);
    animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
}

.cb-tooltip-rarity-common {
    border-color: #666;
}

.cb-tooltip-rarity-uncommon {
    border-color: #5fd35f;
}

.cb-tooltip-rarity-rare {
    border-color: #63a9ff;
}

.cb-tooltip-rarity-ultra-rare {
    border-color: #b46cff;
}

.cb-tooltip-rarity-legendary {
    border-color: #b54848;
    box-shadow: 0 0 12px rgba(181,72,72,0.45), 0 0 20px rgba(120,20,20,0.28);
}

.cb-tooltip-rarity-relic {
    border-color: #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,0.55), 0 0 24px rgba(255,215,100,0.28);
}

.cb-export-card {
    width: 1200px;
    background: radial-gradient(circle at top, #111827 0%, #050505 60%);
    border: 3px solid #9b793d;
    border-radius: 20px;
    padding: 30px;
    color: #f4e6c8;
    font-family: Georgia, serif;
    box-sizing: border-box;
}

.cb-export-main-title {
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    color: #d9a64d;
    letter-spacing: 2px;
    line-height: 1;
}

.cb-export-sub-title {
    text-align: center;
    font-size: 42px;
    color: #d9a64d;
    margin-top: 8px;
    margin-bottom: 14px;
}

.cb-export-top-info {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.cb-export-info-box {
    flex: 1;
    border: 2px solid #7b5a28;
    border-radius: 12px;
    padding: 16px 20px;
    background: rgba(0,0,0,0.28);
    font-size: 24px;
}

.cb-export-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
}

.cb-export-subsection-title {
    font-size: 22px;
    color: #d9a64d;
    margin-bottom: 8px;
    font-weight: bold;
}

.cb-export-divider {
    border-top: 1px solid rgba(155,121,61,0.65);
    margin: 14px 0;
}

.cb-export-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 32px;
    font-size: 23px;
}

#cb-export-vitals {
    grid-template-columns: 1fr;
}

#cb-export-items {
    font-size: 21px;
    line-height: 1.38;
}

.cb-export-bottom-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    margin-top: 25px;
}

.cb-export-bottom-box {
    min-height: 230px;
}

.cb-export-url-box {
    font-size: 14px;
    line-height: 1.45;
    background: rgba(0,0,0,0.45);
    border: 1px solid #7b5a28;
    padding: 12px;
    border-radius: 10px;
    word-break: break-all;
    color: #f2f2f2;
}

.cb-export-qr-box {
    width: 190px;
    height: 190px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cb-export-notes-box {
    font-size: 19px;
    line-height: 1.35;
    background: rgba(0,0,0,0.35);
    padding: 12px;
    border-radius: 10px;
    min-height: 135px;
    white-space: pre-wrap;
    color: #f2f2f2;
}

.cb-export-panel-title, .cb-export-subsection-title {
    text-align: center;
}

.cb-export-sub-title::after, .cb-export-panel-title::after {
    content: "";
    display: block;
    width: 85%;
    height: 1px;
    margin: 10px auto 0;
    background: linear-gradient(
        to right,
        transparent,
        #9b793d,
        #d9a64d,
        #9b793d,
        transparent
    );
}

.cm-calculator-box {
    --cm-bg: #080807;
    --cm-panel: #1d1916;
    --cm-panel-2: #141210;
    --cm-panel-3: #1b1814;
    --cm-border: #3a3129;
    --cm-border-soft: rgba(240, 180, 0, 0.22);
    --cm-gold: #f0b400;
    --cm-gold-soft: #d4a137;
    --cm-gold-hover: #ffd45a;
    --cm-text: #e6e1d8;
    --cm-muted: #aaa197;
    --cm-danger: #ff9b8f;
    --cm-danger-bg: rgba(130, 38, 28, 0.22);
    --cm-good: #9eff9e;
    --cm-blue: #8fd9ff;
    background: var(--cm-bg);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    padding: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

.cm-calculator-box .character-builder-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 8px;
    margin-bottom: 14px;
    text-shadow: 1px 1px 2px #000;
}

.cm-calculator-box .character-builder-section-title {
    color: var(--cm-gold);
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 5px;
}

.cm-calculator-box .character-builder-controls, .cm-search-tools, .cm-purchased-panel, .cm-master-class-panel, .cm-unlocked-box {
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
    border-radius: 4px;
    padding: 10px;
}

.cm-calculator-box .character-builder-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, max-content));
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 15px;
}

.cm-calculator-box label {
    color: var(--cm-gold);
    font-weight: 700;
}

.cm-calculator-box select, .cm-calculator-box input, .cm-search-input {
    background: var(--cm-bg);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    padding: 6px 8px;
}

.cm-calculator-box select:focus, .cm-calculator-box input:focus, .cm-search-input:focus {
    outline: none;
    border-color: var(--cm-gold);
    box-shadow: 0 0 0 2px rgba(240, 180, 0, 0.18);
}

.cm-tab-button, .cm-view-button, .cm-action-button, .cm-reset-button, .cm-clear-search-button, .cm-mini-remove-button {
    background: var(--cm-panel-3);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    color: var(--cm-gold);
    cursor: pointer;
    padding: 7px 12px;
    font-weight: 700;
}

.cm-tab-button:hover, .cm-view-button:hover, .cm-action-button:hover, .cm-reset-button:hover, .cm-clear-search-button:hover, .cm-mini-remove-button:hover {
    background: var(--cm-panel-2);
    color: var(--cm-gold-hover);
    border-color: var(--cm-gold-soft);
}

.cm-tab-active, .cm-view-active {
    background: var(--cm-gold);
    color: #080807;
    border-color: var(--cm-gold);
}

.cm-calculator-box .character-builder-stat-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
}

.cm-calculator-box .character-builder-stat-table th {
    background: var(--cm-panel-3);
    color: var(--cm-gold);
    border: 1px solid var(--cm-border);
    padding: 8px;
}

.cm-calculator-box .character-builder-stat-table td {
    background: var(--cm-panel-2);
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
    text-align: center;
    padding: 8px;
    font-weight: 700;
}

.cm-tabs, .cm-view-toggle, .cm-build-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.cm-main-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 14px;
    align-items: start;
}

#cm-mastery-panel, #cm-mastery-panel.character-builder-warning-box {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cm-search-row {
    display: flex;
    gap: 8px;
}

.cm-search-input {
    flex: 1;
    min-width: 220px;
}

.cm-search-input::placeholder {
    color: var(--cm-muted);
}

.cm-lock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--cm-muted);
    font-weight: 700;
}

.cm-lock-toggle input {
    accent-color: var(--cm-gold);
}

.cm-panel-title {
    color: var(--cm-gold);
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--cm-border);
    padding-bottom: 5px;
}

.cm-master-class-label {
    color: var(--cm-gold);
    font-weight: 700;
}

#cm-unlocked-summary {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.cm-unlocked-grid {
    display: grid;
    gap: 10px;
}

.cm-unlocked-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm-purchased-group-title {
    color: var(--cm-gold);
    font-size: 13px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.cm-purchased-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    padding: 5px 7px;
    margin-bottom: 5px;
    cursor: pointer;
}

.cm-purchased-item:hover {
    background: var(--cm-panel-3);
    border-color: var(--cm-gold-soft);
}

.cm-purchased-cost {
    color: var(--cm-gold-hover);
    font-weight: 700;
}

.cm-card {
    position: relative;
    background: var(--cm-panel);
    border: 1px solid var(--cm-border);
    border-left: 3px solid var(--cm-gold);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 9px;
    color: var(--cm-text);
    transition: background 0.12s ease, border-color 0.12s ease;
}

.cm-card:hover {
    background: var(--cm-panel-2);
    border-color: var(--cm-gold-soft);
}

.cm-purchasable-card {
    cursor: pointer;
}

.cm-card-locked {
    opacity: 0.68;
    background: #0b0a09;
    border-color: rgba(180, 80, 60, 0.35);
    cursor: not-allowed;
}

.cm-card-locked:hover {
    background: #0b0a09;
    border-color: rgba(180, 80, 60, 0.35);
}

.cm-card-title {
    color: var(--cm-gold-hover);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cm-card-locked .cm-card-title {
    color: var(--cm-muted);
}

.cm-card-desc {
    color: var(--cm-muted);
    margin: 6px 0;
}

.cm-card-meta, .cm-card-req, .cm-chain-preview, .cm-unlock-hint {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 5px;
}

.cm-card-meta {
    color: var(--cm-gold);
    font-weight: 700;
}

.cm-card-req, .cm-chain-preview {
    color: var(--cm-muted);
}

.cm-unlock-hint {
    background: var(--cm-danger-bg);
    border: 1px solid rgba(220, 90, 70, 0.35);
    border-radius: 3px;
    color: #ffb0a0;
    padding: 6px 8px;
}

.cm-card-type-tag {
    display: inline-block;
    background: #080807;
    border: 1px solid var(--cm-border);
    border-radius: 3px;
    color: var(--cm-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    text-transform: uppercase;
}

.cm-type-general {
    border-left-color: var(--cm-gold);
}

.cm-type-racial {
    border-left-color: #7ccf7a;
}

.cm-type-archetype {
    border-left-color: #7ab7ff;
}

.cm-type-class {
    border-left-color: #ff9d66;
}

.cm-type-master {
    border-left-color: #d9a3ff;
}

.cm-type-general .cm-card-type-tag {
    color: var(--cm-gold);
}

.cm-type-racial .cm-card-type-tag {
    color: #7ccf7a;
}

.cm-type-archetype .cm-card-type-tag {
    color: #7ab7ff;
}

.cm-type-class .cm-card-type-tag {
    color: #ff9d66;
}

.cm-type-master .cm-card-type-tag {
    color: #d9a3ff;
}

.cm-card-compact {
    padding: 8px 10px;
}

.cm-card-compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cm-card-compact .cm-card-meta {
    margin-top: 0;
    white-space: nowrap;
}

.cm-stat-min-req {
    color: #ffcf7a;
    font-weight: 700;
}

.cm-req-owned, .cm-chain-owned {
    color: var(--cm-good);
}

.cm-req-missing {
    color: var(--cm-danger);
}

.cm-chain-current {
    color: var(--cm-gold-hover);
    font-weight: 700;
}

.cm-chain-step, .cm-chain-arrow {
    color: var(--cm-muted);
}

.cm-tooltip {
    position: fixed;
    z-index: 999999;
    width: 340px;
    pointer-events: none;
    background: #080807;
    border: 1px solid var(--cm-gold-soft);
    border-radius: 4px;
    color: var(--cm-text);
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.65);
}

.cm-tooltip-title {
    color: var(--cm-gold-hover);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.cm-tooltip-desc {
    color: var(--cm-muted);
    margin-bottom: 6px;
}

.cm-tooltip-meta, .cm-tooltip-req {
    color: var(--cm-gold);
    font-size: 12px;
    margin-top: 5px;
}

.cm-tooltip-stat {
    color: #b8f2b0;
    font-size: 12px;
}

.cm-tooltip-spell-add {
    color: var(--cm-blue);
    font-size: 12px;
}

.cm-tooltip-spell-remove {
    color: var(--cm-danger);
    font-size: 12px;
}

:root, .eqoa-theme-dark {
    --wiki-bg: #100d0a;
    --wiki-panel: #19130f;
    --wiki-panel-2: #241b12;
    --wiki-border: #2c241d;
    --wiki-border-soft: #221b16;
    --wiki-text: #d8d0c4;
    --wiki-muted: #8f867a;
    --wiki-heading: #ffffff;
    --wiki-link: #d89a22;
    --wiki-link-hover: #ffb733;
    --wiki-button-bg: #2b1f14;
    --wiki-button-text: #f2e8d8;
}

.eqoa-theme-light {
    --wiki-bg: #f6f4f1;
    --wiki-panel: #ffffff;
    --wiki-panel-2: #fbfaf8;
    --wiki-border: #d8d1c7;
    --wiki-border-soft: #e6e0d8;
    --wiki-text: #2b211b;
    --wiki-muted: #665a50;
    --wiki-heading: #1f1712;
    --wiki-link: #5a3928;
    --wiki-link-hover: #8a5538;
    --wiki-button-bg: #3b2a20;
    --wiki-button-text: #ffffff;
}

html, body, #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-parser-output {
    background: var(--wiki-bg) !important;
    color: var(--wiki-text) !important;
}

h1, h2, h3, h4, h5, h6, .firstHeading {
    color: var(--wiki-heading) !important;
    text-shadow: none !important;
}

a, .mw-body a, .portlet a, .wikitable a, .mw-parser-output a {
    color: var(--wiki-link) !important;
    font-weight: 700;
    text-decoration: none;
}

a:hover, .mw-body a:hover, .portlet a:hover, .wikitable a:hover, .mw-parser-output a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline;
}

.wikitable, .toc, .catlinks, .thumbinner, .quest-template, .npc-template {
    background: var(--wiki-panel) !important;
    border-color: var(--wiki-border) !important;
    color: var(--wiki-text) !important;
}

.wikitable th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-heading) !important;
    border-color: var(--wiki-border) !important;
}

.wikitable td {
    border-color: var(--wiki-border-soft) !important;
}

input, select, textarea {
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    color: var(--wiki-text) !important;
}

.eqoa-theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 34px;
    height: 34px;
    background: var(--wiki-button-bg);
    border: 1px solid var(--wiki-border);
    border-radius: 6px;
    color: var(--wiki-button-text);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.eqoa-theme-toggle:hover {
    background: #6b4b38;
    color: #ffffff;
}

.eqoa-theme-light .character-builder-box, .eqoa-theme-light .cm-calculator-box {
    color-scheme: light;
}

.eqoa-theme-dark .character-builder-box, .eqoa-theme-dark .cm-calculator-box {
    color-scheme: dark;
}

html.eqoa-theme-light body, html.eqoa-theme-light #globalWrapper, html.eqoa-theme-light #column-content, html.eqoa-theme-light #column-one, html.eqoa-theme-light #content, html.eqoa-theme-light #bodyContent, html.eqoa-theme-light #mw-content-text, html.eqoa-theme-light .mw-body, html.eqoa-theme-light .mw-parser-output, html.eqoa-theme-light #p-personal, html.eqoa-theme-light #p-cactions, html.eqoa-theme-light #p-cactions ul, html.eqoa-theme-light #p-personal ul {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    background-image: none !important;
    color: #2b211b !important;
}

html.eqoa-theme-light .portlet, html.eqoa-theme-light .generated-sidebar, html.eqoa-theme-light #p-search, html.eqoa-theme-light #p-tb, html.eqoa-theme-light #p-navigation, html.eqoa-theme-light #p-logo {
    background: #f6f4f1 !important;
    border-color: #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light .portlet h3, html.eqoa-theme-light .generated-sidebar h3, html.eqoa-theme-light #p-search h3, html.eqoa-theme-light #p-tb h3 {
    background: #ece8e1 !important;
    border: 1px solid #d8d1c7 !important;
    color: #4a3427 !important;
}

html.eqoa-theme-light .portlet .pBody, html.eqoa-theme-light .generated-sidebar .pBody, html.eqoa-theme-light #p-search .pBody, html.eqoa-theme-light #p-tb .pBody {
    background: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #searchInput, html.eqoa-theme-light #p-search input#searchInput, html.eqoa-theme-light #p-search input[name="search"] {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    background-image: none !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
    box-shadow: none !important;
}

html.eqoa-theme-light #searchInput:focus {
    background: #ffffff !important;
    border-color: #8a5538 !important;
}

html.eqoa-theme-light #searchGoButton, html.eqoa-theme-light #mw-searchButton, html.eqoa-theme-light input[type="submit"], html.eqoa-theme-light input[type="button"] {
    background: #3b2a20 !important;
    border: 1px solid #4a3427 !important;
    color: #ffffff !important;
}

html.eqoa-theme-light #p-cactions li, html.eqoa-theme-light #p-personal li {
    background: #f6f4f1 !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light #p-cactions li a, html.eqoa-theme-light #p-personal li a {
    background: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #p-cactions li.selected a {
    background: #ece8e1 !important;
    color: #1f1712 !important;
}

html.eqoa-theme-light body .mw-parser-output > div, html.eqoa-theme-light body .mw-parser-output > div > div, html.eqoa-theme-light body .mw-parser-output > div > div > div, html.eqoa-theme-light body .mw-parser-output table, html.eqoa-theme-light body .mw-parser-output tr, html.eqoa-theme-light body .mw-parser-output td, html.eqoa-theme-light body .mw-parser-output th, html.eqoa-theme-light body .mw-parser-output [style*="background"], html.eqoa-theme-light body .mw-parser-output [style*="background-color"], html.eqoa-theme-light body .mw-parser-output [style*="#0"], html.eqoa-theme-light body .mw-parser-output [style*="#1"], html.eqoa-theme-light body .mw-parser-output [style*="#2"], html.eqoa-theme-light body .mw-parser-output [style*="black"], html.eqoa-theme-light body .mw-parser-output [style*="brown"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light body .mw-parser-output h1, html.eqoa-theme-light body .mw-parser-output h2, html.eqoa-theme-light body .mw-parser-output h3, html.eqoa-theme-light body .mw-parser-output h4, html.eqoa-theme-light body .mw-parser-output b, html.eqoa-theme-light body .mw-parser-output strong, html.eqoa-theme-light body .mw-parser-output span, html.eqoa-theme-light body .mw-parser-output p, html.eqoa-theme-light body .mw-parser-output small, html.eqoa-theme-light body .mw-parser-output li {
    color: #2b211b !important;
}

html.eqoa-theme-light body .mw-parser-output a {
    color: #5a3928 !important;
}

html.eqoa-theme-light body .mw-parser-output a:hover {
    color: #8a5538 !important;
}

html.eqoa-theme-light body .mw-parser-output hr {
    border-color: #d8d1c7 !important;
    background: #d8d1c7 !important;
    color: #d8d1c7 !important;
}

html.eqoa-theme-light .character-builder-box, html.eqoa-theme-light .cm-calculator-box {
    background: #f6f4f1 !important;
    color: #2b211b !important;
}

html.eqoa-theme-dark .character-builder-box, html.eqoa-theme-dark .cm-calculator-box {
    background: #080808 !important;
    color: #eeeeee !important;
}

.eqoa-item-page {
    max-width: 1100px;
    margin: 20px auto;
    color: var(--wiki-text);
    font-family: Arial, sans-serif;
}

.eqoa-item-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eqoa-section {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
    box-shadow: none !important;
}

.eqoa-section-title {
    padding: 10px 14px;
    font-size: 24px;
    color: var(--wiki-link) !important;
    border-bottom: 1px solid var(--wiki-border) !important;
    background: var(--wiki-panel-2) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none !important;
}

.eqoa-section-content {
    padding: 14px;
    font-size: 18px;
    line-height: 1.45;
    color: var(--wiki-text) !important;
    background: var(--wiki-panel) !important;
}

.eqoa-section a {
    color: var(--wiki-link) !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.eqoa-section a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
    text-shadow: none !important;
}

.eqoa-itembox-name {
    font-size: 34px;
    margin-bottom: 16px;
    color: var(--wiki-heading) !important;
    text-shadow: none !important;
}

.eqoa-itembox-line {
    line-height: 1.05;
}

.eqoa-itembox-flags {
    margin-top: 8px;
    margin-bottom: 8px;
    line-height: 1.05;
}

.eqoa-itembox-stats div {
    line-height: 1.05;
}

.eqoa-itembox-desc {
    margin-top: 12px;
    font-size: 22px;
    color: var(--wiki-muted) !important;
    text-shadow: none !important;
}

.eqoa-itembox {
    background: var(--wiki-panel) !important;
    border: 2px solid var(--wiki-border) !important;
    box-shadow: none !important;
    padding: 20px 26px;
    color: var(--wiki-text) !important;
    font-family: monospace;
    font-size: 28px;
    line-height: 1;
    text-shadow: none !important;
    margin-left: auto;
    margin-right: auto;
}

.eqoa-related-item-tooltip {
    position: absolute;
    z-index: 999999;
    width: 330px;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 2px solid var(--wiki-border) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28) !important;
    padding: 12px 14px;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.15;
    text-shadow: none !important;
    pointer-events: none;
}

.eqoa-related-tooltip-title {
    font-size: 20px;
    color: var(--wiki-heading) !important;
    margin-bottom: 8px;
    text-shadow: none !important;
}

.eqoa-related-tooltip-stats {
    margin-top: 8px;
}

.eqoa-related-tooltip-stats div {
    line-height: 1.15;
}

.eqoa-related-tooltip-stats span {
    color: var(--wiki-heading) !important;
    text-shadow: none !important;
}

.eqoa-related-item-tooltip .cb-rarity-common {
    color: #d7d7d7 !important;
}

.eqoa-related-item-tooltip .cb-rarity-uncommon {
    color: #6fd96f !important;
}

.eqoa-related-item-tooltip .cb-rarity-rare {
    color: #63a9ff !important;
    text-shadow: 0 0 4px rgba(99,169,255,0.45) !important;
}

.eqoa-related-item-tooltip .cb-rarity-ultra-rare {
    color: #d26bff !important;
    text-shadow: 0 0 6px rgba(210,107,255,0.8),
        0 0 12px rgba(255,120,60,0.45) !important;
}

.eqoa-related-item-tooltip .cb-rarity-legendary {
    color: #b54848 !important;
    text-shadow: 0 0 5px rgba(181,72,72,0.55),
        0 0 12px rgba(120,20,20,0.35) !important;
    animation: cbLegendaryTextPulse 2.4s ease-in-out infinite;
}

.eqoa-related-item-tooltip .cb-rarity-relic {
    color: #d4af37 !important;
    text-shadow: 0 0 6px rgba(212,175,55,0.55),
        0 0 14px rgba(255,220,120,0.35) !important;
    animation: cbRelicTextShimmer 2.6s ease-in-out infinite;
}

.eqoa-related-item-tooltip.tooltip-rarity-common {
    border-color: #666 !important;
}

.eqoa-related-item-tooltip.tooltip-rarity-uncommon {
    border-color: #5fd35f !important;
}

.eqoa-related-item-tooltip.tooltip-rarity-rare {
    border-color: #63a9ff !important;
    box-shadow: 0 0 12px rgba(99,169,255,0.35),
        0 0 20px rgba(0,0,0,0.65) !important;
}

.eqoa-related-item-tooltip.tooltip-rarity-ultra-rare {
    border-color: #b46cff !important;
    box-shadow: 0 0 12px rgba(180,108,255,0.45),
        0 0 20px rgba(210,107,255,0.25),
        0 0 24px rgba(0,0,0,0.65) !important;
}

.eqoa-related-item-tooltip.tooltip-rarity-legendary {
    border-color: #b54848 !important;
    box-shadow: 0 0 12px rgba(181,72,72,0.45),
        0 0 20px rgba(120,20,20,0.28),
        0 0 24px rgba(0,0,0,0.65) !important;
}

.eqoa-related-item-tooltip.tooltip-rarity-relic {
    border-color: #d4af37 !important;
    box-shadow: 0 0 12px rgba(212,175,55,0.55),
        0 0 24px rgba(255,215,100,0.28),
        0 0 24px rgba(0,0,0,0.65) !important;
}

.eqoa-npc-page {
    background: var(--wiki-bg) !important;
    color: var(--wiki-text) !important;
    padding: 0;
    margin: 0;
}

.eqoa-npc-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.eqoa-npc-info-box, .eqoa-npc-zones-box {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 2px solid var(--wiki-border) !important;
    margin: 0 0 12px 0;
}

.eqoa-npc-info-box {
    flex: 1;
    min-width: 340px;
}

.eqoa-npc-image-box {
    flex: 1;
    min-width: 260px;
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 6px;
    text-align: center;
}

.eqoa-npc-caption {
    font-size: smaller;
    color: var(--wiki-muted) !important;
    margin-top: 4px;
}

.eqoa-npc-zones-box {
    margin-top: 10px;
}

.eqoa-npc-info-table, .eqoa-npc-info-table tr, .eqoa-npc-info-table td {
    width: 100%;
    border-collapse: collapse;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border-color: var(--wiki-border-soft) !important;
}

.eqoa-npc-info-table td {
    padding: 6px 8px !important;
}

.eqoa-npc-info-table td:first-child {
    width: 28%;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    font-weight: bold !important;
}

.eqoa-npc-info-table td:last-child {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
}

.eqoa-npc-zone-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 0;
    border: 1px solid var(--wiki-border) !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
}

.eqoa-npc-zone-table th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
}

.eqoa-npc-zone-table td {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border-soft) !important;
    padding: 7px !important;
}

.eqoa-npc-zone-table tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
}

.eqoa-npc-legend {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
}

.eqoa-npc-legend td {
    padding: 6px 8px !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-text) !important;
    border-top: 1px solid var(--wiki-border) !important;
}

.eqoa-npc-section {
    margin-top: 12px !important;
}

html.eqoa-theme-light .eqoa-npc-page, html.eqoa-theme-light .eqoa-npc-info-box, html.eqoa-theme-light .eqoa-npc-zones-box, html.eqoa-theme-light .eqoa-npc-image-box {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border-color: var(--wiki-border) !important;
}

html.eqoa-theme-light .raid-list__title,
html.eqoa-theme-light .raid-list__section-title,
html.eqoa-theme-light .raid-encounter-table b,
html.eqoa-theme-light .raid-checkboxify b,
html.eqoa-theme-light .eqoa-header,
html.eqoa-theme-light .spell-list__title,
html.eqoa-theme-light .npcname-header,
html.eqoa-theme-light .zones-header,
html.eqoa-theme-light .zone-details-header,
html.eqoa-theme-light .zone-info-table .zone-info-title,
html.eqoa-theme-light h2#quests,
html.eqoa-theme-light h2#npcs,
html.eqoa-theme-light h2#rare,
html.eqoa-theme-light h2#regular,
html.eqoa-theme-light h2#items {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: rgb(74, 53, 24) !important;
    background-color: rgb(74, 53, 24) !important;
    background-image: none !important;

    color: rgb(216, 154, 34) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow: hidden !important;
}

html.eqoa-theme-light .raid-list__title *,
html.eqoa-theme-light .raid-list__section-title *,
html.eqoa-theme-light .eqoa-header *,
html.eqoa-theme-light .spell-list__title *,
html.eqoa-theme-light .npcname-header *,
html.eqoa-theme-light .zones-header *,
html.eqoa-theme-light .zone-details-header *,
html.eqoa-theme-light .zone-info-table .zone-info-title *,
html.eqoa-theme-light h2#quests *,
html.eqoa-theme-light h2#npcs *,
html.eqoa-theme-light h2#rare *,
html.eqoa-theme-light h2#regular *,
html.eqoa-theme-light h2#items * {
    color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .raid-list__title,
html.eqoa-theme-light .raid-list__title .mw-headline,
html.eqoa-theme-light .raid-list__section-title,
html.eqoa-theme-light .raid-list__section-title *,
html.eqoa-theme-light .raid-encounter-table b,
html.eqoa-theme-light .raid-checkboxify b {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    text-shadow: none !important;
}

html.eqoa-theme-light .eqoa-header,
html.eqoa-theme-light div.eqoa-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow: hidden !important;
}


.eqoa-page-title,
.eqoa-section-title,
h1.eqoa-page-title,
h2.eqoa-page-title,
h3.eqoa-page-title,
h4.eqoa-page-title,
h5.eqoa-page-title,
h6.eqoa-page-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;

    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
}

.eqoa-page-title *,
.eqoa-section-title *,
.eqoa-page-title .mw-headline,
.eqoa-section-title .mw-headline {
    color: inherit !important;
    text-shadow: none !important;
}

.raid-list .raid-list__col b,
.raid-checkboxify b {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 4px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;

    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .raid-list .raid-list__col b,
html.eqoa-theme-light .raid-checkboxify b {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .raid-checkboxify label,
html.eqoa-theme-light .raid-list .raid-list__col label {
    background: rgb(246, 244, 241) !important;
    background-color: rgb(246, 244, 241) !important;
    background-image: none !important;

    color: #111111 !important;
    border-bottom: 1px solid #d8d1c7 !important;
}

html.eqoa-theme-light .raid-checkboxify label a,
html.eqoa-theme-light .raid-list .raid-list__col label a,
html.eqoa-theme-light .raid-checkboxify label a:visited,
html.eqoa-theme-light .raid-list .raid-list__col label a:visited {
    color: #111111 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .raid-checkboxify label a:hover,
html.eqoa-theme-light .raid-list .raid-list__col label a:hover {
    color: #4a2f1f !important;
    text-decoration: underline !important;
}

html.eqoa-theme-light .eqoa-page-title,
html.eqoa-theme-light .eqoa-section-title,
html.eqoa-theme-light h1.eqoa-page-title,
html.eqoa-theme-light h2.eqoa-page-title,
html.eqoa-theme-light h3.eqoa-page-title,
html.eqoa-theme-light h4.eqoa-page-title,
html.eqoa-theme-light h5.eqoa-page-title,
html.eqoa-theme-light h6.eqoa-page-title {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
}

html.eqoa-theme-light .eqoa-page-title *,
html.eqoa-theme-light .eqoa-section-title *,
html.eqoa-theme-light .eqoa-page-title .mw-headline,
html.eqoa-theme-light .eqoa-section-title .mw-headline {
    color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .eqoa-npc-info-table, html.eqoa-theme-light .eqoa-npc-info-table tr, html.eqoa-theme-light .eqoa-npc-info-table td, html.eqoa-theme-light .eqoa-npc-zone-table, html.eqoa-theme-light .eqoa-npc-zone-table tr, html.eqoa-theme-light .eqoa-npc-zone-table td, html.eqoa-theme-light .eqoa-npc-legend, html.eqoa-theme-light .eqoa-npc-legend td {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border-color: var(--wiki-border) !important;
}

html.eqoa-theme-light .eqoa-npc-info-table td:first-child, html.eqoa-theme-light .eqoa-npc-zone-table th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
}

html.eqoa-theme-light .eqoa-npc-zone-table tr:nth-child(even) td, html.eqoa-theme-light .eqoa-npc-legend td {
    background: var(--wiki-panel-2) !important;
}

html.eqoa-theme-light .eqoa-npc-caption {
    color: var(--wiki-muted) !important;
}

.npcname-header {
    margin: 0 !important;
    padding: 8px 12px !important;
    line-height: 1.1 !important;
}

#cb-theme-toggle, #cm-theme-toggle {
    display: none !important;
}

html.eqoa-theme-light #character-builder-app, html.eqoa-theme-light #cm-calculator-app, html.eqoa-theme-light #character-builder-app .character-builder-box, html.eqoa-theme-light #cm-calculator-app .cm-calculator-box {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light #character-builder-app .character-builder-controls, html.eqoa-theme-light #cm-calculator-app .character-builder-controls, html.eqoa-theme-light #character-builder-app .cm-search-tools, html.eqoa-theme-light #cm-calculator-app .cm-search-tools {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #character-builder-app label,
html.eqoa-theme-light #cm-calculator-app label {
    color: #5a3928 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #character-builder-app .character-builder-title,
html.eqoa-theme-light #character-builder-app .character-builder-section-title,
html.eqoa-theme-light #character-builder-app .cb-slot-section-title,
html.eqoa-theme-light #character-builder-app .cb-export-panel-title,
html.eqoa-theme-light #character-builder-app .cb-export-small-title,
html.eqoa-theme-light #cm-calculator-app .character-builder-title,
html.eqoa-theme-light #cm-calculator-app .character-builder-section-title,
html.eqoa-theme-light #cm-calculator-app .cm-title,
html.eqoa-theme-light #cm-calculator-app .cm-section-title,
html.eqoa-theme-light #cm-calculator-app .cm-panel-title,
html.eqoa-theme-light #cm-calculator-app .cm-master-class-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow: hidden !important;
}

html.eqoa-theme-light #character-builder-app table, html.eqoa-theme-light #cm-calculator-app table, html.eqoa-theme-light #character-builder-app .character-builder-stat-table, html.eqoa-theme-light #cm-calculator-app .character-builder-stat-table, html.eqoa-theme-light #character-builder-app .character-builder-equipped-table {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light #character-builder-app th, html.eqoa-theme-light #cm-calculator-app th {
    background: #ece8e1 !important;
    background-color: #ece8e1 !important;
    color: #1f1712 !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light #character-builder-app td, html.eqoa-theme-light #cm-calculator-app td {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border-color: #e6e0d8 !important;
}

html.eqoa-theme-light #character-builder-app input, html.eqoa-theme-light #character-builder-app select, html.eqoa-theme-light #character-builder-app textarea, html.eqoa-theme-light #cm-calculator-app input, html.eqoa-theme-light #cm-calculator-app select, html.eqoa-theme-light #cm-calculator-app textarea {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
    box-shadow: none !important;
}

html.eqoa-theme-light #character-builder-app input::placeholder, html.eqoa-theme-light #character-builder-app textarea::placeholder, html.eqoa-theme-light #cm-calculator-app input::placeholder, html.eqoa-theme-light #cm-calculator-app textarea::placeholder {
    color: #665a50 !important;
    opacity: 1 !important;
}

html.eqoa-theme-light #character-builder-app button, html.eqoa-theme-light #cm-calculator-app button, html.eqoa-theme-light #character-builder-app .cm-action-button, html.eqoa-theme-light #cm-calculator-app .cm-action-button, html.eqoa-theme-light #cm-calculator-app .cm-tab-button, html.eqoa-theme-light #cm-calculator-app .cm-view-button, html.eqoa-theme-light #cm-calculator-app .cm-reset-button, html.eqoa-theme-light #cm-calculator-app .cm-clear-search-button, html.eqoa-theme-light #cm-calculator-app .cm-mini-remove-button {
    background: #3b2a20 !important;
    background-color: #3b2a20 !important;
    border: 1px solid #4a3427 !important;
    color: #ffffff !important;
}

html.eqoa-theme-light #character-builder-app button:hover, html.eqoa-theme-light #cm-calculator-app button:hover {
    background: #6b4b38 !important;
    background-color: #6b4b38 !important;
    color: #ffffff !important;
}

html.eqoa-theme-light #character-builder-app .cb-tab-active, html.eqoa-theme-light #cm-calculator-app .cm-tab-active, html.eqoa-theme-light #cm-calculator-app .cm-view-active {
    background: #d8b04c !important;
    background-color: #d8b04c !important;
    border-color: #b68a2c !important;
    color: #1f1712 !important;
}

html.eqoa-theme-light #character-builder-app .character-builder-slot, html.eqoa-theme-light #character-builder-app .character-builder-equipped-summary, html.eqoa-theme-light #character-builder-app .character-builder-gear-column, html.eqoa-theme-light #cm-calculator-app .cm-purchased-panel, html.eqoa-theme-light #cm-calculator-app .cm-master-class-panel, html.eqoa-theme-light #cm-calculator-app .cm-unlocked-box, html.eqoa-theme-light #cm-calculator-app #cm-mastery-panel {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #character-builder-app .cb-item-picker-list, html.eqoa-theme-light #character-builder-app .cb-picker-item, html.eqoa-theme-light #character-builder-app .cb-picker-none {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    border-color: #e6e0d8 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #character-builder-app .cb-picker-item:hover {
    background: #ece8e1 !important;
    background-color: #ece8e1 !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #d8d1c7 !important;
    border-left-color: #b68a2c !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-card-title {
    color: #1f1712 !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-card-desc, html.eqoa-theme-light #cm-calculator-app .cm-card-req, html.eqoa-theme-light #cm-calculator-app .cm-chain-preview, html.eqoa-theme-light #cm-calculator-app .cm-card-meta {
    color: #665a50 !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-card-locked {
    background: #fff4f2 !important;
    background-color: #fff4f2 !important;
    border-color: #e2b8b2 !important;
}

html.eqoa-theme-light #character-builder-app .character-builder-warning-box, html.eqoa-theme-light #cm-calculator-app .character-builder-warning-box, html.eqoa-theme-light #cm-calculator-app .cm-unlock-hint {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-purchased-item {
    background: #fbfaf8 !important;
    background-color: #fbfaf8 !important;
    border-color: #e6e0d8 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-purchased-cost {
    color: #5a3928 !important;
}

html.eqoa-theme-light #character-builder-app .character-builder-tooltip, html.eqoa-theme-light #cm-calculator-app .cm-tooltip {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
}

html.eqoa-theme-light #cm-calculator-app .cm-tooltip-title, html.eqoa-theme-light #character-builder-app .cb-tooltip-title {
    color: #1f1712 !important;
}

html.eqoa-theme-light #character-builder-app, html.eqoa-theme-light #character-builder-app div, html.eqoa-theme-light #character-builder-app span, html.eqoa-theme-light #character-builder-app p, html.eqoa-theme-light #cm-calculator-app, html.eqoa-theme-light #cm-calculator-app div, html.eqoa-theme-light #cm-calculator-app span, html.eqoa-theme-light #cm-calculator-app p {
    text-shadow: none !important;
}

html.eqoa-theme-dark {
    --page-bg: #100d0a;
    --page-panel: #19130f;
    --page-panel-2: #241b12;
    --page-panel-3: #332513;
    --page-border: #2c241d;
    --page-border-soft: #221b16;
    --page-text: #d8d0c4;
    --page-muted: #8f867a;
    --page-heading: #ffffff;
    --page-accent: #d89a22;
    --page-accent-hover: #ffb733;
}

html.eqoa-theme-light {
    --page-bg: #f6f4f1;
    --page-panel: #ffffff;
    --page-panel-2: #fbfaf8;
    --page-panel-3: #ece8e1;
    --page-border: #d8d1c7;
    --page-border-soft: #e6e0d8;
    --page-text: #2b211b;
    --page-muted: #665a50;
    --page-heading: #1f1712;
    --page-accent: #5a3928;
    --page-accent-hover: #8a5538;
}

html.eqoa-theme-dark .exp-camp-table caption,
html.eqoa-theme-dark .exp-camp-table th,
html.eqoa-theme-light .exp-camp-table caption,
html.eqoa-theme-light .exp-camp-table th {
    background: var(--page-panel-3) !important;
    background-color: var(--page-panel-3) !important;
    color: var(--page-accent) !important;
}

html.eqoa-theme-dark .exp-camp-table td, html.eqoa-theme-light .exp-camp-table td {
    background: var(--page-panel) !important;
    background-color: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}

html.eqoa-theme-dark .exp-camp-table tr:nth-child(even) td, html.eqoa-theme-light .exp-camp-table tr:nth-child(even) td {
    background: var(--page-panel-2) !important;
    background-color: var(--page-panel-2) !important;
}

html.eqoa-theme-light .spell-data, html.eqoa-theme-light .spell-name, html.eqoa-theme-light .SpellRow {
    color: var(--page-text) !important;
}

html.eqoa-theme-light .spell-divider, html.eqoa-theme-light .spell-divider * {
    background: var(--page-border) !important;
    background-color: var(--page-border) !important;
}

html.eqoa-theme-dark .raid-encounter-table .exp-camp-table, html.eqoa-theme-light .raid-encounter-table .exp-camp-table {
    background: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}

html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-light .raid-encounter-table th {
    background: var(--page-panel-3) !important;
    color: var(--page-accent) !important;
    border-color: var(--page-border) !important;
}

html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td, html.eqoa-theme-light .raid-encounter-table .exp-camp-row td {
    background: var(--page-panel) !important;
    color: var(--page-text) !important;
    border-color: var(--page-border) !important;
}

html.eqoa-theme-dark .raid-encounter-table .exp-camp-row td:nth-child(even), html.eqoa-theme-light .raid-encounter-table .exp-camp-row td:nth-child(even) {
    background: var(--page-panel-2) !important;
}

html.eqoa-theme-light, html.eqoa-theme-light body, html.eqoa-theme-light body.skin-monobook, html.eqoa-theme-light #globalWrapper, html.eqoa-theme-light #column-content, html.eqoa-theme-light #content, html.eqoa-theme-light #column-one, html.eqoa-theme-light #p-cactions, html.eqoa-theme-light #p-cactions *, html.eqoa-theme-light #p-personal, html.eqoa-theme-light #p-personal *, html.eqoa-theme-light #head, html.eqoa-theme-light #mw-head, html.eqoa-theme-light #left-navigation, html.eqoa-theme-light #right-navigation, html.eqoa-theme-light .portlet, html.eqoa-theme-light .pBody {
    background-color: #f6f4f1 !important;
    background-image: none !important;
}

html.eqoa-theme-light #p-cactions li, html.eqoa-theme-light #p-cactions li a, html.eqoa-theme-light #p-personal li, html.eqoa-theme-light #p-personal li a {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light #p-cactions li.selected, html.eqoa-theme-light #p-cactions li.selected a {
    background-color: #ece8e1 !important;
    color: #1f1712 !important;
}

html.eqoa-theme-light #p-logo {
    background-color: #f6f4f1 !important;
}

html.eqoa-theme-light #p-logo a {
    background-color: transparent !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#eqoa-theme-toggle.eqoa-theme-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    background: var(--wiki-button-bg, #202020) !important;
    color: var(--wiki-button-text, #ffffff) !important;
    border: 1px solid var(--wiki-border, #343434) !important;
    border-radius: 6px !important;
}

#eqoa-theme-toggle, #eqoa-theme-toggle.eqoa-theme-toggle, button#eqoa-theme-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    background: #3b2a20 !important;
    color: #ffffff !important;
    border: 1px solid #4a3427 !important;
    border-radius: 6px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

html.eqoa-theme-light #column-one h3,
html.eqoa-theme-light #column-one h5,
html.eqoa-theme-light #column-one h3[id$="-label"],
html.eqoa-theme-light #column-one h5[id$="-label"],
html.eqoa-theme-light #column-one .portlet h3,
html.eqoa-theme-light #column-one .portlet h5,
html.eqoa-theme-light #column-one .generated-sidebar h3,
html.eqoa-theme-light #column-one .generated-sidebar h5,
html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-title,
html.eqoa-theme-light #column-one #p-cactions h3,
html.eqoa-theme-light #column-one #p-cactions h5 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 20px !important;

    margin: 0 0 4px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

html.eqoa-theme-light #column-one a, html.eqoa-theme-light .portlet a, html.eqoa-theme-light .generated-sidebar a {
    color: #2b211b !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #column-one a:hover, html.eqoa-theme-light .portlet a:hover, html.eqoa-theme-light .generated-sidebar a:hover {
    color: #7a4a2f !important;
    text-decoration: underline !important;
}

html.eqoa-theme-light #column-one li, html.eqoa-theme-light .portlet li, html.eqoa-theme-light .generated-sidebar li {
    color: #5a3928 !important;
}

html.eqoa-theme-light #p-search h3, html.eqoa-theme-light #p-search h5 {
    color: #4a2f1f !important;
    background: transparent !important;
}

.rare-encounter-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.rare-encounter-table th {
    padding: 7px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid;
}

.rare-encounter-table td {
    vertical-align: top;
    padding: 0;
    border: 1px solid;
}

.rare-encounter-table .raid-checkboxify b {
    display: block;
    padding: 7px 8px;
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.rare-encounter-table .raid-checkboxify b:first-child {
    border-top: 0;
}

.rare-encounter-table .raid-checkboxify label {
    display: block;
    padding: 6px 8px;
    margin: 0;
    line-height: 1.25;
    border-bottom: 1px solid;
    font-size: 13px;
}

.rare-encounter-table .raid-checkboxify br {
    display: none;
}

html.eqoa-theme-dark .rare-encounter-table th, html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify b {
    background: #3a3a3a;
    color: #ffd45a;
    border-color: #1f1f1f;
}

html.eqoa-theme-dark .rare-encounter-table td {
    background: #0d0c0b;
    border-color: #252525;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label {
    color: #ffd45a;
    border-color: #252525;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    background: #0d0c0b;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(even) {
    background: #242428;
}

html.eqoa-theme-light .rare-encounter-table th, html.eqoa-theme-light .rare-encounter-table .raid-checkboxify b {
    background: #e6e1d8;
    color: #1f140c;
    border-color: #d2c8bb;
}

html.eqoa-theme-light .rare-encounter-table td {
    background: #ffffff;
    border-color: #ddd5ca;
}

html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label {
    color: #1f140c;
    border-color: #e6ded4;
}

html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    background: #ffffff;
}

html.eqoa-theme-light .rare-encounter-table .raid-checkboxify label:nth-of-type(even) {
    background: #f7f5f1;
}

.raid-encounter-table table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.raid-encounter-table th {
    padding: 7px 8px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: 1px solid #252525 !important;
}

.raid-encounter-table td {
    vertical-align: top !important;
    padding: 0 !important;
    border: 1px solid #252525 !important;
}

.raid-encounter-table .raid-checkboxify > b {
    display: block !important;
    padding: 7px 8px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: bold !important;
    border-top: 1px solid #252525 !important;
    border-bottom: 1px solid #252525 !important;
}

.raid-encounter-table .raid-checkboxify > b:first-child {
    border-top: 0 !important;
}

.raid-encounter-table .raid-checkboxify label {
    display: block !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #252525 !important;
}

.raid-encounter-table .raid-checkboxify br {
    display: none !important;
}

html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify > b {
    background: #3a3a3a !important;
    color: #ffd45a !important;
}

html.eqoa-theme-dark .raid-encounter-table td {
    background: #0d0c0b !important;
}

html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label {
    color: #ffd45a !important;
}

html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    background: #0d0c0b !important;
}

html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
    background: #242428 !important;
}

html.eqoa-theme-light .raid-encounter-table th, html.eqoa-theme-light .raid-encounter-table .raid-checkboxify > b {
    background: #e6e1d8 !important;
    color: #1f140c !important;
    border-color: #d2c8bb !important;
}

html.eqoa-theme-light .raid-encounter-table td {
    background: #ffffff !important;
    border-color: #ddd5ca !important;
}

html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label {
    color: #1f140c !important;
    border-color: #e6ded4 !important;
}

html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    background: #ffffff !important;
}

html.eqoa-theme-light .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
    background: #f7f5f1 !important;
}

.rare-encounter-mobile-layout {
    display: none;
}

.rare-mobile-box {
    margin-bottom: 14px;
    border: 1px solid;
}

.rare-mobile-heading {
    padding: 9px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid;
}

.rare-mobile-body {
    padding: 0;
}

html.eqoa-theme-dark .rare-mobile-box {
    background: #0d0c0b;
    border-color: #252525;
}

html.eqoa-theme-dark .rare-mobile-heading {
    background: #3a3a3a;
    color: #ffd45a;
    border-color: #1f1f1f;
}

html.eqoa-theme-light .rare-mobile-box {
    background: #ffffff;
    border-color: #ddd5ca;
}

html.eqoa-theme-light .rare-mobile-heading {
    background: #e6e1d8;
    color: #1f140c;
    border-color: #d2c8bb;
}

.eqoa-panel {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border) !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.eqoa-header {
    position: relative !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-heading) !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border: 0 !important;
    text-shadow: none !important;
}

.eqoa-header::after {
    content: "" !important;
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 0 !important;
    height: 1px !important;
    background: var(--wiki-border) !important;
}

.eqoa-body {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    padding: 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.eqoa-row {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    padding: 7px 10px !important;
    border-bottom: 1px solid var(--wiki-border-soft) !important;
}

.eqoa-row:nth-child(even) {
    background: var(--wiki-panel-2) !important;
}

.eqoa-row:last-child {
    border-bottom: 0 !important;
}

.eqoa-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.eqoa-panel ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eqoa-panel li {
    margin: 0 0 7px 0 !important;
    padding: 0 !important;
}

.eqoa-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
}

.eqoa-table th {
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px 10px !important;
    text-align: center !important;
    font-weight: bold !important;
}

.eqoa-table td {
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border: 1px solid var(--wiki-border-soft) !important;
    padding: 8px 10px !important;
    vertical-align: top !important;
}

.eqoa-table tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
}

.eqoa-panel pre, .eqoa-body pre {
    display: block !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--wiki-text) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-family: inherit !important;
    white-space: pre-wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}

.eqoa-panel code, .eqoa-body code {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--wiki-text) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-family: inherit !important;
    padding: 0 !important;
}

html.eqoa-theme-dark, html.eqoa-theme-dark body, html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #column-content, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark #mw-content-text, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-parser-output {
    background: var(--wiki-bg) !important;
    background-color: var(--wiki-bg) !important;
    color: var(--wiki-text) !important;
}

html.eqoa-theme-dark .eqoa-panel, html.eqoa-theme-dark .eqoa-body, html.eqoa-theme-dark .zones-box, html.eqoa-theme-dark .zones-content, html.eqoa-theme-dark .zone-details-content, html.eqoa-theme-dark .npc-template, html.eqoa-theme-dark .quest-template, html.eqoa-theme-dark .wikitable, html.eqoa-theme-dark .toc, html.eqoa-theme-dark .catlinks {
    background: var(--wiki-panel) !important;
    background-color: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    border-color: var(--wiki-border) !important;
}

html.eqoa-theme-dark .eqoa-header, html.eqoa-theme-dark .zones-header, html.eqoa-theme-dark .zone-details-header, html.eqoa-theme-dark .npc-header, html.eqoa-theme-dark .wikitable th, html.eqoa-theme-dark .eqoa-table th {
    background: #332513 !important;
    background-color: #332513 !important;
    color: #d89a22 !important;
    border-color: #4a3518 !important;
    text-shadow: none !important;
}

html.eqoa-theme-dark .eqoa-header *, html.eqoa-theme-dark .zones-header *, html.eqoa-theme-dark .zone-details-header *, html.eqoa-theme-dark .npc-header * {
    color: #d89a22 !important;
    text-shadow: none !important;
}

html.eqoa-theme-dark .eqoa-row:nth-child(even), html.eqoa-theme-dark .eqoa-table tr:nth-child(even) td, html.eqoa-theme-dark .wikitable tr:nth-child(even) td {
    background: var(--wiki-panel-2) !important;
    background-color: var(--wiki-panel-2) !important;
}

html.eqoa-theme-dark a, html.eqoa-theme-dark .mw-body a, html.eqoa-theme-dark .mw-parser-output a, html.eqoa-theme-dark table a, html.eqoa-theme-dark .wikitable a {
    color: var(--wiki-link) !important;
}

html.eqoa-theme-dark a:hover, html.eqoa-theme-dark .mw-body a:hover, html.eqoa-theme-dark .mw-parser-output a:hover, html.eqoa-theme-dark table a:hover, html.eqoa-theme-dark .wikitable a:hover {
    color: var(--wiki-link-hover) !important;
}

html.eqoa-theme-dark .spell-col .spell-row:nth-child(odd) {
    background: #21180f !important;
    background-color: #21180f !important;
}

html.eqoa-theme-dark .spell-col .spell-row:nth-child(even) {
    background: #262629 !important;
    background-color: #262629 !important;
}

html.eqoa-theme-dark .SpellList .SpellRow:nth-child(odd) {
    background: #21180f !important;
    background-color: #21180f !important;
}

html.eqoa-theme-dark .SpellList .SpellRow:nth-child(even) {
    background: #262629 !important;
    background-color: #262629 !important;
}

html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(odd), html.eqoa-theme-dark .eqoa-panel .eqoa-body .SpellRow:nth-child(odd) {
    background: #21180f !important;
    background-color: #21180f !important;
}

html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(even), html.eqoa-theme-dark .eqoa-panel .eqoa-body .SpellRow:nth-child(even) {
    background: #262629 !important;
    background-color: #262629 !important;
}

html.eqoa-theme-dark .spell-row, html.eqoa-theme-dark .SpellRow {
    border-bottom: 1px solid #3a3027 !important;
}

.job-infobox, .job-contents {
    width: 100% !important;
}

.job-infobox .eqoa-table {
    margin: 0 !important;
}

.job-infobox .eqoa-table td:first-child {
    width: 45% !important;
    font-weight: 700 !important;
    color: var(--wiki-link) !important;
}

.job-infobox .eqoa-table td:last-child {
    width: 55% !important;
}

.class-mastery-box {
    width: 100% !important;
}

.class-mastery-table {
    margin: 0 !important;
}

.class-mastery-table th, .class-mastery-table td {
    vertical-align: top !important;
}

.class-mastery-table .mastery-cost, .class-mastery-table .mastery-level {
    text-align: center !important;
    width: 8% !important;
    white-space: nowrap !important;
}

.class-mastery-table .mastery-name {
    width: 24% !important;
    font-weight: 700 !important;
}

.class-mastery-table .mastery-req, .class-mastery-table .mastery-unlocks {
    width: 30% !important;
}

#p-logo {
    width: 160px !important;
    height: 160px!important;
    margin: 0 auto !important;
}

#p-logo a {
    display: block !important;
    width: 160px !important;
    height: 160px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto !important;
}

.cb-tooltip-warning {
    color: #ff4d4d;
    font-weight: bold;
    margin-top: 6px;
}

.zone-right .info-table td {
    vertical-align: top;
}

.zone-right .info-table td:first-child {
    width: 110px;
    font-weight: bold;
}

.zone-map-block {
    margin-top: 10px;
    background: transparent !important;
}

.zone-map-title {
    font-weight: bold;
    margin-bottom: 6px;
}

.zone-map-content {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    max-width: 100%;
    overflow: hidden;
}

.zone-map-content p {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.zone-map-content a, .zone-map-content a.image, .zone-map-content .mw-file-description {
    background: transparent !important;
    display: inline-block;
    max-width: 100%;
}

.zone-map-content img, .zone-map-content .mw-file-element {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
}

.zone-map-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.zone-right .zone-map-content .thumb, .zone-right .zone-map-content .thumbinner, .zone-right .zone-map-content .tright, .zone-right .zone-map-content .tleft, .zone-right .zone-map-content figure, .zone-right .zone-map-content .mw-default-size, .zone-right .zone-map-content .mw-halign-none, .zone-right .zone-map-content .mw-halign-left, .zone-right .zone-map-content .mw-halign-right, .zone-right .zone-map-content .mw-halign-center {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.zone-right .zone-map-block, .zone-right .zone-map-content, .zone-right .zone-map-content *, .zone-right .zone-map-content p, .zone-right .zone-map-content a, .zone-right .zone-map-content a.image, .zone-right .zone-map-content .mw-file-description, .zone-right .zone-map-content .mw-file-element {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
}

.zone-right .zone-map-content {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden;
}

.zone-right .zone-map-content img, .zone-right .zone-map-content .mw-file-element {
    background: transparent !important;
    border: 0 !important;
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.soa-award-banner {
    margin: 12px auto 18px auto;
    padding: 14px 18px;
    max-width: 1100px;
    background: rgba(18, 22, 45, 0.94);
    border: 2px solid #d6b25e;
    border-radius: 10px;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 12px rgba(214, 178, 94, 0.45);
}

.soa-award-banner a {
    color: #86b8ff;
    font-weight: 700;
    margin-left: 6px;
    text-decoration: none;
}

.soa-award-banner a:hover {
    color: #b9d6ff;
    text-decoration: underline;
}

.soa-award-icon {
    margin-right: 6px;
}

.soa-welcome-text {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    font-family: "Palatino Linotype", Georgia, serif;
    color: #f2e6c9;
    line-height: 1.45;
    margin: 18px auto 26px auto;
    text-shadow: 0 0 4px rgba(214,178,94,0.35),
        0 0 10px rgba(214,178,94,0.18);
}

.soa-about-section {
    max-width: 1200px;
    margin: 24px auto;
    padding: 22px 28px;
    background: rgba(18, 18, 24, 0.92);
    border: 2px solid #d6b25e;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(214,178,94,0.18);
    color: #e7dcc0;
}

.soa-about-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    font-family: "Palatino Linotype", Georgia, serif;
    color: #ffd66b;
    margin-bottom: 18px;
    text-shadow: 0 0 6px rgba(214,178,94,0.35);
}

.soa-about-body {
    font-size: 18px;
    line-height: 1.75;
    text-align: center;
    font-family: Georgia, serif;
    color: #f2e6c9;
}

.soa-about-body a {
    color: #7db6ff;
    font-weight: 700;
    text-decoration: none;
}

.soa-about-body a:hover {
    text-decoration: underline;
}

.raid-list {
    margin: 12px 0 18px 0;
    background: #14100d;
    border: 1px solid #3b2a16;
    color: #f2f2f2;
}

.raid-list__title {
    margin: 0;
    padding: 8px 10px;
    background: #1d1916;
    border-bottom: 1px solid #6a4a1f;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.raid-list__cols {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 6px;
}

.raid-list__col {
    flex: 0 0 260px;
    min-width: 240px;
    padding: 0;
    border: 1px solid #d49a22;
    background: #1d1916;
    color: #f2f2f2;
    line-height: 1.35;
}

.raid-list .raid-list__col br {
    display: none;
}

.raid-list .raid-list__col b {
    display: block;
    min-height: 28px;
    padding: 0 8px;
    line-height: 28px;
    background: #332513;
    color: #ffffff;
    font-weight: 700;
}

.raid-list .raid-list__col label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 28px;
    padding: 0 8px;
    line-height: 28px;
}

.raid-list .raid-list__col label:nth-of-type(odd) {
    background: #1d1916;
}

.raid-list .raid-list__col label:nth-of-type(even) {
    background: #241a12;
}

.raid-list .raid-list__col input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}

.raid-list .raid-list__col a {
    color: #ffb000;
    font-weight: 700;
    text-decoration: none;
}

.raid-list .raid-list__col a:hover {
    color: #ffd36a;
    text-decoration: underline;
}

.raid-list__section-title {
    padding: 6px 10px;
    background: #1d1916;
    border-top: 1px solid #6a4a1f;
    border-bottom: 1px solid #6a4a1f;
    color: #ffb000;
    font-weight: 700;
    text-align: center;
}

#character-builder-app, #character-builder-app .character-builder-box, #cm-calculator-app, #cm-calculator-app .cm-box {
    background: #14100d !important;
    color: #f2f2f2 !important;
}

#character-builder-app .character-builder-title, #character-builder-app .character-builder-section-title, #cm-calculator-app .cm-title, #cm-calculator-app .cm-section-title {
    background: #1d1916 !important;
    color: #ffb000 !important;
    border-bottom: 1px solid #6a4a1f !important;
}

#character-builder-app table, #character-builder-app th, #character-builder-app td, #cm-calculator-app table, #cm-calculator-app th, #cm-calculator-app td {
    background: #1d1916 !important;
    color: #f2f2f2 !important;
    border-color: #3b2a16 !important;
}

#character-builder-app th, #cm-calculator-app th {
    background: #241a12 !important;
    color: #ffb000 !important;
}

#character-builder-app input, #character-builder-app select, #character-builder-app textarea, #cm-calculator-app input, #cm-calculator-app select, #cm-calculator-app textarea {
    background: #1d1916 !important;
    color: #f2f2f2 !important;
    border: 1px solid #3b2a16 !important;
}

#character-builder-app button, #cm-calculator-app button {
    background: #1d1916 !important;
    color: #ffb000 !important;
    border: 1px solid #6a4a1f !important;
}

#character-builder-app button:hover, #cm-calculator-app button:hover {
    background: #4a3214 !important;
    color: #ffd36a !important;
}

#character-builder-app a, #cm-calculator-app a, #character-builder-app .cb-equipped-item-name, #cm-calculator-app .cm-mastery-name {
    color: #ffb000 !important;
}

#character-builder-app .character-builder-slot, #character-builder-app .character-builder-equipped-summary, #character-builder-app .character-builder-warning-box, #character-builder-app .cb-picker-item, #cm-calculator-app .cm-mastery-card, #cm-calculator-app .cm-warning-box {
    background: #1d1916 !important;
    color: #f2f2f2 !important;
    border-color: #3b2a16 !important;
}

#character-builder-app .cb-picker-item:nth-child(even), #cm-calculator-app .cm-mastery-card:nth-child(even) {
    background: #241a12 !important;
}

#character-builder-app .cb-picker-selected, #cm-calculator-app .cm-selected {
    background: #1d1916 !important;
    color: #ffb000 !important;
}

.cm-card-description-chip {
    flex-basis: 100%;
    background: rgba(242, 171, 49, 0.08);
    border: 1px solid rgba(242, 171, 49, 0.22);
    color: #e6e1d8;
    font-weight: 700;
}

#column-one #searchInput {
    width: 125px !important;
}

#p-personal h3 {
    display: none !important;
}

#p-personal .pBody, #p-personal ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
}

#p-personal li {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    position: relative !important;
    width: auto !important;
    min-width: max-content !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    list-style: none !important;
    overflow: visible !important;
}

#p-personal a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    height: 24px !important;
    line-height: 22px !important;
    padding: 1px 8px !important;
    margin: 0 !important;
    border: 1px solid #6b5430 !important;
    background: #1d1916 !important;
    color: #ffb000 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

#p-personal a:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
}

#p-personal #pt-notifications-alert, #p-personal #pt-notifications-notice {
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    height: 24px !important;
    overflow: visible !important;
}

#p-personal #pt-notifications-alert a, #p-personal #pt-notifications-notice a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    height: 24px !important;
    line-height: 22px !important;
    padding: 1px 8px !important;
    margin: 0 !important;
    border: 1px solid #6b5430 !important;
    background: #1d1916 !important;
    color: #ffb000 !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

#p-personal #pt-notifications-alert a:hover, #p-personal #pt-notifications-notice a:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
}

#p-personal #pt-userpage, #p-personal #pt-userpage a {
    min-width: 78px !important;
}

html.eqoa-theme-dark, html.eqoa-theme-dark body, body.eqoa-theme-dark {
    background: #090705 !important;
    color: #f2d28a !important;
}

html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-parser-output, html.eqoa-theme-dark .mw-body-content, html.eqoa-theme-dark #userloginForm, html.eqoa-theme-dark #userlogin, html.eqoa-theme-dark .mw-ui-container, html.eqoa-theme-dark .mw-htmlform, html.eqoa-theme-dark .mw-htmlform-ooui-wrapper, html.eqoa-theme-dark .mw-parser-output, html.eqoa-theme-dark .mw-specialpage-summary, html.eqoa-theme-dark .mw-createacct-benefits-container {
    background: #090705 !important;
    color: #f2d28a !important;
}

html.eqoa-theme-dark h1, html.eqoa-theme-dark h2, html.eqoa-theme-dark h3, html.eqoa-theme-dark label, html.eqoa-theme-dark .mw-label, html.eqoa-theme-dark .mw-ui-vform-field label {
    color: #ffb000 !important;
}

html.eqoa-theme-dark input, html.eqoa-theme-dark textarea, html.eqoa-theme-dark select {
    background: #1d1916 !important;
    color: #ffd45a !important;
    border: 1px solid #6b5430 !important;
}

html.eqoa-theme-dark input::placeholder {
    color: #9f8a65 !important;
}

html.eqoa-theme-dark .mw-ui-button, html.eqoa-theme-dark button, html.eqoa-theme-dark input[type="submit"] {
    background: #1d1916 !important;
    color: #ffb000 !important;
    border: 1px solid #6b5430 !important;
    font-weight: bold !important;
}

html.eqoa-theme-dark .mw-ui-button:hover, html.eqoa-theme-dark button:hover, html.eqoa-theme-dark input[type="submit"]:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
}

html.eqoa-theme-dark a {
    color: #ffb000 !important;
}

html.eqoa-theme-dark a:hover {
    color: #ffd45a !important;
}

html.eqoa-theme-dark .mw-createacct-benefits-list, html.eqoa-theme-dark .mw-createacct-benefits-list li, html.eqoa-theme-dark .mw-number-text, html.eqoa-theme-dark .mw-label-text {
    color: #f2d28a !important;
}

#mw-fr-revisiontag, .flaggedrevs_short, .flaggedrevs_basic, .flaggedrevs_preview, .flaggedrevs_notice, .flaggedrevs_reviewform, .mw-fr-reviewlink {
    display: none;
}

#character-builder-app .cb-rarity-common {
    color: #ffffff !important;
    text-shadow: none !important;
}

#character-builder-app .cb-rarity-uncommon {
    color: #2ee84a !important;
    text-shadow: 0 0 5px rgba(46, 232, 74, 0.55) !important;
}

#character-builder-app .cb-rarity-rare {
    color: #3f8cff !important;
    text-shadow: 0 0 5px rgba(63, 140, 255, 0.6) !important;
}

#character-builder-app .cb-rarity-ultra-rare {
    color: #ff4cff !important;
    text-shadow: 0 0 5px rgba(255, 76, 255, 0.7) !important;
}

#character-builder-app .cb-rarity-heroic {
    color: #b84cff !important;
    text-shadow: 0 0 5px rgba(184, 76, 255, 0.65) !important;
}

#character-builder-app .cb-rarity-legendary {
    color: #E31414 !important;
    text-shadow: 0 0 5px rgba(255, 140, 26, 0.65) !important;
}

#character-builder-app .cb-rarity-epic {
    color: #ff4cff !important;
    text-shadow: 0 0 5px rgba(255, 76, 255, 0.7) !important;
}

#character-builder-app .cb-rarity-artifact {
    color: #ff8c1a !important;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.7) !important;
}

#character-builder-app .cb-equipped-item-name, #character-builder-app .cb-picker-item span[class*="cb-rarity-"], #character-builder-app .cb-tooltip-title[class*="cb-rarity-"], #character-builder-app #cb-export-items span[class*="cb-rarity-"] {
    font-weight: bold !important;
}

#character-builder-app .cb-export-notes-wide {
    width: 100% !important;
}

#character-builder-app .cb-export-bottom-row {
    grid-template-columns: 1fr !important;
}

.cb-export-master-class-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 22px;
}

.cb-export-master-class-box {
    text-align: center;
}

.cb-export-path-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

.cb-export-path-row .cb-export-info-box, .cb-export-master-class-row .cb-export-info-box {
    min-height: 96px;
}

#cb-export-cm {
    font-size: 18px;
    line-height: 1.35;
}

#cb-export-cm b {
    color: #f4e6c8;
}

.cb-export-title-main {
    text-align: center !important;
    color: #d89a22 !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.cb-export-title-sub {
    text-align: center !important;
    color: #d89a22 !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-top: 8px !important;
}

.cb-export-build-name {
    margin-bottom: 24px;
    text-align: center !important;
    color: #f7ead1 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    margin: 22px 0 !important;
}

.cb-export-panel {
    background: #34302d !important;
    border: 1px solid #6b4a1e !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    padding: 16px !important;
}

.cb-export-top-row {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

.cb-export-identity-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}

.cb-export-identity-grid > div {
    background: #1d1916 !important;
    border: 1px solid #4f3718 !important;
    border-radius: 5px !important;
    padding: 9px 10px !important;
    min-height: 54px !important;
}

.cb-export-identity-grid b {
    display: block !important;
    color: #d89a22 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
}

.cb-export-identity-grid span {
    display: block !important;
    color: #f2e6c9 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.cb-export-panel-title {
    color: #d89a22 !important;
    text-align: center !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}

.cb-export-vitals-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

.cb-export-vitals-grid > div {
    background: #1f1710 !important;
    border: 1px solid #4f3718 !important;
    border-radius: 5px !important;
    padding: 10px !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.cb-export-stats-panel {
    margin-bottom: 14px !important;
}

.cb-export-stat-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px !important;
}

.cb-export-small-title {
    color: #d89a22 !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

#cb-export-core-stats, #cb-export-resists {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px 14px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
}

.cb-export-middle-row {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

#cb-export-items, #cb-export-cm, #cb-export-notes {
    font-size: 18px !important;
    line-height: 1.45 !important;
}

#cb-export-items > div, #cb-export-cm > div {
    padding: 3px 0 !important;
    border-bottom: 1px solid rgba(216, 154, 34, 0.16) !important;
}

.cb-export-notes-panel {
    min-height: 140px !important;
}

.cb-export-footer {
    color: #d89a22 !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 22px !important;
}

#cb-export-card-container {
    position: fixed !important;
    left: -99999px !important;
    top: 0 !important;
    width: 1200px !important;
    min-width: 1200px !important;
    height: auto !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#cb-export-card-inner {
    width: 1200px !important;
    min-width: 1200px !important;
    height: auto !important;
}

.cm-master-class-heading {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.cm-master-class-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 520px;
    margin: 10px auto 0;
    padding: 16px 22px;
    text-align: center;
    border: 1px solid rgba(218, 177, 91, 0.75);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(70, 43, 20, 0.95), rgba(22, 14, 9, 0.96)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 7px);
    box-shadow: inset 0 0 18px rgba(255, 217, 122, 0.12),
        0 0 14px rgba(0, 0, 0, 0.35);
}

.cm-master-class-text {
    display: block;
    width: 100%;
    color: #f4d37b;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center !important;
}

.cb-export-cm-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
    margin-top: 6px;
}

.cb-export-cm-row {
    padding: 3px 0;
    border-bottom: 1px solid rgba(199, 143, 38, 0.18);
    white-space: nowrap;
    font-size: 16px;
}

.cb-stat-cap {
    color: #ff3b3b;
    font-weight: 800;
    margin-left: 2px;
}

.cb-ingame-stat-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 14px;
    padding: 14px;
    background: linear-gradient(rgba(190, 178, 145, 0.92), rgba(168, 157, 126, 0.92));
    border: 1px solid rgba(40, 32, 20, 0.65);
    color: #050505;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.22);
}

.cb-ingame-stat-column {
    display: grid;
    gap: 0;
    border: 1px solid rgba(40, 32, 20, 0.28);
}

.cb-ingame-row, .cb-ingame-small-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) 64px minmax(90px, auto);
    align-items: center;
    min-height: 36px;
    padding: 3px 8px;
    border-bottom: 1px solid rgba(40, 32, 20, 0.22);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.cb-ingame-small-row {
    min-height: 26px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.85;
}

.cb-ingame-header-row {
    color: #00344f;
}

.cb-ingame-row input {
    width: 54px;
    height: 26px;
    text-align: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(40, 32, 20, 0.42);
    color: #00344f;
    font-size: 16px;
    font-weight: 800;
    box-sizing: border-box;
}

.cb-ingame-row span:last-child, .cb-ingame-small-row span:last-child {
    text-align: right;
    white-space: nowrap;
}

.character-builder-section-title {
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0 10px !important;
    padding: 8px 10px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #f2b229;
    background: linear-gradient(180deg, #4a2b0d, #2a1708);
    border-top: 1px solid rgba(242, 178, 41, 0.35);
    border-bottom: 1px solid rgba(242, 178, 41, 0.35);
}

.character-builder-subsection-title {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px !important;
    padding: 8px 10px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #f2b229;
    background: linear-gradient(180deg, #4a2b0d, #2a1708);
    border-top: 1px solid rgba(242, 178, 41, 0.35);
    border-bottom: 1px solid rgba(242, 178, 41, 0.35);
}

.cb-slot-section-title {
    margin: 0 0 8px !important;
    padding: 6px 8px;
    font-size: 15px;
}

#mw-fr-reviewform,
.flaggedrevs_reviewform,
.flaggedrevs_basic,
.mw-fr-reviewform {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 12px 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    background: #1d1916 !important;
    background-color: #1d1916 !important;
    background-image: none !important;

    color: #f2b229 !important;
    border: 1px solid rgba(160, 101, 28, 0.75) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

#mw-fr-reviewform *,
.flaggedrevs_reviewform *,
.flaggedrevs_basic *,
.mw-fr-reviewform * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#mw-fr-reviewform .cdx-card__text__title,
.flaggedrevs_reviewform .cdx-card__text__title,
.flaggedrevs_basic .cdx-card__text__title,
.mw-fr-reviewform .cdx-card__text__title {
    color: #f2b229 !important;
    text-shadow: none !important;
}

#mw-fr-reviewform input[type="text"],
#mw-fr-reviewform input[type="search"],
#mw-fr-reviewform input[type="button"],
#mw-fr-reviewform input[type="submit"],
#mw-fr-reviewform textarea,
#mw-fr-reviewform button,
.flaggedrevs_reviewform input[type="text"],
.flaggedrevs_reviewform input[type="search"],
.flaggedrevs_reviewform input[type="button"],
.flaggedrevs_reviewform input[type="submit"],
.flaggedrevs_reviewform textarea,
.flaggedrevs_reviewform button,
.mw-fr-reviewform input[type="text"],
.mw-fr-reviewform input[type="search"],
.mw-fr-reviewform input[type="button"],
.mw-fr-reviewform input[type="submit"],
.mw-fr-reviewform textarea,
.mw-fr-reviewform button {
    max-width: 100% !important;

    background: #130d09 !important;
    background-color: #130d09 !important;
    background-image: none !important;

    color: #f5d28a !important;
    border: 1px solid rgba(160, 101, 28, 0.75) !important;
    border-radius: 4px !important;
    box-shadow: none !important;

    font-weight: 700 !important;
}

#mw-fr-submit-accept,
.flaggedrevs_reviewform #mw-fr-submit-accept,
.mw-fr-reviewform #mw-fr-submit-accept {
    background: #4a2b0d !important;
    background-color: #4a2b0d !important;
    color: #f2b229 !important;
    border: 1px solid rgba(242, 178, 41, 0.55) !important;
}

html.eqoa-theme-light #mw-fr-reviewform,
html.eqoa-theme-light .flaggedrevs_reviewform,
html.eqoa-theme-light .flaggedrevs_basic,
html.eqoa-theme-light .mw-fr-reviewform {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    background-image: none !important;

    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
}

html.eqoa-theme-light #mw-fr-reviewform .cdx-card__text__title,
html.eqoa-theme-light .flaggedrevs_reviewform .cdx-card__text__title,
html.eqoa-theme-light .flaggedrevs_basic .cdx-card__text__title,
html.eqoa-theme-light .mw-fr-reviewform .cdx-card__text__title,
html.eqoa-theme-light #mw-fr-reviewform label,
html.eqoa-theme-light .flaggedrevs_reviewform label,
html.eqoa-theme-light .mw-fr-reviewform label {
    color: #2b211b !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #mw-fr-reviewform input[type="text"],
html.eqoa-theme-light #mw-fr-reviewform input[type="search"],
html.eqoa-theme-light #mw-fr-reviewform textarea,
html.eqoa-theme-light .flaggedrevs_reviewform input[type="text"],
html.eqoa-theme-light .flaggedrevs_reviewform input[type="search"],
html.eqoa-theme-light .flaggedrevs_reviewform textarea,
html.eqoa-theme-light .mw-fr-reviewform input[type="text"],
html.eqoa-theme-light .mw-fr-reviewform input[type="search"],
html.eqoa-theme-light .mw-fr-reviewform textarea {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
    box-shadow: none !important;
}

html.eqoa-theme-light #mw-fr-submit-accept,
html.eqoa-theme-light .flaggedrevs_reviewform #mw-fr-submit-accept,
html.eqoa-theme-light .mw-fr-reviewform #mw-fr-submit-accept {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;

    color: rgb(250, 248, 245) !important;
    border: 0 !important;
    border-radius: 4px !important;
}

#mw-fr-reviewform,
.flaggedrevs_reviewform,
.mw-fr-reviewform {
    width: auto !important;
    max-width: calc(100% - 360px) !important;
    margin-left: 180px !important;
    margin-right: 340px !important;
    box-sizing: border-box !important;
    clear: both !important;
}

@media screen and (max-width: 1200px) {
    #mw-fr-reviewform,
    .flaggedrevs_reviewform,
    .mw-fr-reviewform {
        max-width: none !important;
        margin-left: 180px !important;
        margin-right: 12px !important;
    }
}

@media screen and (max-width: 700px) {
    #mw-fr-reviewform,
    .flaggedrevs_reviewform,
    .mw-fr-reviewform {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

#footer a, .mw-footer a {
    color: #f2b229 !important;
}

#cb-export-card-inner.cb-export-card-dashboard {
    min-height: 900px !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    width: 1200px;
    min-width: 1200px;
    padding: 22px 24px 26px;
    color: #eee2c8;
    background: radial-gradient(circle at 50% 12%, rgba(255, 235, 180, 0.08), transparent 20%),
        radial-gradient(circle at 72% 58%, rgba(120, 70, 28, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(48, 42, 35, 0.98), rgba(20, 17, 14, 0.99));
    border: 4px ridge #2a2520;
    box-shadow: inset 0 0 0 2px rgba(210, 190, 150, 0.14),
        inset 0 0 70px rgba(0, 0, 0, 0.68),
        0 0 0 2px #0b0907;
    font-family: Georgia, "Times New Roman", serif;
}

#cb-export-card-inner .cb-export-title-main {
    font-size: 42px;
    color: #f0e0bd;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000, 0 0 8px rgba(240, 224, 189, 0.22);
    border-bottom: 2px groove rgba(210, 190, 150, 0.35);
    padding-bottom: 6px;
}

#cb-export-card-inner .cb-export-title-sub {
    color: #cfa35e;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 2px;
}

#cb-export-card-inner .cb-export-build-name {
    color: #f0e0bd;
    font-size: 28px;
    text-align: center;
    margin: 10px 0 12px;
    text-shadow: 0 2px 0 #000;
}

#cb-export-card-inner .cb-export-character-sheet {
    display: grid;
    grid-template-columns: 285px 1fr 1fr;
    grid-template-areas: "level level level"
        "info equipment equipment"
        "info mastery mastery"
        "notes notes notes";
    gap: 18px;
    margin-top: 12px;
}

#cb-export-card-inner .cb-export-level-panel {
    grid-area: level;
}

#cb-export-card-inner .cb-export-left-info-panel {
    grid-area: info;
}

#cb-export-card-inner .cb-export-equipment-panel {
    grid-area: equipment;
}

#cb-export-card-inner .cb-export-cm-panel {
    grid-area: mastery;
}

#cb-export-card-inner .cb-export-left-info-panel, #cb-export-card-inner .cb-export-equipment-panel, #cb-export-card-inner .cb-export-cm-panel, #cb-export-card-inner .cb-export-notes-panel {
    background: radial-gradient(circle at top left, rgba(255, 245, 210, 0.07), transparent 28%),
        linear-gradient(180deg, rgba(36, 31, 27, 0.96), rgba(17, 14, 12, 0.97));
    border: 2px groove rgba(185, 150, 95, 0.45);
    box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 240, 190, 0.08);
    padding: 14px;
}

#cb-export-card-inner .cb-export-identity-stack > div {
    display: block;
    padding: 10px 10px 12px;
    border-bottom: 1px solid rgba(196, 138, 36, 0.28);
}

#cb-export-card-inner .cb-export-identity-stack b {
    display: block;
    color: #d9a321;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 6px;
}

#cb-export-card-inner .cb-export-identity-stack span {
    display: block;
    color: #f3ead5;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 0 #000;
}

#cb-export-card-inner .cb-export-bars {
    margin-top: 12px;
}

#cb-export-card-inner .cb-export-resource-row {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

#cb-export-card-inner .cb-export-resource-row b {
    color: #f3ead5;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 0 #000;
}

#cb-export-card-inner .cb-export-resource-bar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 22px;
    overflow: hidden;
    border: 2px solid #050505;
    border-radius: 2px;
    background-color: #111;
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.45),
        inset 0 -4px 4px rgba(0,0,0,0.75),
        0 1px 0 rgba(255,255,255,0.18);
}

#cb-export-card-inner .cb-export-resource-bar i {
    display: block;
    border-left: 1px solid rgba(0,0,0,0.55);
    border-right: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 7px 4px rgba(255,255,255,0.22),
        inset 0 -7px 5px rgba(0,0,0,0.45);
}

#cb-export-card-inner .cb-export-resource-bar i:first-child {
    border-left: 0;
}

#cb-export-card-inner .cb-export-resource-bar i:last-of-type {
    border-right: 0;
}

#cb-export-card-inner .cb-export-hp-row .cb-export-resource-bar, #cb-export-card-inner .cb-export-hp-row .cb-export-resource-bar i {
    background-color: #b00000;
}

#cb-export-card-inner .cb-export-pow-row .cb-export-resource-bar, #cb-export-card-inner .cb-export-pow-row .cb-export-resource-bar i {
    background-color: #0070b8;
}

#cb-export-card-inner .cb-export-resource-bar span {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    text-shadow: 0 2px 0 #000;
    background: transparent;
}

#cb-export-card-inner .cb-export-ac-row {
    width: 96px;
    height: 96px;
    margin: 18px auto 0;
    border: 2px solid rgba(185, 150, 95, 0.5);
    border-radius: 50%;
    background: rgba(15, 12, 9, 0.78);
    color: #f3ead5;
    text-align: center;
    box-shadow: inset 0 0 18px rgba(0,0,0,0.55);
}

#cb-export-card-inner .cb-export-ac-row b {
    display: block;
    color: #d9a321;
    font-size: 17px;
    margin-top: 18px;
}

#cb-export-card-inner .cb-export-ac-row span {
    display: block;
    font-size: 25px;
    font-weight: 900;
}

#cb-export-card-inner .cb-export-stat-block {
    margin-top: 18px;
}

#cb-export-card-inner .cb-export-small-title, #cb-export-card-inner .cb-export-panel-title {
    color: #e8a51d;
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    border-top: 1px solid rgba(196, 138, 36, 0.32);
    border-bottom: 1px solid rgba(196, 138, 36, 0.32);
    margin: 14px 0 10px;
    padding: 6px 0;
    text-shadow: 0 2px 0 #000;
}

#cb-export-card-inner .cb-export-resist-title {
    margin-top: 18px;
}

#cb-export-card-inner #cb-export-core-stats, #cb-export-card-inner #cb-export-resists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    color: #eadfc8;
    font-size: 18px;
}

#cb-export-card-inner #cb-export-core-stats b, #cb-export-card-inner #cb-export-resists b {
    color: #f3ead5;
}

#cb-export-card-inner #cb-export-items > div, #cb-export-card-inner .cb-export-cm-row {
    padding: 4px 0;
    border-bottom: 1px solid rgba(158, 105, 28, 0.25);
    font-size: 17px;
}

#cb-export-card-inner .cb-export-cm-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 22px;
}

#cb-export-card-inner .cb-export-notes-panel {
    grid-area: notes;
    margin-top: 18px;
}

#cb-export-card-inner .cb-export-notes-box {
    min-height: 70px;
    padding: 12px;
    border: 1px solid rgba(185, 150, 95, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #eadfc8;
    font-size: 18px;
}

#cb-export-card-inner .cb-export-equipment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(158, 105, 28, 0.25);
    font-size: 17px;
}

#cb-export-card-inner .cb-export-slot-label {
    color: #d9a321;
    font-weight: 900;
    margin-right: 6px;
    text-transform: uppercase;
    font-size: 13px;
}

#cb-export-card-inner .cb-export-empty {
    color: #eadfc8;
    font-style: italic;
    opacity: 0.85;
}

#cb-export-card-inner .cb-export-class-path-row {
    display: block;
    font-size: 19px;
    line-height: 1.15;
    margin-top: 3px;
    color: #f3ead5;
}

#cb-export-card-inner .cb-export-class-path-row b {
    display: inline !important;
    color: #d9a321;
    font-size: 16px;
    margin-right: 5px;
}

#cb-export-card-inner .cb-export-level-title {
    color: #f3ead5;
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 0 #000;
}

#eqoa-right-rail iframe {
    display: block;
    width: 300px;
    height: 500px;
    border: 1px solid #5a3b12;
    border-radius: 4px;
    background: #111;
}

#content, .mw-body {
    margin-right: 340px !important;
}

#eqoa-topbar .eqoa-top-title {
    color: #f0b429;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

#eqoa-topbar .eqoa-top-search {
    display: flex;
    align-items: center;
    width: min(52vw, 920px);
    height: 40px;
    margin: 0;
}

#eqoa-topbar .eqoa-top-search input {
    width: 100%;
    height: 40px;
    padding: 0 44px 0 12px;
    background: #1b1006;
    color: #f0b429;
    border: 1px solid #7b5a22;
    border-radius: 0;
    font-size: 14px;
}

#eqoa-topbar .eqoa-top-search button {
    width: 44px;
    height: 40px;
    margin-left: -44px;
    padding: 0;
    background: #1b1006;
    color: #f0b429;
    border: 1px solid #7b5a22;
    border-left: 0;
    border-radius: 0;
    font-size: 0;
    cursor: pointer;
}

#eqoa-topbar .eqoa-top-search button::before {
    content: "\1F50D" !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 40px !important;
    color: inherit !important;
}

#eqoa-topbar .eqoa-discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 180px;
    padding: 0 14px;
    background: #5865f2;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
}

#p-search, #searchform, #simpleSearch {
    display: none !important;
}

html.eqoa-theme-dark #eqoa-right-rail {
    position: fixed;
    top: 92px;
    right: 18px;
    z-index: 100;
    width: 300px;
}

html.eqoa-theme-dark #eqoa-right-rail iframe {
    display: block;
    width: 300px;
    height: 500px;
    border: 1px solid #5a3b12;
    border-radius: 4px;
    background: #111;
}

html.eqoa-theme-dark #content, html.eqoa-theme-dark .mw-body {
    border-color: #7b4b16 !important;
    margin-right: 340px !important;
}

html.eqoa-theme-dark #p-search, html.eqoa-theme-dark #searchform, html.eqoa-theme-dark #simpleSearch {
    display: none !important;
}

html.eqoa-theme-dark #column-one {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 145px !important;
    margin: 0 !important;
    padding: 160px 0 0 0 !important;
    z-index: 20 !important;
    box-sizing: border-box !important;
    background: #080807 !important;
    border-right: 1px solid #6b4a1e !important;
}

html.eqoa-theme-dark #p-logo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 145px !important;
    height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 30 !important;
}

html.eqoa-theme-dark #p-logo a {
    display: block !important;
    width: 145px !important;
    height: 145px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

html.eqoa-theme-dark #column-one h3[id$="-label"], html.eqoa-theme-dark #column-one h5[id$="-label"], html.eqoa-theme-dark #column-one .portlet h3, html.eqoa-theme-dark #column-one .portlet h5, html.eqoa-theme-dark #column-one .generated-sidebar h3, html.eqoa-theme-dark #column-one .generated-sidebar h5 {
    display: block !important;
    width: 132px !important;
    height: 22px !important;
    line-height: 22px !important;
    margin: 8px 6px 4px 6px !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242,171,49,0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: -apple-system, "Segoe UI", system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

html.eqoa-theme-dark #column-one .portlet .pBody, html.eqoa-theme-dark #column-one .generated-sidebar .pBody, html.eqoa-theme-dark #column-one div.pBody {
    background: #080807 !important;
    background-color: #080807 !important;
    background-image: none !important;
    border: 0 !important;
    color: #f2ab31 !important;
}

html.eqoa-theme-dark #column-one .pBody a, html.eqoa-theme-dark #column-one .pBody a:visited {
    color: #f2ab31 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html.eqoa-theme-dark #column-one .pBody a:hover {
    color: #ffd45a !important;
    text-decoration: underline !important;
}

html.eqoa-theme-dark #p-cactions {
    position: absolute !important;
    top: 10px !important;
    left: 155px !important;
    right: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 50 !important;
    background: transparent !important;
    border: 0 !important;
}

html.eqoa-theme-dark #p-cactions ul {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

html.eqoa-theme-dark #p-cactions li {
    display: inline-block !important;
    float: none !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    height: auto !important;
    line-height: normal !important;
}

html.eqoa-theme-dark #p-cactions li a {
    display: inline-block !important;
    height: 19px !important;
    line-height: 19px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

html.eqoa-theme-dark #p-personal {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 8px !important;
    right: 18px !important;
    left: auto !important;
    z-index: 10000 !important;
    background: transparent !important;
}

html.eqoa-theme-dark #p-personal ul, html.eqoa-theme-dark #p-personal .pBody {
    display: flex !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    list-style: none !important;
}

html.eqoa-theme-dark #p-personal li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html.eqoa-theme-dark #p-personal a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 24px !important;
    padding: 1px 8px !important;
    background: #1d1916 !important;
    color: #ffb000 !important;
    border: 1px solid #6b5430 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html.eqoa-theme-dark #p-personal a:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
}

:root, html.eqoa-theme-dark, .eqoa-theme-dark {
    --wiki-bg: #080807;
    --wiki-panel: #1d1916;
    --wiki-panel-2: #11100e;
    --wiki-panel-3: #332513;
    --wiki-border: #3a3129;
    --wiki-border-soft: rgba(242, 171, 49, 0.16);
    --wiki-text: #e6e1d8;
    --wiki-muted: #aaa197;
    --wiki-heading: #ffffff;
    --wiki-link: #f2ab31;
    --wiki-link-hover: #ffd45a;
    --wiki-button-bg: #1d1916;
    --wiki-button-text: #f2ab31;
}

html.eqoa-theme-dark #character-builder-app, html.eqoa-theme-dark #character-builder-app .character-builder-box, html.eqoa-theme-dark #cm-calculator-app, html.eqoa-theme-dark #cm-calculator-app .cm-calculator-box, html.eqoa-theme-dark #cm-calculator-app .cm-box {
    background: #080807 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}

html.eqoa-theme-dark #character-builder-app .character-builder-controls, html.eqoa-theme-dark #cm-calculator-app .character-builder-controls, html.eqoa-theme-dark #character-builder-app .cm-search-tools, html.eqoa-theme-dark #cm-calculator-app .cm-search-tools, html.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary, html.eqoa-theme-dark #character-builder-app .character-builder-slot, html.eqoa-theme-dark #cm-calculator-app .cm-card, html.eqoa-theme-dark #cm-calculator-app .cm-purchased-panel, html.eqoa-theme-dark #cm-calculator-app .cm-master-class-panel, html.eqoa-theme-dark #cm-calculator-app .cm-unlocked-box {
    background: #1d1916 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}

html.eqoa-theme-dark #character-builder-app .character-builder-title, html.eqoa-theme-dark #character-builder-app .character-builder-section-title, html.eqoa-theme-dark #character-builder-app .character-builder-subsection-title, html.eqoa-theme-dark #cm-calculator-app .cm-title, html.eqoa-theme-dark #cm-calculator-app .cm-section-title, html.eqoa-theme-dark #cm-calculator-app .cm-panel-title, html.eqoa-theme-dark #cm-calculator-app .cm-purchased-group-title {
    background: #332513 !important;
    color: #f2ab31 !important;
    border-color: rgba(242, 171, 49, 0.28) !important;
    text-shadow: none !important;
}

html.eqoa-theme-dark #character-builder-app table, html.eqoa-theme-dark #character-builder-app th, html.eqoa-theme-dark #character-builder-app td, html.eqoa-theme-dark #cm-calculator-app table, html.eqoa-theme-dark #cm-calculator-app th, html.eqoa-theme-dark #cm-calculator-app td {
    background: #1d1916 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}

html.eqoa-theme-dark #character-builder-app th, html.eqoa-theme-dark #cm-calculator-app th {
    background: #1d1916 !important;
    color: #f2ab31 !important;
}

html.eqoa-theme-dark #character-builder-app input, html.eqoa-theme-dark #character-builder-app select, html.eqoa-theme-dark #character-builder-app textarea, html.eqoa-theme-dark #cm-calculator-app input, html.eqoa-theme-dark #cm-calculator-app select, html.eqoa-theme-dark #cm-calculator-app textarea {
    background: #1d1916 !important;
    color: #e6e1d8 !important;
    border: 1px solid #3a3129 !important;
}

html.eqoa-theme-dark #character-builder-app button, html.eqoa-theme-dark #cm-calculator-app button {
    background: #1d1916 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
}

html.eqoa-theme-dark #character-builder-app button:hover, html.eqoa-theme-dark #cm-calculator-app button:hover {
    background: #332513 !important;
    color: #ffd45a !important;
}

.cb-picker-tools {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
    margin: 4px 0 !important;
}

.cb-picker-tools .cb-slot-filter, .cb-picker-tools .cb-slot-sort {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.cb-upgrade-row {
    display: block !important;
    width: 100% !important;
    margin: 2px 0 5px 0 !important;
    clear: both !important;
}

.cb-upgrade-row .cb-upgrade-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

html.eqoa-theme-dark .rare-encounter-table, html.eqoa-theme-dark .raid-encounter-table table, html.eqoa-theme-dark .rare-mobile-box {
    background: #1d1916 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}

html.eqoa-theme-dark .rare-encounter-table th, html.eqoa-theme-dark .raid-encounter-table th, html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify b, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify > b, html.eqoa-theme-dark .rare-mobile-heading {
    background: #332513 !important;
    color: #f2ab31 !important;
    border-color: rgba(242, 171, 49, 0.28) !important;
}

html.eqoa-theme-dark .rare-encounter-table td, html.eqoa-theme-dark .raid-encounter-table td {
    background: #1d1916 !important;
    color: #e6e1d8 !important;
    border-color: #3a3129 !important;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label, html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label {
    color: #f2ab31 !important;
    border-color: rgba(242, 171, 49, 0.16) !important;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(odd), html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(odd) {
    background: #1d1916 !important;
}

html.eqoa-theme-dark .rare-encounter-table .raid-checkboxify label:nth-of-type(even), html.eqoa-theme-dark .raid-encounter-table .raid-checkboxify label:nth-of-type(even) {
    background: #1d1916 !important;
}

.cm-card-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 7px;
}

.cm-card-effects span {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.cm-card-gain {
    background: rgba(70, 170, 80, 0.16);
    border: 1px solid rgba(120, 220, 130, 0.35);
    color: #9eff9e;
}

.cm-card-loss {
    background: rgba(170, 55, 45, 0.18);
    border: 1px solid rgba(255, 120, 105, 0.35);
    color: #ff9b8f;
}

html.eqoa-theme-dark #p-cactions li, html.eqoa-theme-dark #p-cactions li.selected {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
}

html.eqoa-theme-dark #p-cactions li a, html.eqoa-theme-dark #p-cactions li.selected a {
    background: #1d1916 !important;
    background-color: #1d1916 !important;
    background-image: none !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

html.eqoa-theme-dark #p-cactions li.selected a, html.eqoa-theme-dark #p-cactions li a:hover {
    background: #332513 !important;
    background-color: #332513 !important;
    color: #ffd45a !important;
    border-color: rgba(242, 171, 49, 0.45) !important;
}

#eqoa-sidebar-account {
    width: 132px !important;
    margin: 8px 6px 10px 6px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#eqoa-sidebar-account .eqoa-sidebar-account-title {
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
    background: #332513 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}

#eqoa-sidebar-account .eqoa-sidebar-account-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3px !important;
}

#eqoa-sidebar-account .eqoa-sidebar-account-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 4px 3px !important;
    box-sizing: border-box !important;
    background: #1d1916 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-button {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #eqoa-sidebar-account .eqoa-sidebar-account-button:hover {
    background: #ece8e1 !important;
    background-color: #ece8e1 !important;
    color: #1f1712 !important;
}

#eqoa-sidebar-account .eqoa-sidebar-account-button:hover {
    background: #3a2418 !important;
    color: #ffd45a !important;
    text-decoration: none !important;
}

.eqoa-crafts-box {
    width: 100%;
    margin: 16px auto;
    border: 1px solid var(--wiki-border);
    background: var(--wiki-panel);
    color: var(--wiki-text);
    box-sizing: border-box;
}

.eqoa-crafts-header {
    background: var(--wiki-panel-3, #332513);
    color: var(--wiki-link, #f2ab31);
    border-bottom: 1px solid rgba(242, 171, 49, 0.28);
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    padding: 8px 10px;
    box-sizing: border-box;
}

.eqoa-crafts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 24px;
    background: var(--wiki-panel-2);
    box-sizing: border-box;
}

.eqoa-craft-tile {
    text-align: center;
    color: var(--wiki-link);
    font-weight: 700;
    line-height: 1.35;
}

.eqoa-craft-tile a {
    color: var(--wiki-link) !important;
    text-decoration: none !important;
}

.eqoa-craft-tile a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.eqoa-craft-tile img {
    margin-top: 4px;
    padding: 2px;
    border: 2px solid rgba(242, 171, 49, 0.55);
    background: #e8e1d4;
    image-rendering: auto;
}

html.eqoa-theme-light .eqoa-crafts-box {
    border-color: #d8d1c7;
    background: #ffffff;
}

html.eqoa-theme-light .eqoa-crafts-header {
    background: #ece8e1;
    color: #5a3928;
    border-bottom-color: #d8d1c7;
}

html.eqoa-theme-light .eqoa-crafts-grid {
    background: #fbfaf8;
}

html.eqoa-theme-light .eqoa-craft-tile, html.eqoa-theme-light .eqoa-craft-tile a {
    color: #5a3928 !important;
}

html.eqoa-theme-light .eqoa-craft-tile a:hover {
    color: #8a5538 !important;
}

html.eqoa-theme-light .eqoa-craft-tile img {
    border-color: #b68a2c;
    background: #ffffff;
}

.eqoa-hobbies-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
}

.eqoa-hobbies-grid .eqoa-craft-tile {
    width: 160px !important;
}

.crafting-rank-table {
    max-width: 420px !important;
    margin: 12px auto !important;
}

.crafting-rank-table td:first-child {
    width: 40% !important;
}

.eqoa-crafting-ranks-body {
    font-size: 17px !important;
    line-height: 1.55 !important;
}

.eqoa-crafting-ranks-body p {
    margin: 0 0 12px 0 !important;
    color: var(--wiki-text) !important;
}

.eqoa-crafting-rank-chart {
    float: right !important;
    width: 360px !important;
    max-width: 42% !important;
    margin: 0 0 12px 18px !important;
}

.eqoa-crafting-rank-chart .crafting-rank-table {
    width: 100% !important;
    margin: 0 !important;
}

.crafting-rank-table th, .crafting-rank-table td {
    text-align: center !important;
    vertical-align: middle !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.crafting-rank-table th {
    font-size: 19px !important;
    color: var(--wiki-link) !important;
}

.eqoa-crafting-ranks-body::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
}

.crafting-attribute-table th, .crafting-attribute-table td {
    text-align: center !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.crafting-attribute-table th {
    font-size: 19px !important;
    color: var(--wiki-link) !important;
}

.zone-info-wrapper {
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    color: var(--wiki-text) !important;
}

.zone-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    font-size: 0.9rem !important;
    text-align: left !important;
    background: var(--wiki-panel) !important;
    border: 1px solid var(--wiki-border) !important;
    color: var(--wiki-text) !important;
}

.zone-info-table th {
    width: 150px !important;
    background: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    font-weight: 800 !important;
}

.zone-info-table a {
    color: var(--wiki-link) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.zone-info-table a:hover {
    color: var(--wiki-link-hover) !important;
    text-decoration: underline !important;
}

.zone-details-header {
    background-color: var(--wiki-panel-2) !important;
    color: var(--wiki-link) !important;
    border-bottom: 1px solid var(--wiki-border) !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background-image: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    letter-spacing: 0 !important;
}

.zone-details-content {
    background-color: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    padding: 8px !important;
    margin: 0 !important;
    border: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.zone-details-content a {
    font-weight: 900 !important;
}

.zone-left-parent-box .zones-header {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    letter-spacing: 0 !important;
}

.zone-left-parent-box .zones-content {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.zone-left-parent-box .zones-content a {
    font-weight: 900 !important;
}

.zone-toc-box .zones-content, .zone-toc-box .zones-content a {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
}

.zone-info-table th, .zone-info-table td {
    border: 1px solid var(--wiki-border) !important;
    padding: 7px !important;
    vertical-align: top !important;
    background: var(--wiki-panel) !important;
    color: var(--wiki-text) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.zone-info-table .zone-info-title {
    width: auto !important;
    background: var(--wiki-panel-3, var(--wiki-panel-2)) !important;
    color: var(--wiki-link) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.zone-info-table td a {
    font-weight: 900 !important;
}

.zone-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 58%) minmax(320px, 42%) !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.zone-page-layout .zone-left, .zone-page-layout .zone-right {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.zone-toc-box, .zone-interactive-map-box {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.zone-description-box {
    grid-area: description !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
}

.zone-description-box > *, .zone-description-box .zones-box, .zone-description-box .zones-header, .zone-description-box .zones-content, .zone-description-box table, .zone-description-box tbody, .zone-description-box tr, .zone-description-box td {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.zone-toc-box {
    grid-area: toc !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.zone-interactive-map-box {
    grid-area: map !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.zone-interactive-map-content, .zone-interactive-map-content .eqoa-interactive-map {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.eqoa-map-filter-panel {
    min-width: 150px;
    max-width: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: #1a120c !important;
    color: #e6e1d8 !important;
    border: 1px solid rgba(242, 171, 49, 0.45) !important;
    padding: 6px !important;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
}

html.eqoa-theme-light .eqoa-map-filter-panel {
    background: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light .eqoa-map-filter-header {
    color: #5a3928 !important;
}

html.eqoa-theme-light .eqoa-map-filter-expand {
    background: #ece8e1 !important;
    color: #5a3928 !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light .eqoa-map-filter-row {
    color: #2b211b !important;
}

.eqoa-map-filter-icon::before, .eqoa-map-filter-icon::after {
    content: "" !important;
    position: absolute !important;
    left: 9px !important;
    width: 18px !important;
    height: 18px !important;
    transform: rotate(45deg) skew(-12deg, -12deg) !important;
    background: #d8d8d8 !important;
    border: 1px solid #777 !important;
    box-sizing: border-box !important;
}

.eqoa-map-filter-icon::before {
    top: 9px !important;
    box-shadow: 3px 3px 0 #a8a8a8,
        6px 6px 0 #777 !important;
}

.eqoa-map-filter-icon::after {
    top: 7px !important;
    background: #f2f2f2 !important;
}

.eqoa-map-filter-control:hover .eqoa-map-filter-panel, .eqoa-map-filter-panel:hover {
    display: block !important;
}

.eqoa-map-filter-list {
    margin-left: 23px !important;
    padding: 2px 0 5px 0 !important;
}

========================================================= */ .job-right, .job-right a, .job-right a.image, .job-right .mw-file-description, .job-right img, .job-artwork {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.eqoa-map-filter-control {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    overflow: visible !important;
}

.eqoa-map-filter-icon {
    position: relative !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.65) !important;
    font-size: 0 !important;
    color: transparent !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1a120c !important;
    border: 1px solid rgba(242, 171, 49, 0.65) !important;
    border-radius: 4px !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.eqoa-map-layer-icon {
    position: relative !important;
    width: 22px !important;
    height: 18px !important;
    display: block !important;
}

.eqoa-map-layer-icon span {
    position: absolute !important;
    left: 2px !important;
    width: 18px !important;
    height: 10px !important;
    background: #d8d8d8 !important;
    border: 1px solid #777 !important;
    transform: rotate(28deg) skew(-28deg) !important;
}

.eqoa-map-layer-icon span:nth-child(1) {
    top: 0 !important;
    background: #f2f2f2 !important;
}

.eqoa-map-layer-icon span:nth-child(2) {
    top: 4px !important;
    background: #c8c8c8 !important;
}

.eqoa-map-layer-icon span:nth-child(3) {
    top: 8px !important;
    background: #999 !important;
}

.eqoa-map-filter-control .eqoa-map-filter-panel {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    transform: translateX(-38px) !important;
    min-width: 165px !important;
    max-width: 260px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    background: #1a120c !important;
    color: #e6e1d8 !important;
    border: 1px solid rgba(242, 171, 49, 0.65) !important;
    padding: 6px !important;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.75) !important;
    z-index: 10000 !important;
}

.eqoa-map-filter-control.eqoa-map-filter-open .eqoa-map-filter-panel {
    display: block !important;
}

.eqoa-map-filter-header, .eqoa-map-filter-row {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
}

.eqoa-map-filter-header {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    color: #f2ab31 !important;
    font-weight: 800 !important;
    padding: 3px 0 !important;
}

.eqoa-map-filter-row {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    color: #e6e1d8 !important;
    padding: 2px 0 !important;
}

.eqoa-map-filter-expand {
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    line-height: 16px !important;
    background: #332513 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
    cursor: pointer !important;
}

.zone-interactive-map-box, .zone-interactive-map-box .zones-box, .zone-interactive-map-box .zones-content, .zone-interactive-map-content {
    overflow: hidden !important;
}

.zone-left-top-layout {
    display: grid !important;
    grid-template-areas: "description description"
        "toc map" !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: start !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) !important;
}

.zone-interactive-map-content .eqoa-interactive-map {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #0d0c0b !important;
}

.eqoa-interactive-map .leaflet-control-zoom a, .eqoa-interactive-map .leaflet-control-layers-toggle, .eqoa-interactive-map .leaflet-control-layers {
    background-color: #1d1916 !important;
    color: #f2ab31 !important;
    border-color: rgba(242, 171, 49, 0.45) !important;
    box-shadow: none !important;
}

.eqoa-interactive-map .leaflet-control-zoom a:hover, .eqoa-interactive-map .leaflet-control-layers-toggle:hover {
    background-color: #332513 !important;
    color: #ffd45a !important;
}

.eqoa-interactive-map .leaflet-control-zoom {
    border: 1px solid rgba(242, 171, 49, 0.45) !important;
}

.eqoa-interactive-map .leaflet-control-zoom-in, .eqoa-interactive-map .leaflet-control-zoom-out {
    border-bottom-color: rgba(242, 171, 49, 0.3) !important;
}

.eqoa-interactive-map .leaflet-top {
    top: 8px !important;
}

.eqoa-interactive-map .leaflet-left {
    left: 8px !important;
}

.eqoa-interactive-map .leaflet-right {
    right: 8px !important;
}

.eqoa-interactive-map .leaflet-control {
    margin: 0 !important;
    z-index: 9999 !important;
}

.eqoa-interactive-map, .eqoa-interactive-map .leaflet-container, .eqoa-interactive-map .leaflet-pane, .eqoa-interactive-map .leaflet-map-pane {
    background: transparent !important;
}

html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip {
    background: #1d1916 !important;
    background-color: #1d1916 !important;
    color: #e6e1d8 !important;
    border: 1px solid rgba(242, 171, 49, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
}

html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip b {
    color: #f2ab31 !important;
}

html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip span {
    color: #ffd45a !important;
}

html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
}

html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip b {
    color: #5a3928 !important;
}

html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip span {
    color: #8a5538 !important;
}

html.eqoa-theme-dark .eqoa-interactive-map .leaflet-tooltip-top::before {
    border-top-color: rgba(242, 171, 49, 0.45) !important;
}

html.eqoa-theme-light .eqoa-interactive-map .leaflet-tooltip-top::before {
    border-top-color: #d8d1c7 !important;
}

.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content-wrapper {
    background: #1a120c !important;
    color: #e6e1d8 !important;
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
    border-radius: 4px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.75) !important;
}

.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content {
    margin: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.eqoa-interactive-map .eqoa-map-popup a {
    color: #f2ab31 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.eqoa-interactive-map .eqoa-map-popup a:hover {
    color: #ffd45a !important;
    text-decoration: underline !important;
}

.eqoa-interactive-map .eqoa-map-popup .leaflet-popup-tip {
    background: #1a120c !important;
    border: 1px solid rgba(242, 171, 49, 0.55) !important;
}

html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup .leaflet-popup-content-wrapper {
    background: #ffffff !important;
    color: #2b211b !important;
    border-color: #d8d1c7 !important;
}

html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup a {
    color: #5a3928 !important;
}

html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup a:hover {
    color: #8a5538 !important;
}

html.eqoa-theme-light .eqoa-interactive-map .eqoa-map-popup .leaflet-popup-tip {
    background: #ffffff !important;
    border-color: #d8d1c7 !important;
}

body {
    overflow-x: hidden !important;
    background: #101214 !important;
}

#globalWrapper {
    max-width: 2500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
}

#eqoa-topbar {
    position: relative;
    top: auto;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    height: 64px;
    padding: 0 16px;
    background: #111;
    border-bottom: 1px solid #5a3b12;
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

html.eqoa-theme-light #eqoa-topbar {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    background-image: none !important;
    border-bottom: 1px solid #d8d1c7 !important;
    color: #2b211b !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-top-title {
    color: rgb(60, 40, 27) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-top-search input {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
    box-shadow: none !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-top-search input::placeholder {
    color: #7a6f66 !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-top-search button {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    background-image: none !important;
    color: rgb(250, 248, 245) !important;
    border: 1px solid rgb(60, 40, 27) !important;
    box-shadow: none !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-top-search button::before {
    color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light #eqoa-topbar .eqoa-discord-button {
    background: #5865f2 !important;
    background-color: #5865f2 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#footer, .mw-footer, #footer-places, #footer-info, #footer-icons {
    background: #1d1916 !important;
    color: #f2b229 !important;
    border-color: rgba(160, 101, 28, 0.75) !important;
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

#eqoa-right-rail {
    position: fixed;
    top: 92px;
    z-index: 100;
    width: 300px;
    right: max(18px, calc((100vw - 2500px) / 2 + 18px)) !important;
}

#p-personal {
    position: fixed !important;
    top: 8px !important;
    left: auto !important;
    width: auto !important;
    max-width: calc(100vw - 190px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 9999 !important;
    background: transparent !important;
    right: max(18px, calc((100vw - 2500px) / 2 + 18px)) !important;
}

html, body, body.skin-monobook, #globalWrapper, #column-content, #column-one, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
    background: rgb(20, 18, 15) !important;
    background-color: rgb(20, 18, 15) !important;
    background-image: none !important;
}

html.eqoa-theme-dark, html.eqoa-theme-dark body, html.eqoa-theme-dark body.skin-monobook, html.eqoa-theme-dark #globalWrapper, html.eqoa-theme-dark #column-content, html.eqoa-theme-dark #column-one, html.eqoa-theme-dark #content, html.eqoa-theme-dark #bodyContent, html.eqoa-theme-dark #mw-content-text, html.eqoa-theme-dark .mw-body, html.eqoa-theme-dark .mw-body-content, html.eqoa-theme-dark .mw-parser-output {
    background: rgb(20, 18, 15) !important;
    background-color: rgb(20, 18, 15) !important;
    background-image: none !important;
}

html, body, body.skin-monobook, #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
    background: rgb(52, 48, 45) !important;
    background-color: rgb(52, 48, 45) !important;
    background-image: none !important;
}

#content, .mw-body, #bodyContent, #mw-content-text {
    background: rgb(29, 25, 22) !important;
    background-color: rgb(29, 25, 22) !important;
    border-color: rgb(52, 48, 45) !important;
}

#wpTextbox1, #wpSummary {
    background: rgb(29, 25, 22) !important;
    background-color: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border: 1px solid rgb(52, 48, 45) !important;
}

#column-one, html.eqoa-theme-dark #column-one {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 165px !important;
    padding: 155px 10px 14px 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: rgb(29, 25, 22) !important;
    background-color: rgb(29, 25, 22) !important;
    background-image: none !important;
    border: 1px solid rgb(52, 48, 45) !important;
    border-radius: 4px !important;
    overflow: visible !important;
    z-index: 20 !important;
}

#p-logo, html.eqoa-theme-dark #p-logo {
    position: absolute !important;
    top: 8px !important;
    left: 10px !important;
    width: 145px !important;
    height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#column-one .portlet, #column-one .generated-sidebar, #column-one .pBody, #column-one .portlet .pBody, #column-one .generated-sidebar .pBody, #column-one div.pBody, #column-one ul, #column-one li, html.eqoa-theme-dark #column-one .portlet, html.eqoa-theme-dark #column-one .generated-sidebar, html.eqoa-theme-dark #column-one .pBody, html.eqoa-theme-dark #column-one .portlet .pBody, html.eqoa-theme-dark #column-one .generated-sidebar .pBody, html.eqoa-theme-dark #column-one div.pBody, html.eqoa-theme-dark #column-one ul, html.eqoa-theme-dark #column-one li {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

#column-one h3, #column-one h5, #column-one h3[id$="-label"], #column-one h5[id$="-label"] {
    text-transform: capitalize !important;
    width: 132px !important;
    margin: 8px auto 4px auto !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
    background: #332513 !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242,171,49,0.35) !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    text-align: center !important;
    text-shadow: none !important;
}

#column-one ul {
    margin: 0 0 8px 16px !important;
    padding: 0 !important;
}

#column-one li {
    color: #86b3c4 !important;
}

#column-one a, #column-one a:visited {
    color: #f2ab31 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

#column-one a:hover {
    color: #ffd45a !important;
    text-decoration: underline !important;
}

#column-content, #content, .mw-body {
    margin-left: 180px !important;
}

#p-cactions, html.eqoa-theme-dark #p-cactions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 10px !important;
    left: 185px !important;
    right: auto !important;
    z-index: 99999 !important;
    background: transparent !important;
    border: 0 !important;
}

@media (max-width: 520px) {
    .spell-list__cols {
        grid-template-columns: 1fr !important;
    }

    .SpellRow {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .character-builder-box {
        padding: 10px;
        overflow-x: hidden;
    }

    .character-builder-title-row {
        display: block;
        text-align: center;
    }

    .character-builder-controls {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .character-builder-controls select, .character-builder-controls input, .character-builder-controls textarea, .character-builder-controls button {
        width: 100% !important;
        box-sizing: border-box;
    }

    .cb-builder-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cb-tab-button {
        width: 100%;
    }

    .character-builder-equipment-layout {
        display: block !important;
    }

    .character-builder-equipped-summary {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 0 15px !important;
        box-sizing: border-box;
    }

    .character-builder-gear-column {
        width: 100%;
    }

    .character-builder-gear-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .cb-picker-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .cb-slot-filter, .cb-slot-sort {
        width: 100% !important;
    }

    .character-builder-stat-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cb-item-picker-list {
        max-height: 260px;
    }

    .character-builder-tooltip {
        max-width: 90vw;
        left: 5vw !important;
        right: 5vw;
        font-size: 12px;
    }
}

@media (max-width: 1000px) {
    .cm-unlocked-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .cm-main-layout {
        grid-template-columns: 1fr;
    }

    .cm-search-row {
        flex-direction: column;
    }

    .cm-card-compact-row {
        display: block;
    }

    .cm-card-compact .cm-card-meta {
        margin-top: 5px;
        white-space: normal;
    }

    .cb-ingame-stat-panel {
        grid-template-columns: 1fr;
    }

    .cb-ingame-row, .cb-ingame-small-row {
        grid-template-columns: minmax(120px, 1fr) 58px minmax(78px, auto);
        font-size: 18px;
    }
}

@media (max-width: 760px) {
    .cm-calculator-box {
        padding: 12px;
    }

    .cm-calculator-box .character-builder-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cm-calculator-box select, .cm-calculator-box input, .cm-reset-button {
        width: 100% !important;
        box-sizing: border-box;
    }

    .cm-tabs, .cm-view-toggle {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cm-tab-button, .cm-view-button {
        width: 100%;
        text-align: center;
    }

    .cm-build-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .eqoa-grid-2 {
        grid-template-columns: 1fr;
    }

    .eqoa-itembox {
        font-size: 22px;
    }

    .eqoa-section-title {
        font-size: 20px;
    }

    .eqoa-section-content {
        font-size: 16px;
    }
}

@media screen and (max-width: 700px) {
    .rare-encounter-table, .rare-encounter-table tbody, .rare-encounter-table tr, .rare-encounter-table th, .rare-encounter-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .rare-encounter-table {
        table-layout: auto !important;
        margin-bottom: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .rare-encounter-table tr:first-child {
        display: none !important;
    }

    .rare-encounter-table td {
        margin-bottom: 14px;
        padding: 0 !important;
        overflow: hidden;
    }

    .rare-encounter-base td:nth-child(1)::before {
        content: "Base World 1";
    }

    .rare-encounter-base td:nth-child(2)::before {
        content: "Base World 2";
    }

    .rare-encounter-base td:nth-child(3)::before {
        content: "Base World 3";
    }

    .rare-encounter-base td:nth-child(4)::before {
        content: "Base World 4";
    }

    .rare-encounter-frontiers td:nth-child(1)::before {
        content: "Frontiers 1";
    }

    .rare-encounter-frontiers td:nth-child(2)::before {
        content: "Frontiers 2";
    }

    .rare-encounter-frontiers td:nth-child(3)::before {
        content: "Frontiers 3";
    }

    .rare-encounter-table td::before {
        display: block;
        padding: 8px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        border-bottom: 1px solid;
    }

    .rare-encounter-table .raid-checkboxify b {
        font-size: 16px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .rare-encounter-table .raid-checkboxify label {
        font-size: 14px;
        line-height: 1.25;
        padding: 6px 8px;
        overflow-wrap: anywhere;
    }

    .rare-encounter-table .raid-checkboxify input[type="checkbox"] {
        margin-right: 5px;
    }

    html.eqoa-theme-dark .rare-encounter-table td::before {
        background: #3a2418;
        color: #ffd45a;
        border-color: #5a3a25;
    }

    html.eqoa-theme-light .rare-encounter-table td::before {
        background: #d9c7aa;
        color: #2a170d;
        border-color: #b8a17e;
    }

    .rare-encounter-mobile-layout {
        display: block;
    }

    .eqoa-grid-2, .eqoa-mobile-stack {
        display: block !important;
    }

    .eqoa-grid-2 > .eqoa-panel, .eqoa-mobile-stack > .eqoa-panel {
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .eqoa-crafts-grid, .eqoa-hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
    }

    .eqoa-crafting-rank-chart {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px 0 !important;
    }

    .zone-page-layout, .zone-left-top-layout {
        display: block !important;
    }

    .zone-left, .zone-right, .zone-description-box, .zone-toc-box, .zone-interactive-map-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px 0 !important;
    }

    html, body, body.skin-monobook {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    #globalWrapper, #column-content, #content, #bodyContent, #mw-content-text, .mw-body, .mw-body-content, .mw-parser-output {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: auto !important;
        box-sizing: border-box !important;
        overflow-x: visible !important;
    }

    #content, .mw-body {
        padding: 8px 8px 12px 8px !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    #eqoa-topbar {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 64px !important;
        grid-template-rows: 44px 40px !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100px !important;
        margin: 0 !important;
        padding: 8px 6px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #eqoa-mobile-sidebar-toggle {
        display: flex !important;
        position: fixed !important;
        top: 15px !important;
        left: 22px !important;
        z-index: 2147483647 !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        background: #4a3427 !important;
        color: #ffffff !important;
        border: 1px solid #6b5430 !important;
        font-size: 24px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    #eqoa-topbar .eqoa-top-title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: block !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        font-size: 18px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    #eqoa-topbar .eqoa-discord-button {
        grid-column: 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: normal !important;
        text-indent: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    #eqoa-topbar .eqoa-discord-button::before {
        content: "Discord" !important;
        display: block !important;
        width: 100% !important;
        color: inherit !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 38px !important;
        text-align: center !important;
        text-indent: 0 !important;
    }

    #eqoa-topbar .eqoa-top-search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 48px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #eqoa-topbar .eqoa-top-search input {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        line-height: 36px !important;
    }

    #eqoa-topbar .eqoa-top-search button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }

    #eqoa-topbar .eqoa-top-search button::before {
        content: "Search" !important;
        font-size: 10px !important;
        line-height: 36px !important;
    }

#eqoa-right-rail, #p-personal, #p-views, #p-namespaces, #left-navigation, #right-navigation, #head, #mw-head, .page-actions, .portlet-page-actions {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
    }

#column-one #p-cactions,
html.eqoa-theme-dark #column-one #p-cactions,
html.eqoa-theme-light #column-one #p-cactions {
    order: 1 !important;
    position: static !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;

    height: auto !important;
    min-height: 178px !important;
    max-height: none !important;

    margin: 0 6px 10px 6px !important;
    padding: 0 !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    line-height: 1 !important;
}

#column-one #p-cactions .pBody,
html.eqoa-theme-dark #column-one #p-cactions .pBody,
html.eqoa-theme-light #column-one #p-cactions .pBody {
    position: static !important;
    display: block !important;
    width: 132px !important;
    height: auto !important;
    min-height: 152px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    overflow: visible !important;
}

#column-one #p-cactions h3,
#column-one #p-cactions h5,
html.eqoa-theme-dark #column-one #p-cactions h3,
html.eqoa-theme-dark #column-one #p-cactions h5 {
    display: block !important;
    visibility: visible !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 22px !important;
    min-height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
    background: #332513 !important;
    background-color: #332513 !important;
    background-image: none !important;
    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.38) !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-shadow: none !important;
    overflow: hidden !important;
}

html.eqoa-theme-light #column-one #p-cactions h3,
html.eqoa-theme-light #column-one #p-cactions h5 {
    display: block !important;
    visibility: visible !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 22px !important;
    min-height: 22px !important;
    line-height: 22px !important;
    padding: 0 6px !important;
    margin: 0 0 4px 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-shadow: none !important;
    overflow: hidden !important;
}

#column-one #p-cactions ul,
html.eqoa-theme-dark #column-one #p-cactions ul,
html.eqoa-theme-light #column-one #p-cactions ul {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3px !important;

    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;

    height: auto !important;
    min-height: 152px !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    overflow: visible !important;
}

#column-one #p-cactions li,
#column-one #p-cactions li.selected,
html.eqoa-theme-dark #column-one #p-cactions li,
html.eqoa-theme-dark #column-one #p-cactions li.selected,
html.eqoa-theme-light #column-one #p-cactions li,
html.eqoa-theme-light #column-one #p-cactions li.selected {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    overflow: visible !important;
}

#column-one #p-cactions li a,
#column-one #p-cactions li.selected a,
html.eqoa-theme-dark #column-one #p-cactions li a,
html.eqoa-theme-dark #column-one #p-cactions li.selected a,
html.eqoa-theme-light #column-one #p-cactions li a,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 28px !important;

    padding: 4px 3px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    background: #1d1916 !important;
    background-color: #1d1916 !important;
    background-image: none !important;

    color: #f2ab31 !important;
    border: 1px solid rgba(242, 171, 49, 0.28) !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: normal !important;
    overflow: visible !important;
}

html.eqoa-theme-light #column-one #p-cactions li a,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2b211b !important;
    border: 1px solid #d8d1c7 !important;
}

#column-one #p-cactions li a:hover,
#column-one #p-cactions li.selected a,
html.eqoa-theme-dark #column-one #p-cactions li a:hover,
html.eqoa-theme-dark #column-one #p-cactions li.selected a {
    background: #3a2418 !important;
    background-color: #3a2418 !important;
    color: #ffd45a !important;
}

html.eqoa-theme-light #column-one #p-cactions li a:hover,
html.eqoa-theme-light #column-one #p-cactions li.selected a {
    background: #ece8e1 !important;
    background-color: #ece8e1 !important;
    color: #1f1712 !important;
}

#column-one #p-cactions #ca-more,
#column-one #p-cactions li[id*="more"],
#column-one #p-cactions a[id*="more"],
#column-one #p-cactions-mobile,
#ca-more,
#p-cactions #ca-more,
#p-cactions li[id*="more"],
#p-cactions a[id*="more"],
html.eqoa-theme-dark #column-one #p-cactions #ca-more,
html.eqoa-theme-dark #column-one #p-cactions li[id*="more"],
html.eqoa-theme-dark #column-one #p-cactions a[id*="more"],
html.eqoa-theme-dark #column-one #p-cactions-mobile,
html.eqoa-theme-dark #ca-more,
html.eqoa-theme-dark #p-cactions #ca-more,
html.eqoa-theme-dark #p-cactions li[id*="more"],
html.eqoa-theme-dark #p-cactions a[id*="more"],
html.eqoa-theme-light #column-one #p-cactions #ca-more,
html.eqoa-theme-light #column-one #p-cactions li[id*="more"],
html.eqoa-theme-light #column-one #p-cactions a[id*="more"],
html.eqoa-theme-light #column-one #p-cactions-mobile,
html.eqoa-theme-light #ca-more,
html.eqoa-theme-light #p-cactions #ca-more,
html.eqoa-theme-light #p-cactions li[id*="more"],
html.eqoa-theme-light #p-cactions a[id*="more"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#column-one,
html.eqoa-theme-dark #column-one,
html.eqoa-theme-light #column-one {
    position: fixed !important;
    top: 108px !important;
    left: 0 !important;
    bottom: 0 !important;

    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;

    height: calc(100vh - 108px) !important;
    min-height: calc(100vh - 108px) !important;
    max-height: calc(100vh - 108px) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    transform: translateX(-110%) !important;
    transition: transform 0.18s ease !important;
    z-index: 2147483500 !important;

    background: rgb(29, 25, 22) !important;
    background-color: rgb(29, 25, 22) !important;
    background-image: none !important;

    color: #f0b400 !important;
    border-right: 1px solid #4a4035 !important;
    border-radius: 0 !important;

    padding: 8px 10px 40px 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

html.eqoa-theme-light #column-one {
    background: #f6f4f1 !important;
    background-color: #f6f4f1 !important;
    color: #2b211b !important;
    border-right: 1px solid #d8d1c7 !important;
}

#column-one > * {
    order: 20 !important;
}

#p-cactions,
html.eqoa-theme-dark #p-cactions {
    order: 1 !important;
}

#p-logo,
html.eqoa-theme-dark #p-logo {
    order: 2 !important;
}

#eqoa-sidebar-account {
    order: 3 !important;
}

    html.eqoa-mobile-sidebar-open #column-one {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    html:not(.eqoa-mobile-sidebar-open) #column-one {
        visibility: hidden !important;
    }

    #column-one, #column-one *, #column-one .portlet, #column-one .generated-sidebar, #column-one .pBody {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #column-one .portlet, #column-one .generated-sidebar, #column-one .pBody {
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
    }

#column-one li[id^="pt-"], #column-one a[id^="pt-"], #column-one input[type="image"], #column-one input[type="button"], #column-one button:not(#eqoa-mobile-sidebar-toggle), #column-one .mw-portlet-toggle, #column-one .portlet-toggle, #column-one .collapseButton {
        display: none !important;
    }

#p-logo,
html.eqoa-theme-dark #p-logo {
    position: static !important;
    display: block !important;
    width: 145px !important;
    height: 145px !important;
    min-height: 145px !important;
    margin: 0 auto 8px auto !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: auto !important;
}

#p-logo a,
html.eqoa-theme-dark #p-logo a {
    display: block !important;
    width: 145px !important;
    height: 145px !important;
    min-height: 145px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    overflow: visible !important;
}

    #p-search {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    #p-search h3, #p-search h5 {
        display: none !important;
    }

    #p-search .pBody {
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #p-search form {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
    }

    .npc-template, .npc-page, .npc-page-layout, .npc-left, .npc-right, .item-template, .item-page-layout, .item-left, .item-right, .quest-template, .zone-page-layout, .zone-left, .zone-right {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
    }

    .mw-parser-output > table, .wikitable, .infobox, .zone-data-table, .exp-camp-wrapper, .items-filter-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
    }

    img, video, canvas, iframe {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .rare-encounter-table table, .raid-encounter-table table {
        display: none !important;
    }

    .rare-encounter-mobile-layout, .rare-mobile-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .rare-mobile-box {
        margin: 0 0 10px 0 !important;
    }

    #character-builder-app, #cm-calculator-app, .character-builder-box, .cm-calculator-box, .character-builder-equipment-layout, .character-builder-equipped-summary, .character-builder-gear-column, .character-builder-gear-grid, .cm-layout, .cm-grid, .cm-card, .cm-purchased-panel, .cm-master-class-panel {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .character-builder-equipped-summary {
        position: static !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .character-builder-gear-grid {
        grid-template-columns: 1fr !important;
    }

    .character-builder-stat-table, .character-builder-equipped-table, #character-builder-app table, #cm-calculator-app table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   CHARACTER BUILDER TOOLTIP FIX
   Must stay near bottom of Common.css
   ========================================================= */

.character-builder-tooltip,
#cb-item-tooltip,
#cb-compare-tooltip {
    position: absolute !important;
    display: none;
    z-index: 2147483647 !important;

    max-width: 360px !important;
    min-width: 220px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;

    background: rgb(15, 10, 6) !important;
    background-color: rgb(15, 10, 6) !important;
    color: #f6f1df !important;

    border: 1px solid #f2ab31 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75) !important;

    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    opacity: 1 !important;
    pointer-events: none !important;
    white-space: normal !important;
}

.character-builder-tooltip *,
#cb-item-tooltip *,
#cb-compare-tooltip * {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.character-builder-tooltip b,
#cb-item-tooltip b,
#cb-compare-tooltip b {
    color: #ffd45a !important;
}

.character-builder-tooltip div,
.character-builder-tooltip span,
#cb-item-tooltip div,
#cb-item-tooltip span,
#cb-compare-tooltip div,
#cb-compare-tooltip span {
    color: inherit !important;
}

html.eqoa-theme-light .character-builder-tooltip,
html.eqoa-theme-light #cb-item-tooltip,
html.eqoa-theme-light #cb-compare-tooltip {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border: 1px solid rgb(224, 218, 210) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.cb-tooltip-rarity-common {
    border-color: #9ca3af !important;
}

.cb-tooltip-rarity-uncommon {
    border-color: #22c55e !important;
}

.cb-tooltip-rarity-rare {
    border-color: #3b82f6 !important;
}

.cb-tooltip-rarity-ultra-rare {
    border-color: #d946ef !important;
}

/* Character Builder tooltip item tags */
.cb-tooltip-tags {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 6px 0 7px 0 !important;
}

.cb-tooltip-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 6px !important;
    box-sizing: border-box !important;

    background: #332513 !important;
    color: #ffd45a !important;
    border: 1px solid rgba(242, 171, 49, 0.65) !important;
    border-radius: 3px !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

html.eqoa-theme-light .cb-tooltip-tag {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
}

/* =========================================================
   EQOA ZONE RELATED TABS
   ========================================================= */

.eqoa-zone-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;

    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    color: #f2ab31 !important;
}

.eqoa-zone-tabs-title {
    padding: 10px 12px !important;
    box-sizing: border-box !important;

    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.eqoa-zone-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;

    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}

.eqoa-zone-tab-button {
    appearance: none !important;
    cursor: pointer !important;

    min-height: 34px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;

    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border: 0 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
}

.eqoa-zone-tab-button:hover,
.eqoa-zone-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}

.eqoa-zone-tab-panel {
    display: none !important;
    padding: 12px !important;
    box-sizing: border-box !important;

    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}

.eqoa-zone-tab-panel.is-active {
    display: block !important;
}

html.eqoa-theme-light .eqoa-zone-tabs {
    background: rgb(246, 244, 241) !important;
    border-color: rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .eqoa-zone-tabs-title,
html.eqoa-theme-light .eqoa-zone-tab-button.is-active,
html.eqoa-theme-light .eqoa-zone-tab-button:hover {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .eqoa-zone-tabs-nav,
html.eqoa-theme-light .eqoa-zone-tab-panel {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
}

html.eqoa-theme-light .eqoa-zone-tab-button {
    background: rgb(235, 231, 225) !important;
    color: rgb(43, 33, 27) !important;
    border-right-color: rgb(224, 218, 210) !important;
}

@media (max-width: 700px) {
    .eqoa-zone-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .eqoa-zone-tab-button {
        width: 100% !important;
        border-bottom: 1px solid rgba(138, 90, 18, 0.55) !important;
    }
}

.eqoa-class-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    box-sizing: border-box !important;
}

.eqoa-class-tabs-title {
    padding: 10px 12px !important;
    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

.eqoa-class-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}

.eqoa-class-tab-button {
    cursor: pointer !important;
    padding: 9px 14px !important;
    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.eqoa-class-tab-button:hover,
.eqoa-class-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}

.eqoa-class-tab-panel {
    display: none !important;
    padding: 12px !important;
    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}

.eqoa-class-tab-panel.is-active {
    display: block !important;
}

/* =========================================================
   EQOA CLASS ITEM LISTS
   ========================================================= */

.class-item-list {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
}

.class-item-controls {
    width: 100%;
    margin-bottom: 12px;
}

.class-item-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.class-item-filter-button {
    border: 1px solid #6b542f;
    background: rgb(29, 25, 22);
    color: #ffb400;
    font-weight: 700;
    padding: 7px 10px;
    cursor: pointer;
}

.class-item-filter-button.is-active {
    background: rgb(58, 38, 15);
    color: #ffffff;
}

.class-item-search {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #6b542f;
    background: rgb(16, 12, 9);
    color: #ffffff;
    padding: 9px 10px;
    font-size: 14px;
}

.class-item-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #6b542f;
}

.class-item-table th,
.class-item-table td {
    border: 1px solid rgba(107, 84, 47, 0.55);
    padding: 8px 10px;
    vertical-align: top;
}

.class-item-table th {
    background: rgb(58, 38, 15);
    color: #ffb400;
    text-align: left;
}

.class-item-table td {
    background: rgb(16, 12, 9);
    color: #ffffff;
}

.class-item-table th:nth-child(1),
.class-item-table td:nth-child(1) {
    width: 46%;
}

.class-item-table th:nth-child(2),
.class-item-table td:nth-child(2) {
    width: 8%;
    text-align: center;
}

.class-item-table th:nth-child(3),
.class-item-table td:nth-child(3) {
    width: 14%;
}

.class-item-table th:nth-child(4),
.class-item-table td:nth-child(4) {
    width: 32%;
}

.class-item-table a {
    color: #ffb400;
    font-weight: 700;
    text-decoration: none;
}

html.eqoa-theme-light .class-item-filter-button,
body.eqoa-theme-light .class-item-filter-button {
    border: 1px solid #d8cbb8;
    background: #f6f4f1;
    color: #3c281b;
}

html.eqoa-theme-light .class-item-filter-button.is-active,
body.eqoa-theme-light .class-item-filter-button.is-active {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
}

html.eqoa-theme-light .class-item-search,
body.eqoa-theme-light .class-item-search {
    border: 1px solid #d8cbb8;
    background: #ffffff;
    color: #1f140c;
}

html.eqoa-theme-light .class-item-table,
body.eqoa-theme-light .class-item-table {
    border: 1px solid #d8cbb8;
}

html.eqoa-theme-light .class-item-table th,
body.eqoa-theme-light .class-item-table th {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: #d8cbb8;
}

html.eqoa-theme-light .class-item-table td,
body.eqoa-theme-light .class-item-table td {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8cbb8;
}

html.eqoa-theme-light .class-item-table a,
body.eqoa-theme-light .class-item-table a {
    color: #4a2f1f;
}

@media (max-width: 700px) {
    .class-item-list {
        padding: 10px;
        overflow-x: auto;
    }

    .class-item-table {
        min-width: 720px;
    }
}

.class-item-tooltip {
    position: absolute;
    z-index: 2147483647;
    max-width: 420px;
    padding: 12px 14px;
    background: #100a06;
    color: #f7ead2;
    font-size: 13px;
    line-height: 1.35;
    pointer-events: none;
    border: 1px solid #9a6a00;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    text-shadow: 0 0 8px currentColor;
}

.class-item-tooltip-rarity-common {
    border-color: #d8d8d8;
    box-shadow: 0 0 16px rgba(216, 216, 216, 0.25), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-uncommon {
    border-color: #20ff45;
    box-shadow: 0 0 16px rgba(32, 255, 69, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-rare {
    border-color: #1e88ff;
    box-shadow: 0 0 16px rgba(30, 136, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-ultra-rare {
    border-color: #ff3cff;
    box-shadow: 0 0 16px rgba(255, 60, 255, 0.45), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-rarity-common {
    color: #ffffff;
}

.class-item-rarity-uncommon {
    color: #20ff45;
}

.class-item-rarity-rare {
    color: #1e88ff;
}

.class-item-rarity-ultra-rare {
    color: #ff3cff;
}

.class-item-tooltip-flags {
    display: flex;
    gap: 6px;
    margin: 4px 0 8px 0;
}

.class-item-tooltip-flags span {
    border: 1px solid #d49a00;
    color: #fff2c2;
    background: rgba(60, 40, 12, 0.65);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 800;
}

.class-item-tooltip-section {
    color: #ffb400;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 3px;
}

.class-item-tooltip-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 2px;
}

.class-item-tooltip-stats span {
    font-weight: 800;
}

html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip {
    background: #f6f4f1;
    color: #1f140c;
}

html.eqoa-theme-light .class-item-tooltip-flags span,
body.eqoa-theme-light .class-item-tooltip-flags span {
    background: #fff7dd;
    color: #3c281b;
}

.class-item-tooltip {
    position: absolute;
    z-index: 2147483647;
    max-width: 420px;
    padding: 12px 14px;
    background: #100a06;
    color: #f7ead2;
    font-size: 13px;
    line-height: 1.35;
    pointer-events: none;
    border: 1px solid #9a6a00;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
    text-shadow: 0 0 8px currentColor;
}

.class-item-tooltip-rarity-common {
    border-color: #d8d8d8;
    box-shadow: 0 0 16px rgba(216, 216, 216, 0.25), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-uncommon {
    border-color: #20ff45;
    box-shadow: 0 0 16px rgba(32, 255, 69, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-rare {
    border-color: #1e88ff;
    box-shadow: 0 0 16px rgba(30, 136, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.85);
}

.class-item-tooltip-rarity-ultra-rare {
    border-color: #ff3cff;
    box-shadow: 0 0 16px rgba(255, 60, 255, 0.45), 0 0 20px rgba(0, 0, 0, 0.85);
}

/* =========================================================
   CLASS ITEM TABLE RARITY COLORS
   ========================================================= */

.class-item-table a.class-item-rarity-common,
.class-item-table a.class-item-rarity-common:link,
.class-item-table a.class-item-rarity-common:visited,
.class-item-table a.class-item-rarity-common:hover,
.class-item-table a.class-item-rarity-common:active {
    color: #ffffff !important;
}

.class-item-table a.class-item-rarity-uncommon,
.class-item-table a.class-item-rarity-uncommon:link,
.class-item-table a.class-item-rarity-uncommon:visited,
.class-item-table a.class-item-rarity-uncommon:hover,
.class-item-table a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
}

.class-item-table a.class-item-rarity-rare,
.class-item-table a.class-item-rarity-rare:link,
.class-item-table a.class-item-rarity-rare:visited,
.class-item-table a.class-item-rarity-rare:hover,
.class-item-table a.class-item-rarity-rare:active {
    color: #1e88ff !important;
}

.class-item-table a.class-item-rarity-ultra-rare,
.class-item-table a.class-item-rarity-ultra-rare:link,
.class-item-table a.class-item-rarity-ultra-rare:visited,
.class-item-table a.class-item-rarity-ultra-rare:hover,
.class-item-table a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
}

.class-item-table a.class-item-rarity-common,
.class-item-table a.class-item-rarity-uncommon,
.class-item-table a.class-item-rarity-rare,
.class-item-table a.class-item-rarity-ultra-rare {
    font-weight: 800 !important;
    text-shadow: 0 0 6px currentColor !important;
}

.class-item-tooltip-flags {
    display: flex;
    gap: 6px;
    margin: 4px 0 8px 0;
}

.class-item-tooltip-flags span {
    border: 1px solid #d49a00;
    color: #fff2c2;
    background: rgba(60, 40, 12, 0.65);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 800;
}

.class-item-tooltip-section {
    color: #ffb400;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 3px;
}

.class-item-tooltip-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 2px;
}

.class-item-tooltip-stats span {
    font-weight: 800;
}

html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip {
    background: #f6f4f1;
    color: #1f140c;
}

html.eqoa-theme-light .class-item-tooltip-flags span,
body.eqoa-theme-light .class-item-tooltip-flags span {
    background: #fff7dd;
    color: #3c281b;
}

/* =========================================================
   SPELL LIST THEME - FINAL
   ========================================================= */

.spell-list,
html.eqoa-theme-dark .spell-list,
body.eqoa-theme-dark .spell-list {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgb(16, 12, 9) !important;
    color: #f6f1df !important;
    border: 1px solid #8a5a12 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}

.spell-list__title,
html.eqoa-theme-dark .spell-list__title,
body.eqoa-theme-dark .spell-list__title {
    display: block !important;
    background: rgb(58, 38, 15) !important;
    color: #ffb400 !important;
    border-bottom: 1px solid #8a5a12 !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.spell-list__title .mw-headline,
html.eqoa-theme-dark .spell-list__title .mw-headline,
body.eqoa-theme-dark .spell-list__title .mw-headline {
    color: #ffb400 !important;
}

.spell-list__cols,
html.eqoa-theme-dark .spell-list__cols,
body.eqoa-theme-dark .spell-list__cols {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    background: rgb(16, 12, 9) !important;
}

.spell-col,
html.eqoa-theme-dark .spell-col,
body.eqoa-theme-dark .spell-col {
    background: rgb(16, 12, 9) !important;
    border-right: 1px solid rgba(138, 90, 18, 0.65) !important;
}

.spell-col:last-child {
    border-right: 0 !important;
}

.spell-row,
html.eqoa-theme-dark .spell-row,
body.eqoa-theme-dark .spell-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 30px !important;
    color: #f6f1df !important;
    background: rgb(16, 12, 9) !important;
    background-color: rgb(16, 12, 9) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(138, 90, 18, 0.45) !important;
}

.spell-list .spell-row .spell-lvl,
.spell-list .spell-row .spell-lvl.divider-right,
.spell-list .spell-row .spell-data,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-dark .spell-list .spell-row .spell-data,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-dark .spell-list .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.spell-list .spell-row .spell-lvl,
.spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
body.eqoa-theme-dark .spell-list .spell-row .spell-lvl.divider-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffb400 !important;
    font-weight: 800 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.65) !important;
}

.spell-data,
html.eqoa-theme-dark .spell-data,
body.eqoa-theme-dark .spell-data {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 8px !important;
    color: #f6f1df !important;
    min-width: 0 !important;
}

.spell-name a,
.spell-name a:link,
.spell-name a:visited,
html.eqoa-theme-dark .spell-name a,
html.eqoa-theme-dark .spell-name a:link,
html.eqoa-theme-dark .spell-name a:visited,
body.eqoa-theme-dark .spell-name a,
body.eqoa-theme-dark .spell-name a:link,
body.eqoa-theme-dark .spell-name a:visited {
    color: #ffb400 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.spell-name a:hover,
html.eqoa-theme-dark .spell-name a:hover,
body.eqoa-theme-dark .spell-name a:hover {
    color: #ffd45a !important;
    text-decoration: underline !important;
}

/* White theme stays separate */
html.eqoa-theme-light .spell-list,
body.eqoa-theme-light .spell-list {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
    border: 1px solid rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .spell-list__title,
body.eqoa-theme-light .spell-list__title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .spell-list__title .mw-headline,
body.eqoa-theme-light .spell-list__title .mw-headline {
    color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .spell-list__cols,
body.eqoa-theme-light .spell-list__cols,
html.eqoa-theme-light .spell-col,
body.eqoa-theme-light .spell-col {
    background: rgb(246, 244, 241) !important;
}

html.eqoa-theme-light .spell-row,
body.eqoa-theme-light .spell-row {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .spell-list .spell-row .spell-lvl,
html.eqoa-theme-light .spell-list .spell-row .spell-lvl.divider-right,
html.eqoa-theme-light .spell-list .spell-row .spell-data,
body.eqoa-theme-light .spell-list .spell-row .spell-lvl,
body.eqoa-theme-light .spell-list .spell-row .spell-lvl.divider-right,
body.eqoa-theme-light .spell-list .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

html.eqoa-theme-light .spell-lvl,
body.eqoa-theme-light .spell-lvl {
    color: rgb(60, 40, 27) !important;
}

html.eqoa-theme-light .spell-name a,
html.eqoa-theme-light .spell-name a:link,
html.eqoa-theme-light .spell-name a:visited,
body.eqoa-theme-light .spell-name a,
body.eqoa-theme-light .spell-name a:link,
body.eqoa-theme-light .spell-name a:visited {
    color: rgb(60, 40, 27) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

@media screen and (max-width: 700px) {
    .spell-list__cols {
        grid-template-columns: 1fr !important;
    }

    .spell-col {
        border-right: 0 !important;
    }

    .spell-row {
        grid-template-columns: 38px minmax(0, 1fr) !important;
    }
}















@media screen and (max-width: 1200px) {
    #eqoa-right-rail {
        display: none;
    }

    #content, .mw-body {
        margin-right: 0 !important;
    }

    html.eqoa-theme-dark #eqoa-right-rail {
        display: none;
    }

    html.eqoa-theme-dark #content, html.eqoa-theme-dark .mw-body {
        margin-right: 0 !important;
    }

    .zone-left-top-layout {
        grid-template-columns: 1fr !important;
    }

        .zone-interactive-map-content {
        padding: 0 !important;
        background: transparent !important;
    }

    .zone-interactive-map-content .eqoa-interactive-map {
        display: block !important;
        width: 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .zone-interactive-map-content .eqoa-interactive-map,
    .zone-interactive-map-content .eqoa-interactive-map .leaflet-pane,
    .zone-interactive-map-content .eqoa-interactive-map .leaflet-map-pane {
        background: transparent !important;
    }
}

@keyframes cbTooltipFade {
from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cbStatGainPulse {
0% {
        transform: scale(1.18);
        opacity: 0.25;
        text-shadow: 0 0 10px rgba(80, 255, 120, 0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cbStatLossPulse {
0% {
        transform: scale(1.18);
        opacity: 0.25;
        text-shadow: 0 0 10px rgba(255, 80, 80, 0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cbStatFlash {
0% {
        background-color: rgba(80, 255, 120, 0.22);
        box-shadow: 0 0 10px rgba(80, 255, 120, 0.55);
        transform: scale(1.06);
    }

    100% {
        background-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
}

@keyframes cbLegendaryTextPulse {
0%, 100% {
        text-shadow: 0 0 4px rgba(181,72,72,0.35), 0 0 8px rgba(120,20,20,0.18);
    }

    50% {
        text-shadow: 0 0 8px rgba(220,90,90,0.85), 0 0 18px rgba(160,30,30,0.45);
    }
}

@keyframes cbRelicTextShimmer {
0%, 100% {
        color: #d4af37;
        text-shadow: 0 0 4px rgba(212,175,55,0.35), 0 0 8px rgba(255,220,120,0.18);
    }

    50% {
        color: #ffe08a;
        text-shadow: 0 0 9px rgba(255,230,150,0.9), 0 0 20px rgba(255,240,180,0.5);
    }
}

/* =========================================================
   EQOA CLASS PAGE TABS
   Same visual style as Zone Page tabs
   ========================================================= */

.eqoa-class-tabs {
    width: 100% !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;

    background: rgb(17, 16, 14) !important;
    border: 1px solid #8a5a12 !important;
    color: #f2ab31 !important;
}

.eqoa-class-tabs-title {
    padding: 10px 12px !important;
    box-sizing: border-box !important;

    background: rgb(29, 25, 22) !important;
    color: #f2ab31 !important;
    border-bottom: 1px solid #8a5a12 !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.eqoa-class-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;

    background: rgb(15, 10, 6) !important;
    border-bottom: 1px solid #8a5a12 !important;
}

.eqoa-class-tab-button {
    appearance: none !important;
    cursor: pointer !important;

    min-height: 34px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;

    background: rgb(29, 25, 22) !important;
    color: #b9b0a4 !important;
    border: 0 !important;
    border-right: 1px solid rgba(138, 90, 18, 0.55) !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
}

.eqoa-class-tab-button:hover,
.eqoa-class-tab-button.is-active {
    background: rgb(58, 38, 15) !important;
    color: #ffd45a !important;
}

.eqoa-class-tab-panel {
    display: none !important;
    padding: 12px !important;
    box-sizing: border-box !important;

    background: rgb(17, 16, 14) !important;
    color: #f6f1df !important;
}

.eqoa-class-tab-panel.is-active {
    display: block !important;
}

html.eqoa-theme-light .eqoa-class-tabs {
    background: rgb(246, 244, 241) !important;
    border-color: rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .eqoa-class-tabs-title,
html.eqoa-theme-light .eqoa-class-tab-button.is-active,
html.eqoa-theme-light .eqoa-class-tab-button:hover {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .eqoa-class-tabs-nav,
html.eqoa-theme-light .eqoa-class-tab-panel {
    background: rgb(246, 244, 241) !important;
    color: rgb(43, 33, 27) !important;
}

html.eqoa-theme-light .eqoa-class-tab-button {
    background: rgb(235, 231, 225) !important;
    color: rgb(43, 33, 27) !important;
    border-right-color: rgb(224, 218, 210) !important;
}

@media (max-width: 700px) {
    .eqoa-class-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .eqoa-class-tab-button {
        width: 100% !important;
        border-bottom: 1px solid rgba(138, 90, 18, 0.55) !important;
    }
}

/* FINAL LOCKED SPELL ROW COLOR - DARK THEME ONLY */
html.eqoa-theme-dark .spell-list .spell-row,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd),
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even),
html.eqoa-theme-dark .spell-col .spell-row,
html.eqoa-theme-dark .spell-col .spell-row:nth-child(odd),
html.eqoa-theme-dark .spell-col .spell-row:nth-child(even),
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(odd),
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row:nth-child(even) {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
}

html.eqoa-theme-dark .spell-list .spell-row .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row .spell-data,
html.eqoa-theme-dark .spell-list .spell-row .spell-name,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd) .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(odd) .spell-data,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even) .spell-lvl,
html.eqoa-theme-dark .spell-list .spell-row:nth-child(even) .spell-data,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row .spell-lvl,
html.eqoa-theme-dark .eqoa-panel .eqoa-body .spell-row .spell-data {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* FINAL LOCKED GLOBAL ROW COLOR - DARK THEME */
html.eqoa-theme-dark tr,
html.eqoa-theme-dark td,
html.eqoa-theme-dark .spell-row,
html.eqoa-theme-dark .spell-lvl,
html.eqoa-theme-dark .spell-data,
html.eqoa-theme-dark .zone-data-table tr,
html.eqoa-theme-dark .zone-data-table td,
html.eqoa-theme-dark .class-item-table tr,
html.eqoa-theme-dark .class-item-table td,
html.eqoa-theme-dark .raid-list__col label,
html.eqoa-theme-dark .raid-checkboxify label {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
}

/* =========================================================
   CHARACTER BUILDER - FINAL DARK THEME LOCK
   ========================================================= */

/* CB headers */
html.eqoa-theme-dark #character-builder-app .character-builder-title,
html.eqoa-theme-dark #character-builder-app .character-builder-section-title,
html.eqoa-theme-dark #character-builder-app .character-builder-subsection-title,
html.eqoa-theme-dark #character-builder-app .cb-slot-section-title,
html.eqoa-theme-dark #character-builder-app .cb-export-panel-title,
html.eqoa-theme-dark #character-builder-app .cb-export-small-title,
body.eqoa-theme-dark #character-builder-app .character-builder-title,
body.eqoa-theme-dark #character-builder-app .character-builder-section-title,
body.eqoa-theme-dark #character-builder-app .character-builder-subsection-title,
body.eqoa-theme-dark #character-builder-app .cb-slot-section-title,
body.eqoa-theme-dark #character-builder-app .cb-export-panel-title,
body.eqoa-theme-dark #character-builder-app .cb-export-small-title {
    background: rgb(58, 38, 15) !important;
    background-color: rgb(58, 38, 15) !important;
    background-image: none !important;
    color: #ffb400 !important;
    border: 1px solid #8a5a12 !important;
    font-weight: 800 !important;
    text-align: center !important;
}

/* CB item row containers */
html.eqoa-theme-dark #character-builder-app .cb-item-picker-list,
html.eqoa-theme-dark #character-builder-app .cb-picker-item,
html.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(odd),
html.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(even),
html.eqoa-theme-dark #character-builder-app .cb-picker-selected,
html.eqoa-theme-dark #character-builder-app .cb-picker-none,
body.eqoa-theme-dark #character-builder-app .cb-item-picker-list,
body.eqoa-theme-dark #character-builder-app .cb-picker-item,
body.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(odd),
body.eqoa-theme-dark #character-builder-app .cb-picker-item:nth-child(even),
body.eqoa-theme-dark #character-builder-app .cb-picker-selected,
body.eqoa-theme-dark #character-builder-app .cb-picker-none {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
    border-color: rgba(138, 90, 18, 0.45) !important;
}

/* CB slot boxes / panels */
html.eqoa-theme-dark #character-builder-app .character-builder-slot,
html.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary,
html.eqoa-theme-dark #character-builder-app .character-builder-gear-column,
html.eqoa-theme-dark #character-builder-app .character-builder-warning-box,
body.eqoa-theme-dark #character-builder-app .character-builder-slot,
body.eqoa-theme-dark #character-builder-app .character-builder-equipped-summary,
body.eqoa-theme-dark #character-builder-app .character-builder-gear-column,
body.eqoa-theme-dark #character-builder-app .character-builder-warning-box {
    background: rgb(17, 16, 14) !important;
    background-color: rgb(17, 16, 14) !important;
    background-image: none !important;
    border-color: #8a5a12 !important;
}

/* Keep rarity colors, remove background from text spans */
html.eqoa-theme-dark #character-builder-app .cb-picker-item span,
html.eqoa-theme-dark #character-builder-app .cb-picker-item span[class*="cb-rarity-"],
html.eqoa-theme-dark #character-builder-app .cb-picker-item .cb-item-page-link,
body.eqoa-theme-dark #character-builder-app .cb-picker-item span,
body.eqoa-theme-dark #character-builder-app .cb-picker-item span[class*="cb-rarity-"],
body.eqoa-theme-dark #character-builder-app .cb-picker-item .cb-item-page-link {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* =========================================================
   ITEMS FOUND HERE FILTERS
   ========================================================= */

.items-filter-box {
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 10px 0;
    padding: 10px;
    border: 1px solid #8a5a12;
    background: rgb(17, 16, 14);
}

.items-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.items-filter-mode,
#clear-item-filters {
    background: rgb(29, 25, 22);
    color: #ffb400;
    border: 1px solid #8a5a12;
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
}

.items-filter-mode.is-active {
    background: rgb(58, 38, 15);
    color: #ffd45a;
}

.items-filter-tools {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 160px auto;
    gap: 8px;
}

#filter-item-search,
#filter-class-select {
    background: rgb(17, 16, 14);
    color: #f6f1df;
    border: 1px solid #5a3a12;
    padding: 8px 10px;
    box-sizing: border-box;
}

html.eqoa-theme-light .items-filter-box {
    background: rgb(246, 244, 241);
    border-color: rgb(224, 218, 210);
}

html.eqoa-theme-light .items-filter-mode,
html.eqoa-theme-light #clear-item-filters {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: rgb(224, 218, 210);
}

html.eqoa-theme-light .items-filter-mode.is-active {
    background: rgb(120, 78, 36);
    color: rgb(250, 248, 245);
}

html.eqoa-theme-light #filter-item-search,
html.eqoa-theme-light #filter-class-select {
    background: #ffffff;
    color: rgb(43, 33, 27);
    border-color: rgb(224, 218, 210);
}

@media screen and (max-width: 700px) {
    .items-filter-tools {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ITEM RARITY LINKS - SHARED BY CB, CLASS ITEMS, ZONE DROPS, NPC DROPS
   ========================================================= */

a.class-item-rarity-common,
a.class-item-rarity-common:link,
a.class-item-rarity-common:visited,
a.class-item-rarity-common:hover,
a.class-item-rarity-common:active {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45) !important;
}

a.class-item-rarity-uncommon,
a.class-item-rarity-uncommon:link,
a.class-item-rarity-uncommon:visited,
a.class-item-rarity-uncommon:hover,
a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32, 255, 69, 0.55) !important;
}

a.class-item-rarity-rare,
a.class-item-rarity-rare:link,
a.class-item-rarity-rare:visited,
a.class-item-rarity-rare:hover,
a.class-item-rarity-rare:active {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30, 136, 255, 0.65) !important;
}

a.class-item-rarity-ultra-rare,
a.class-item-rarity-ultra-rare:link,
a.class-item-rarity-ultra-rare:visited,
a.class-item-rarity-ultra-rare:hover,
a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 7px rgba(255, 60, 255, 0.75) !important;
}

#items-found-here-tooltip,
#class-item-tooltip {
    position: absolute !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}

/* Zone tab table headers: NPCs / Drops / Achievements */
html.eqoa-theme-dark .eqoa-zone-tabs table th,
html.eqoa-theme-dark .eqoa-zone-tabs .zone-data-table th,
html.eqoa-theme-dark .eqoa-zone-tabs .zone-monster-table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel .zone-data-table th,
html.eqoa-theme-dark .eqoa-zone-tab-panel .zone-monster-table th {
    background: rgb(58, 38, 15) !important;
    background-color: rgb(58, 38, 15) !important;
    color: #ffb300 !important;
    border: 1px solid #5a3a12 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

html.eqoa-theme-light .eqoa-zone-tabs table th,
html.eqoa-theme-light .eqoa-zone-tabs .zone-data-table th,
html.eqoa-theme-light .eqoa-zone-tabs .zone-monster-table th,
html.eqoa-theme-light .eqoa-zone-tab-panel table th,
html.eqoa-theme-light .eqoa-zone-tab-panel .zone-data-table th,
html.eqoa-theme-light .eqoa-zone-tab-panel .zone-monster-table th {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border: 1px solid rgb(224, 218, 210) !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* =========================================================
   FINAL ITEM RARITY COLOR OVERRIDE
   Applies to CB, Class Items, Zone Drops, NPC Drops
   ========================================================= */

html body a.class-item-rarity-common,
html body a.class-item-rarity-common:link,
html body a.class-item-rarity-common:visited,
html body a.class-item-rarity-common:hover,
html body a.class-item-rarity-common:active,
html body .zone-data-table a.class-item-rarity-common,
html body .zone-data-table a.class-item-rarity-common:hover,
html body .zone-monster-table a.class-item-rarity-common,
html body .zone-monster-table a.class-item-rarity-common:hover,
html body .eqoa-zone-tabs a.class-item-rarity-common,
html body .eqoa-zone-tabs a.class-item-rarity-common:hover {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255,255,255,0.55) !important;
}

html body a.class-item-rarity-uncommon,
html body a.class-item-rarity-uncommon:link,
html body a.class-item-rarity-uncommon:visited,
html body a.class-item-rarity-uncommon:hover,
html body a.class-item-rarity-uncommon:active,
html body .zone-data-table a.class-item-rarity-uncommon,
html body .zone-data-table a.class-item-rarity-uncommon:hover,
html body .zone-monster-table a.class-item-rarity-uncommon,
html body .zone-monster-table a.class-item-rarity-uncommon:hover,
html body .eqoa-zone-tabs a.class-item-rarity-uncommon,
html body .eqoa-zone-tabs a.class-item-rarity-uncommon:hover {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32,255,69,0.65) !important;
}

html body a.class-item-rarity-rare,
html body a.class-item-rarity-rare:link,
html body a.class-item-rarity-rare:visited,
html body a.class-item-rarity-rare:hover,
html body a.class-item-rarity-rare:active,
html body .zone-data-table a.class-item-rarity-rare,
html body .zone-data-table a.class-item-rarity-rare:hover,
html body .zone-monster-table a.class-item-rarity-rare,
html body .zone-monster-table a.class-item-rarity-rare:hover,
html body .eqoa-zone-tabs a.class-item-rarity-rare,
html body .eqoa-zone-tabs a.class-item-rarity-rare:hover {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30,136,255,0.75) !important;
}

html body a.class-item-rarity-ultra-rare,
html body a.class-item-rarity-ultra-rare:link,
html body a.class-item-rarity-ultra-rare:visited,
html body a.class-item-rarity-ultra-rare:hover,
html body a.class-item-rarity-ultra-rare:active,
html body .zone-data-table a.class-item-rarity-ultra-rare,
html body .zone-data-table a.class-item-rarity-ultra-rare:hover,
html body .zone-monster-table a.class-item-rarity-ultra-rare,
html body .zone-monster-table a.class-item-rarity-ultra-rare:hover,
html body .eqoa-zone-tabs a.class-item-rarity-ultra-rare,
html body .eqoa-zone-tabs a.class-item-rarity-ultra-rare:hover {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 7px rgba(255,60,255,0.8) !important;
}

.eqoa-class-index {
    border: 1px solid #8a5a00;
    background: #0d0c0b;
    color: #ffffff;
}

.eqoa-class-index-toolbar {
    padding: 14px;
    border-bottom: 1px solid #8a5a00;
    background: #1d1916;
}

.eqoa-class-index-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eqoa-class-index-filters button {
    min-height: 34px;
    padding: 0 14px;
    background: #1d1916;
    color: #ffb000;
    border: 1px solid #6b5430;
    font-weight: 700;
    cursor: pointer;
}

.eqoa-class-index-filters button.is-active {
    background: #3c281b;
    color: #ffffff;
    border-color: #b88422;
}

.eqoa-class-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 16px;
    padding: 16px;
}

.eqoa-class-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    min-height: 170px;
    padding: 14px;
    box-sizing: border-box;
    background: #11100e;
    border: 1px solid #3a2b1a;
    color: #ffffff !important;
}

.eqoa-class-card:hover {
    border-color: #b88422;
    background: #1d1916;
}

.eqoa-class-card-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eqoa-class-card-image {
    width: 112px;
    max-height: 145px;
    object-fit: contain;
}

.eqoa-class-card-title,
.eqoa-class-card-title a {
    color: #ffb000 !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
}

.eqoa-class-card-abbr {
    margin-top: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.eqoa-class-card-mc {
    margin-top: 8px;
    color: #f5ead8;
    font-size: 13px;
    line-height: 1.35;
}

.eqoa-class-card-mc a {
    color: #ffb000 !important;
    text-decoration: none !important;
}

.eqoa-class-card p {
    margin: 10px 0 0 0;
    color: #f5ead8;
    font-size: 14px;
    line-height: 1.4;
}

html.eqoa-theme-light .eqoa-class-index {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8c9b5;
}

html.eqoa-theme-light .eqoa-class-index-toolbar {
    background: #f6f4f1;
    border-color: #d8c9b5;
}

html.eqoa-theme-light .eqoa-class-index-filters button {
    background: #ffffff;
    color: #3c281b;
    border-color: #c8b9a6;
}

html.eqoa-theme-light .eqoa-class-index-filters button.is-active {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: rgb(60, 40, 27);
}

html.eqoa-theme-light .eqoa-class-card {
    background: #ffffff;
    border-color: #d8c9b5;
    color: #1f140c !important;
}

html.eqoa-theme-light .eqoa-class-card:hover {
    background: #f1ebe3;
    border-color: rgb(60, 40, 27);
}

html.eqoa-theme-light .eqoa-class-card-title,
html.eqoa-theme-light .eqoa-class-card-title a {
    color: rgb(60, 40, 27) !important;
}

html.eqoa-theme-light .eqoa-class-card-abbr,
html.eqoa-theme-light .eqoa-class-card-mc,
html.eqoa-theme-light .eqoa-class-card p {
    color: #1f140c;
}

html.eqoa-theme-light .eqoa-class-card-mc a {
    color: rgb(60, 40, 27) !important;
}

@media (max-width: 700px) {
    .eqoa-class-index-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
    }

    .eqoa-class-card {
        grid-template-columns: 86px 1fr;
        min-height: 130px;
        padding: 10px;
    }

    .eqoa-class-card-image {
        width: 82px;
        max-height: 112px;
    }

    .eqoa-class-card-title,
    .eqoa-class-card-title a {
        font-size: 18px;
    }
}

/* Zone Related header: follow global header theme */
.eqoa-zone-related-title,
.eqoa-zone-tabs-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    min-height: 36px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;

    background: #3c281b !important;
    color: #ffb000 !important;

    border: 0 !important;
    border-bottom: 1px solid #8a5a00 !important;

    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

html.eqoa-theme-light .eqoa-zone-related-title,
html.eqoa-theme-light .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    border-bottom-color: rgb(224, 218, 210) !important;
}

.eqoa-spell-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #11100e;
    color: #ffffff;
    border: 1px solid #3a2b1a;
}

.eqoa-spell-list-table th {
    height: 36px;
    padding: 0 10px;
    background: #2b2b2b;
    color: #ffffff;
    border-bottom: 1px solid #11100e;
    text-align: left;
    font-weight: 800;
}

.eqoa-spell-list-table td {
    height: 48px;
    padding: 6px 10px;
    border-bottom: 1px solid #222222;
    background: #1d1d1d;
    vertical-align: middle;
}

.eqoa-spell-list-table tr:nth-child(odd) td {
    background: #202020;
}

.eqoa-spell-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eqoa-spell-name-cell a {
    color: #ffd100 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.eqoa-spell-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border: 1px solid #555555;
    background: #000000;
}

.eqoa-spell-class-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 4px;
    vertical-align: middle;
}

html.eqoa-theme-light .eqoa-spell-list-table {
    background: #f6f4f1;
    color: #1f140c;
    border-color: #d8c9b5;
}

html.eqoa-theme-light .eqoa-spell-list-table th {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-bottom-color: #d8c9b5;
}

html.eqoa-theme-light .eqoa-spell-list-table td,
html.eqoa-theme-light .eqoa-spell-list-table tr:nth-child(odd) td {
    background: #ffffff;
    color: #1f140c;
    border-bottom-color: #d8c9b5;
}

@media (max-width: 700px) {
    .eqoa-spell-list-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* EQOA Spell tooltip parchment UI */
.eqoa-spell-tooltip {
    position: absolute !important;
    z-index: 2147483600 !important;
    width: 430px !important;
    max-width: calc(100vw - 24px) !important;

    color: #111111 !important;
    font-family: "Courier New", monospace !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;

    pointer-events: none !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.75)) !important;
}

.eqoa-spell-tooltip-main,
.eqoa-spell-tooltip-desc {
    padding: 16px 18px !important;
    box-sizing: border-box !important;

    background:
        linear-gradient(rgba(222, 213, 181, 0.88), rgba(185, 174, 139, 0.88)),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.035) 0px,
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px,
            transparent 7px
        ) !important;

    border: 2px solid #5b5548 !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 0 14px rgba(43, 35, 22, 0.45),
        inset 0 0 2px rgba(255, 255, 255, 0.55) !important;
}

.eqoa-spell-tooltip-main {
    min-height: 180px !important;
}

.eqoa-spell-tooltip-desc {
    min-height: 92px !important;
    margin-top: 8px !important;
}

.eqoa-spell-tooltip-name {
    margin-bottom: 4px !important;
}

.eqoa-spell-tooltip span {
    margin-left: 10px !important;
}

@media (max-width: 700px) {
    .eqoa-spell-tooltip {
        width: 330px !important;
        font-size: 20px !important;
    }

    .eqoa-spell-tooltip-main {
        min-height: 140px !important;
    }

    .eqoa-spell-tooltip-desc {
        min-height: 72px !important;
    }
}

.eqoa-spell-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
}

.eqoa-spell-path-section {
    border: 1px solid #8a5a00;
    background: #0d0c0b;
}

.eqoa-spell-path-title {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #3c281b;
    color: #ffb000;
    border-bottom: 1px solid #8a5a00;
    font-size: 16px;
    font-weight: 800;
}

html.eqoa-theme-light .eqoa-spell-path-section {
    background: #f6f4f1;
    border-color: #d8c9b5;
}

html.eqoa-theme-light .eqoa-spell-path-title {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border-color: #d8c9b5;
}

@media (max-width: 700px) {
    .eqoa-spell-path-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

/* EQOA spell tooltip: server-style parchment with gray frame */
.eqoa-spell-tooltip {
    position: absolute !important;
    z-index: 2147483600 !important;
    width: 430px !important;
    max-width: calc(100vw - 24px) !important;

    color: #050505 !important;
    font-family: "Courier New", monospace !important;
    font-size: 27px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;

    pointer-events: none !important;

    padding: 12px !important;
    box-sizing: border-box !important;

    background:
        linear-gradient(90deg, #222 0, #777 4px, #3c3c3c 8px, #111 12px, transparent 12px, transparent calc(100% - 12px), #111 calc(100% - 12px), #777 calc(100% - 4px), #222 100%),
        linear-gradient(180deg, #222 0, #777 4px, #3c3c3c 8px, #111 12px, transparent 12px, transparent calc(100% - 12px), #111 calc(100% - 12px), #777 calc(100% - 4px), #222 100%) !important;

    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.85)) !important;
}

.eqoa-spell-tooltip-main,
.eqoa-spell-tooltip-desc {
    position: relative !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;

    background:
        radial-gradient(circle at 25% 18%, rgba(255, 255, 235, 0.28), transparent 32%),
        radial-gradient(circle at 75% 70%, rgba(80, 65, 42, 0.16), transparent 40%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.035) 0px,
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px,
            transparent 7px
        ),
        linear-gradient(#d5ccb0, #b7ad8c) !important;

    border: 2px solid #5b5d5b !important;
    border-radius: 7px !important;

    box-shadow:
        inset 0 0 16px rgba(38, 32, 20, 0.55),
        inset 0 0 3px rgba(255, 255, 255, 0.6),
        0 0 0 2px #2b2d2b,
        0 0 0 4px #737673 !important;
}

.eqoa-spell-tooltip-main::before,
.eqoa-spell-tooltip-desc::before {
    content: "" !important;
    position: absolute !important;
    inset: 6px !important;
    border: 1px solid rgba(55, 55, 48, 0.35) !important;
    pointer-events: none !important;
}

.eqoa-spell-tooltip-main {
    min-height: 190px !important;
}

.eqoa-spell-tooltip-desc {
    min-height: 92px !important;
    margin-top: 10px !important;
}

.eqoa-spell-tooltip-name {
    margin-bottom: 2px !important;
}

.eqoa-spell-tooltip span {
    margin-left: 10px !important;
}

@media (max-width: 700px) {
    .eqoa-spell-tooltip {
        width: 340px !important;
        font-size: 20px !important;
        padding: 10px !important;
    }

    .eqoa-spell-tooltip-main {
        min-height: 150px !important;
    }

    .eqoa-spell-tooltip-desc {
        min-height: 74px !important;
    }
}

.class-item-rarity-legendary,
.class-item-rarity-legendary:visited,
.class-item-rarity-legendary:hover,
.cb-rarity-legendary {
    color: #ff8000 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}

.class-item-rarity-unique,
.class-item-rarity-unique:visited,
.class-item-rarity-unique:hover,
.cb-rarity-unique {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}

.class-item-tooltip.tooltip-rarity-legendary,
.tooltip-rarity-legendary {
    border-color: #ff8000 !important;
    box-shadow: 0 0 14px rgba(255, 128, 0, 0.75) !important;
}

.class-item-tooltip.tooltip-rarity-unique,
.tooltip-rarity-unique {
    border-color: #ffd700 !important;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.75) !important;
}

.class-item-tooltip.tooltip-rarity-legendary .class-item-tooltip-title,
.class-item-tooltip.tooltip-rarity-legendary .eqoa-related-tooltip-title,
.tooltip-rarity-legendary .class-item-tooltip-title,
.tooltip-rarity-legendary .eqoa-related-tooltip-title {
    color: #ff8000 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}

.class-item-tooltip.tooltip-rarity-unique .class-item-tooltip-title,
.class-item-tooltip.tooltip-rarity-unique .eqoa-related-tooltip-title,
.tooltip-rarity-unique .class-item-tooltip-title,
.tooltip-rarity-unique .eqoa-related-tooltip-title {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}

.eqoa-spell-class-icon {
    width: 75px !important;
    height: 75px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 75px  !important;
    max-height: 75px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    image-rendering: auto !important;
}

.eqoa-spell-classes-cell {
    text-align: center !important;
    vertical-align: middle !important;
}

.eqoa-spell-classes-cell .eqoa-spell-class-icon {
    text-align: center !important;
    display: inline-block !important;
}

.eqoa-spell-list-table tr {
    border-bottom: 1px solid #25211c !important;
}

.eqoa-spell-list-table td,
.eqoa-spell-list-table th {
    border-bottom: 0 !important;
}

.eqoa-spell-classes-cell {
    text-align: center !important;
    vertical-align: middle !important;
}

.eqoa-spell-classes-cell .eqoa-spell-class-icon {
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
}

.eqoa-spell-list-table th:nth-child(3) {
    text-align: center !important;
}

/* =========================================================
   QUEST TEMPLATE
   ========================================================= */

.quest-template {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.quest-left {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

.quest-right {
    flex: 2;
    min-width: 400px;
    padding: 10px;
    display: block;
}

.quest-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
    padding: 8px 12px;
    box-sizing: border-box;

    background: #3a2418;
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.45);

    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.quest-right .quest-header {
    margin-top: 10px;
}

.quest-right .quest-header:first-child {
    margin-top: 0;
}

.quest-card,
.quest-section-body {
    display: block;
    margin-top: 5px;
    padding: 10px;
    box-sizing: border-box;

    background: rgb(17, 16, 14);
    color: #f5efe2;
    border: 1px solid rgba(242, 171, 49, 0.35);
}

.quest-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quest-giver-label {
    font-weight: bold;
}

.quest-table {
    width: 100%;
    border-collapse: collapse;
}

.quest-table td {
    padding: 6px 8px;
    border: 1px solid rgba(242, 171, 49, 0.22);
    color: #f5efe2;
}

.quest-table td:first-child {
    width: 34%;
    color: #ffd45a;
}

/* White theme */
html.eqoa-theme-light .quest-header,
body.eqoa-theme-light .quest-header {
    background: rgb(60, 40, 27);
    color: rgb(250, 248, 245);
    border: 0;
}

html.eqoa-theme-light .quest-card,
html.eqoa-theme-light .quest-section-body,
body.eqoa-theme-light .quest-card,
body.eqoa-theme-light .quest-section-body {
    background: #f6f4f1;
    color: #2b211b;
    border: 1px solid #d8d1c7;
}

html.eqoa-theme-light .quest-table td,
body.eqoa-theme-light .quest-table td {
    color: #2b211b;
    border: 1px solid #d8d1c7;
}

html.eqoa-theme-light .quest-table td:first-child,
body.eqoa-theme-light .quest-table td:first-child {
    color: #4a2f1f;
}

/* Mobile */
@media screen and (max-width: 700px) {
    .quest-template {
        display: block;
    }

    .quest-left,
    .quest-right {
        width: 100%;
        min-width: 0;
        padding: 8px 0;
    }

    .quest-card img {
        max-width: 100%;
        height: auto;
    }
}

html.eqoa-theme-light body .quest-template h2.quest-header,
html.eqoa-theme-light body .quest-template h2.quest-header *,
body.eqoa-theme-light .quest-template h2.quest-header,
body.eqoa-theme-light .quest-template h2.quest-header * {
    color: #ffffff !important;
    text-shadow: none !important;
}

.tunaria-zone-page {
    display: block;
    width: 100%;
}

.tunaria-zone-map-panel,
.tunaria-zone-list-panel {
    width: 100%;
    background: rgb(17, 16, 14);
    border: 1px solid rgba(242, 171, 49, 0.35);
    margin: 0 0 16px 0;
    box-sizing: border-box;
}

.tunaria-zone-header {
    background: #3a2418;
    color: #ffd45a;
    border-bottom: 1px solid rgba(242, 171, 49, 0.35);
    padding: 9px 12px;
    text-align: center;
    font-weight: 800;
    font-size: 20px;
}





.tunaria-zone-map-panel {
    width: 100%;
    background: rgb(17, 16, 14) !important;
    border: 1px solid rgba(242, 171, 49, 0.35) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.tunaria-zone-map {
    width: 100% !important;
    padding: 18px !important;
    margin: 0 !important;
    text-align: center !important;
    background: rgb(17, 16, 14) !important;
    box-sizing: border-box !important;
}

.tunaria-zone-map,
.tunaria-zone-map *,
.tunaria-zone-map p,
.tunaria-zone-map a,
.tunaria-zone-map span,
.tunaria-zone-map div,
.tunaria-zone-map .center,
.tunaria-zone-map .floatnone,
.tunaria-zone-map .mw-file-description,
.tunaria-zone-map .mw-default-size {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.tunaria-zone-map p,
.tunaria-zone-map .center,
.tunaria-zone-map .floatnone,
.tunaria-zone-map .mw-file-description {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.tunaria-zone-map-image,
.tunaria-zone-map img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}




 





.tunaria-zone-list {
    columns: 4;
    column-gap: 28px;
    padding: 16px 22px;
    line-height: 1.45;
    background: rgb(17, 16, 14);
}

.tunaria-zone-list a {
    color: #f2ab31 !important;
    font-weight: 700;
    text-decoration: none;
}

.tunaria-zone-list a:hover {
    color: #ffd45a !important;
    text-decoration: underline;
}

html.eqoa-theme-light .tunaria-zone-map-panel,
html.eqoa-theme-light .tunaria-zone-list-panel,
body.eqoa-theme-light .tunaria-zone-map-panel,
body.eqoa-theme-light .tunaria-zone-list-panel {
    background: #f6f4f1;
    border: 1px solid #d8d1c7;
}

html.eqoa-theme-light .tunaria-zone-header,
body.eqoa-theme-light .tunaria-zone-header {
    background: rgb(60, 40, 27);
    color: #ffffff !important;
    border-bottom: 1px solid #d8d1c7;
}

html.eqoa-theme-light .tunaria-zone-map,
html.eqoa-theme-light .tunaria-zone-list,
body.eqoa-theme-light .tunaria-zone-map,
body.eqoa-theme-light .tunaria-zone-list {
    background: #f6f4f1;
}

html.eqoa-theme-light .tunaria-zone-list a,
body.eqoa-theme-light .tunaria-zone-list a {
    color: #4a2f1f !important;
}

@media screen and (max-width: 900px) {
    .tunaria-zone-list {
        columns: 2;
    }
}

@media screen and (max-width: 520px) {
    .tunaria-zone-list {
        columns: 1;
    }

    .tunaria-zone-header {
        font-size: 18px;
    }
}

html.eqoa-theme-dark a.new,
body.eqoa-theme-dark a.new,
html.eqoa-theme-dark a.new:visited,
body.eqoa-theme-dark a.new:visited {
    color: #e85b5b !important;
}

html.eqoa-theme-dark a.new:hover,
body.eqoa-theme-dark a.new:hover {
    color: #ff7777 !important;
}

/* GLOBAL WHITE THEME LINKS */
html.eqoa-theme-light #content a,
html.eqoa-theme-light .mw-body a,
html.eqoa-theme-light .eqoa-panel a,
html.eqoa-theme-light .zones-box a,
html.eqoa-theme-light .zone-data-table a,
html.eqoa-theme-light .quest-template a,
body.eqoa-theme-light #content a,
body.eqoa-theme-light .mw-body a {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #content a:visited,
html.eqoa-theme-light .mw-body a:visited,
body.eqoa-theme-light #content a:visited,
body.eqoa-theme-light .mw-body a:visited {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}

html.eqoa-theme-light #content a:hover,
html.eqoa-theme-light .mw-body a:hover,
body.eqoa-theme-light #content a:hover,
body.eqoa-theme-light .mw-body a:hover {
    color: rgb(120, 73, 38) !important;
    -webkit-text-fill-color: rgb(120, 73, 38) !important;
    text-decoration: underline !important;
}

/* Missing / uncreated pages stay red in white theme */
html.eqoa-theme-light #content a.new,
html.eqoa-theme-light .mw-body a.new,
html.eqoa-theme-light a.new,
html.eqoa-theme-light a.new:visited,
body.eqoa-theme-light #content a.new,
body.eqoa-theme-light .mw-body a.new,
body.eqoa-theme-light a.new,
body.eqoa-theme-light a.new:visited {
    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #content a.new:hover,
html.eqoa-theme-light .mw-body a.new:hover,
html.eqoa-theme-light a.new:hover,
body.eqoa-theme-light #content a.new:hover,
body.eqoa-theme-light .mw-body a.new:hover,
body.eqoa-theme-light a.new:hover {
    color: #d92d20 !important;
    -webkit-text-fill-color: #d92d20 !important;
    text-decoration: underline !important;
}

/* Normal non-link text in white theme */
html.eqoa-theme-light #content,
html.eqoa-theme-light .mw-body,
body.eqoa-theme-light #content,
body.eqoa-theme-light .mw-body {
    color: #111111 !important;
}







.zone-npc-filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background: rgb(29, 25, 22);
    border: 1px solid rgba(242, 171, 49, 0.35);
}

.zone-npc-search-input {
    min-width: 260px;
    background: rgb(17, 16, 14);
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.45);
    padding: 6px 8px;
}

.zone-npc-search-clear {
    background: rgb(60, 40, 27);
    color: #ffd45a;
    border: 1px solid rgba(242, 171, 49, 0.55);
    padding: 6px 10px;
    font-weight: bold;
    cursor: pointer;
}

html.eqoa-theme-light .zone-npc-filter-bar,
body.eqoa-theme-light .zone-npc-filter-bar {
    background: #f6f4f1;
    border-color: #d8d1c7;
}

html.eqoa-theme-light .zone-npc-search-input,
body.eqoa-theme-light .zone-npc-search-input {
    background: #ffffff;
    color: #2b211b;
    border-color: #d8d1c7;
}

html.eqoa-theme-light .zone-npc-search-clear,
body.eqoa-theme-light .zone-npc-search-clear {
    background: rgb(60, 40, 27);
    color: #ffffff;
    border-color: rgb(60, 40, 27);
}

/* =========================================================
   Quest Reward Item Rarity Links
   ========================================================= */

.quest-reward-items a.class-item-rarity-common,
.quest-reward-items a.class-item-rarity-common:link,
.quest-reward-items a.class-item-rarity-common:visited,
.quest-reward-items a.class-item-rarity-common:hover,
.quest-reward-items a.class-item-rarity-common:active {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45) !important;
}

.quest-reward-items a.class-item-rarity-uncommon,
.quest-reward-items a.class-item-rarity-uncommon:link,
.quest-reward-items a.class-item-rarity-uncommon:visited,
.quest-reward-items a.class-item-rarity-uncommon:hover,
.quest-reward-items a.class-item-rarity-uncommon:active {
    color: #20ff45 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(32, 255, 69, 0.55) !important;
}

.quest-reward-items a.class-item-rarity-rare,
.quest-reward-items a.class-item-rarity-rare:link,
.quest-reward-items a.class-item-rarity-rare:visited,
.quest-reward-items a.class-item-rarity-rare:hover,
.quest-reward-items a.class-item-rarity-rare:active {
    color: #1e88ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 6px rgba(30, 136, 255, 0.65) !important;
}

.quest-reward-items a.class-item-rarity-ultra-rare,
.quest-reward-items a.class-item-rarity-ultra-rare:link,
.quest-reward-items a.class-item-rarity-ultra-rare:visited,
.quest-reward-items a.class-item-rarity-ultra-rare:hover,
.quest-reward-items a.class-item-rarity-ultra-rare:active {
    color: #ff3cff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 60, 255, 0.75) !important;
}

.quest-reward-items a.class-item-rarity-legendary,
.quest-reward-items a.class-item-rarity-legendary:link,
.quest-reward-items a.class-item-rarity-legendary:visited,
.quest-reward-items a.class-item-rarity-legendary:hover,
.quest-reward-items a.class-item-rarity-legendary:active {
    color: #ff8000 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 128, 0, 0.85) !important;
}

.quest-reward-items a.class-item-rarity-unique,
.quest-reward-items a.class-item-rarity-unique:link,
.quest-reward-items a.class-item-rarity-unique:visited,
.quest-reward-items a.class-item-rarity-unique:hover,
.quest-reward-items a.class-item-rarity-unique:active {
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85) !important;
}


/* EQOA Quest Index Filters */
.eqoa-quest-filter-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}

.eqoa-quest-filter {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border: 1px solid #7a5100 !important;
    background: #1d1916 !important;
    color: #ffb000 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.eqoa-quest-filter.is-active,
.eqoa-quest-filter:hover {
    background: #3c2818 !important;
    color: #ffd45a !important;
    border-color: #b87900 !important;
}

.eqoa-quest-search {
    width: 100% !important;
    height: 34px !important;
    margin: 8px 0 14px 0 !important;
    padding: 6px 10px !important;
    border: 1px solid #7a5100 !important;
    background: #1d1916 !important;
    color: #ffd45a !important;
    box-sizing: border-box !important;
}

.eqoa-quest-panel {
    display: none;
}

.eqoa-quest-panel.is-active {
    display: block;
}

html.eqoa-theme-light .eqoa-quest-filter {
    background: #faf8f5 !important;
    color: #3c2818 !important;
    border-color: #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-quest-filter.is-active,
html.eqoa-theme-light .eqoa-quest-filter:hover {
    background: #3c281b !important;
    color: #ffffff !important;
    border-color: #3c281b !important;
}

html.eqoa-theme-light .eqoa-quest-search {
    background: #ffffff !important;
    color: #1f140c !important;
    border-color: #d4c6b6 !important;
}

/* EQOA Quest Index Expandable Sections */
.eqoa-quest-index-section {
    border: 1px solid #7a5100 !important;
    margin: 14px 0 !important;
    background: #0d0c0b !important;
}

.eqoa-quest-index-section > .eqoa-section-title {
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    padding-right: 36px !important;
}

.eqoa-quest-index-section > .eqoa-section-title::after {
    content: '+' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #ffd45a !important;
}

.eqoa-quest-index-section.is-open > .eqoa-section-title::after {
    content: '-' !important;
}

.eqoa-quest-index-section:not(.is-open) > :not(.eqoa-section-title) {
    display: none !important;
}

html.eqoa-theme-light .eqoa-quest-index-section {
    background: #faf8f5 !important;
    border-color: #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-quest-index-section > .eqoa-section-title::after {
    color: #ffffff !important;
}

/* White Theme Quest Section Headers */
html.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title,
body.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title {
    background: #3c281b !important;
    background-color: #3c281b !important;
    color: #ffffff !important;
    border-color: #3c281b !important;
}

html.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title::after,
body.eqoa-theme-light .eqoa-quest-index .eqoa-quest-index-section > .eqoa-section-title::after {
    color: #ffffff !important;
}





.soa-home-banner-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    overflow: hidden;
}

.soa-home-banner-wrap .thumb,
.soa-home-banner-wrap .thumbinner,
.soa-home-banner-wrap .center,
.soa-home-banner-wrap .floatnone {
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    float: none !important;
}


@media (max-width: 700px) {
    #p-cactions.eqoa-mobile-page-actions-bottom {
        position: static !important;
        width: 132px !important;
        margin: 12px auto 10px auto !important;
        order: 99 !important;
    }
}

@media (max-width: 700px) {
    #column-one #sidebar-toggle,
    #column-one #p-personal-toggle,
    #column-one #globalWrapper-toggle,
    #column-one .menu-toggle,
    #column-one .mobile-close-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* New Player Hub */
.eqoa-new-player-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.eqoa-new-player-hub .eqoa-page-title {
    grid-column: 1 / -1;
}

.eqoa-new-player-hub .eqoa-panel {
    margin: 0 !important;
}

.eqoa-new-player-hub .eqoa-body {
    min-height: 120px;
}

.eqoa-new-player-hub ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.eqoa-new-player-hub li {
    margin: 4px 0;
    font-weight: 800;
}

/* Dark theme */
html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-panel,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-panel {
    background: #0d0c0b !important;
    border: 1px solid #7a5100 !important;
}

html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-header,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-header {
    background: #3c281b !important;
    color: #ffb000 !important;
    border-bottom: 1px solid #7a5100 !important;
}

html.eqoa-theme-dark .eqoa-new-player-hub .eqoa-body,
body.eqoa-theme-dark .eqoa-new-player-hub .eqoa-body {
    background: #0d0c0b !important;
    color: #ffffff !important;
}

/* White theme */
html.eqoa-theme-light .eqoa-new-player-hub .eqoa-panel,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-panel {
    background: #faf8f5 !important;
    border: 1px solid #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-new-player-hub .eqoa-header,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-header {
    background: #3c281b !important;
    color: #ffffff !important;
    border-bottom: 1px solid #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-new-player-hub .eqoa-body,
body.eqoa-theme-light .eqoa-new-player-hub .eqoa-body {
    background: #faf8f5 !important;
    color: #1f140c !important;
}

html.eqoa-theme-light .eqoa-new-player-hub a,
body.eqoa-theme-light .eqoa-new-player-hub a {
    color: #8a4b00 !important;
}

@media (max-width: 700px) {
    .eqoa-new-player-hub {
        grid-template-columns: 1fr;
    }

    .eqoa-new-player-hub .eqoa-body {
        min-height: 0;
    }
}



/* White theme: Sandstorm Changes brown headers must use white text */
html.eqoa-theme-light .eqoa-changes-page .eqoa-header,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header,
html.eqoa-theme-light .eqoa-changes-page .eqoa-header *,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header *,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title *,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title *,
html.eqoa-theme-light .eqoa-changes-page .eqoa-change-title a,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-title a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}










/* Sandstorm Changes Page */
.eqoa-changes-page {
    margin-top: 14px;
}

.eqoa-changes-page .eqoa-page-title {
    margin-bottom: 14px;
}

.eqoa-changes-page .eqoa-panel {
    margin: 0 0 14px 0 !important;
}

.eqoa-changes-page .eqoa-body {
    padding: 12px !important;
}

.eqoa-changes-toc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.eqoa-changes-toc-grid > div {
    border: 1px solid #7a5100;
    background: #1d1916;
    padding: 10px;
    text-align: center;
    font-weight: 900;
}

.eqoa-changes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.eqoa-change-box {
    border: 1px solid #7a5100;
    background: #0d0c0b;
    min-height: 92px;
}

.eqoa-change-title {
    background: #3c281b;
    color: #ffb000;
    border-bottom: 1px solid #7a5100;
    padding: 8px 10px;
    font-weight: 900;
    text-align: center;
}

.eqoa-change-title a {
    color: inherit !important;
}

.eqoa-change-body {
    padding: 10px;
    color: #ffffff;
}

/* White theme */
html.eqoa-theme-light .eqoa-changes-page .eqoa-panel,
body.eqoa-theme-light .eqoa-changes-page .eqoa-panel {
    background: #faf8f5 !important;
    border: 1px solid #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-changes-page .eqoa-header,
body.eqoa-theme-light .eqoa-changes-page .eqoa-header,
html.eqoa-theme-light .eqoa-change-title,
body.eqoa-theme-light .eqoa-change-title {
    background: #3c281b !important;
    color: #ffffff !important;
    border-bottom: 1px solid #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-changes-page .eqoa-body,
body.eqoa-theme-light .eqoa-changes-page .eqoa-body {
    background: #faf8f5 !important;
    color: #1f140c !important;
}

html.eqoa-theme-light .eqoa-change-box,
body.eqoa-theme-light .eqoa-change-box,
html.eqoa-theme-light .eqoa-changes-toc-grid > div,
body.eqoa-theme-light .eqoa-changes-toc-grid > div {
    background: #ffffff !important;
    border: 1px solid #d4c6b6 !important;
}

html.eqoa-theme-light .eqoa-change-body,
body.eqoa-theme-light .eqoa-change-body {
    color: #1f140c !important;
}

html.eqoa-theme-light .eqoa-changes-page a,
body.eqoa-theme-light .eqoa-changes-page a {
    color: #8a4b00 !important;
}

html.eqoa-theme-light .eqoa-change-title a,
body.eqoa-theme-light .eqoa-change-title a {
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .eqoa-changes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eqoa-changes-toc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .eqoa-changes-grid,
    .eqoa-changes-toc-grid {
        grid-template-columns: 1fr;
    }
}

/* Zone tabs must only show the active panel */
.eqoa-zone-tab-panel {
    display: none !important;
}

.eqoa-zone-tab-panel.is-active {
    display: block !important;
}

/* White theme zone Related tabs */
html.eqoa-theme-light .eqoa-zone-tabs,
body.eqoa-theme-light .eqoa-zone-tabs {
    background: rgb(246, 244, 241) !important;
    border: 1px solid rgb(224, 218, 210) !important;
    color: #111111 !important;
}

html.eqoa-theme-light .eqoa-zone-tabs-title,
body.eqoa-theme-light .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .eqoa-zone-tab-buttons,
body.eqoa-theme-light .eqoa-zone-tab-buttons {
    display: flex !important;
    width: 100% !important;
    background: rgb(246, 244, 241) !important;
    border-bottom: 1px solid rgb(224, 218, 210) !important;
}

html.eqoa-theme-light .eqoa-zone-tab-button,
body.eqoa-theme-light .eqoa-zone-tab-button {
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1px solid rgb(224, 218, 210) !important;
    border-bottom: 0 !important;
}

html.eqoa-theme-light .eqoa-zone-tab-button.is-active,
body.eqoa-theme-light .eqoa-zone-tab-button.is-active {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .eqoa-zone-tab-panel,
body.eqoa-theme-light .eqoa-zone-tab-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    padding: 12px !important;
}


/* WHITE THEME: GLOBAL UI TOOLTIP TEXT FIX */
html.eqoa-theme-light .class-item-tooltip,
body.eqoa-theme-light .class-item-tooltip,
html.eqoa-theme-light .eqoa-item-tooltip,
body.eqoa-theme-light .eqoa-item-tooltip,
html.eqoa-theme-light .eqoa-spell-tooltip,
body.eqoa-theme-light .eqoa-spell-tooltip,
html.eqoa-theme-light .cb-item-tooltip,
body.eqoa-theme-light .cb-item-tooltip,
html.eqoa-theme-light .cb-tooltip,
body.eqoa-theme-light .cb-tooltip,
html.eqoa-theme-light .character-builder-tooltip,
body.eqoa-theme-light .character-builder-tooltip,
html.eqoa-theme-light #class-item-tooltip,
body.eqoa-theme-light #class-item-tooltip,
html.eqoa-theme-light #cb-item-tooltip,
body.eqoa-theme-light #cb-item-tooltip {
    background: rgb(246, 244, 241) !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border-color: rgb(107, 84, 48) !important;
}

/* Tooltip titles: brown in white theme unless rarity JS overrides it */
html.eqoa-theme-light .class-item-tooltip-title,
body.eqoa-theme-light .class-item-tooltip-title,
html.eqoa-theme-light .eqoa-item-tooltip-title,
body.eqoa-theme-light .eqoa-item-tooltip-title,
html.eqoa-theme-light .cb-item-tooltip-title,
body.eqoa-theme-light .cb-item-tooltip-title,
html.eqoa-theme-light .cb-tooltip-title,
body.eqoa-theme-light .cb-tooltip-title,
html.eqoa-theme-light .character-builder-tooltip-title,
body.eqoa-theme-light .character-builder-tooltip-title {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}

/* Generic readable tooltip text in white theme */
html.eqoa-theme-light .class-item-tooltip div,
body.eqoa-theme-light .class-item-tooltip div,
html.eqoa-theme-light .eqoa-item-tooltip div,
body.eqoa-theme-light .eqoa-item-tooltip div,
html.eqoa-theme-light .cb-item-tooltip div,
body.eqoa-theme-light .cb-item-tooltip div,
html.eqoa-theme-light .cb-tooltip div,
body.eqoa-theme-light .cb-tooltip div,
html.eqoa-theme-light .character-builder-tooltip div,
body.eqoa-theme-light .character-builder-tooltip div {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

/* Keep tooltip label text gold */
html.eqoa-theme-light .class-item-tooltip b,
body.eqoa-theme-light .class-item-tooltip b,
html.eqoa-theme-light .eqoa-item-tooltip b,
body.eqoa-theme-light .eqoa-item-tooltip b,
html.eqoa-theme-light .cb-item-tooltip b,
body.eqoa-theme-light .cb-item-tooltip b,
html.eqoa-theme-light .cb-tooltip b,
body.eqoa-theme-light .cb-tooltip b {
    color: #b36b00 !important;
    -webkit-text-fill-color: #b36b00 !important;
}

/* WHITE THEME: CHARACTER BUILDER ITEM LIST RARITY COLORS */
html.eqoa-theme-light .cb-picker-item,
body.eqoa-theme-light .cb-picker-item {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-common,
body.eqoa-theme-light .cb-picker-item .cb-rarity-common {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-uncommon,
body.eqoa-theme-light .cb-picker-item .cb-rarity-uncommon {
    color: #008f2f !important;
    -webkit-text-fill-color: #008f2f !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-rare,
body.eqoa-theme-light .cb-picker-item .cb-rarity-rare {
    color: #005fcc !important;
    -webkit-text-fill-color: #005fcc !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-ultra-rare,
body.eqoa-theme-light .cb-picker-item .cb-rarity-ultra-rare {
    color: #b000b8 !important;
    -webkit-text-fill-color: #b000b8 !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-legendary,
body.eqoa-theme-light .cb-picker-item .cb-rarity-legendary {
    color: #a85f00 !important;
    -webkit-text-fill-color: #a85f00 !important;
}

html.eqoa-theme-light .cb-picker-item .cb-rarity-unique,
body.eqoa-theme-light .cb-picker-item .cb-rarity-unique {
    color: #8b1a1a !important;
    -webkit-text-fill-color: #8b1a1a !important;
}

html.eqoa-theme-light .cb-picker-item .cb-item-page-link,
body.eqoa-theme-light .cb-picker-item .cb-item-page-link {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}

/* WHITE THEME: NORMAL PAGE LINKS */
html.eqoa-theme-light #bodyContent a:not(.new):not(.class-item-tooltip-link):not([class*="rarity"]),
body.eqoa-theme-light #bodyContent a:not(.new):not(.class-item-tooltip-link):not([class*="rarity"]) {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}

html.eqoa-theme-light #bodyContent a.new,
body.eqoa-theme-light #bodyContent a.new,
html.eqoa-theme-light #bodyContent a.new:visited,
body.eqoa-theme-light #bodyContent a.new:visited {
    color: #d92d20 !important;
    -webkit-text-fill-color: #d92d20 !important;
}

/* WHITE THEME: BROWN HEADER TEXT */
html.eqoa-theme-light .eqoa-header,
html.eqoa-theme-light .eqoa-page-title,
html.eqoa-theme-light .eqoa-section-title,
html.eqoa-theme-light .eqoa-zone-tabs-title,
html.eqoa-theme-light .quest-header,
html.eqoa-theme-light .zones-header,
html.eqoa-theme-light .zone-info-title,
html.eqoa-theme-light .npcname-header,
html.eqoa-theme-light .spell-list__title,
html.eqoa-theme-light .raid-list__title,
html.eqoa-theme-light .raid-list__section-title,
html.eqoa-theme-light .eqoa-change-section-title,
html.eqoa-theme-light .eqoa-change-card-title,
html.eqoa-theme-light .sandstorm-change-card-title,
body.eqoa-theme-light .eqoa-header,
body.eqoa-theme-light .eqoa-page-title,
body.eqoa-theme-light .eqoa-section-title,
body.eqoa-theme-light .eqoa-zone-tabs-title,
body.eqoa-theme-light .quest-header,
body.eqoa-theme-light .zones-header,
body.eqoa-theme-light .zone-info-title,
body.eqoa-theme-light .npcname-header,
body.eqoa-theme-light .spell-list__title,
body.eqoa-theme-light .raid-list__title,
body.eqoa-theme-light .raid-list__section-title,
body.eqoa-theme-light .eqoa-change-section-title,
body.eqoa-theme-light .eqoa-change-card-title,
body.eqoa-theme-light .sandstorm-change-card-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* WHITE THEME: COMPLETED LINKS INSIDE BROWN HEADERS */
html.eqoa-theme-light .eqoa-header a:not(.new),
html.eqoa-theme-light .eqoa-page-title a:not(.new),
html.eqoa-theme-light .eqoa-section-title a:not(.new),
html.eqoa-theme-light .eqoa-zone-tabs-title a:not(.new),
html.eqoa-theme-light .quest-header a:not(.new),
html.eqoa-theme-light .zones-header a:not(.new),
html.eqoa-theme-light .zone-info-title a:not(.new),
html.eqoa-theme-light .npcname-header a:not(.new),
html.eqoa-theme-light .spell-list__title a:not(.new),
html.eqoa-theme-light .raid-list__title a:not(.new),
html.eqoa-theme-light .raid-list__section-title a:not(.new),
html.eqoa-theme-light .eqoa-change-card-title a:not(.new),
body.eqoa-theme-light .eqoa-header a:not(.new),
body.eqoa-theme-light .eqoa-page-title a:not(.new),
body.eqoa-theme-light .eqoa-section-title a:not(.new),
body.eqoa-theme-light .eqoa-zone-tabs-title a:not(.new),
body.eqoa-theme-light .quest-header a:not(.new),
body.eqoa-theme-light .zones-header a:not(.new),
body.eqoa-theme-light .zone-info-title a:not(.new),
body.eqoa-theme-light .npcname-header a:not(.new),
body.eqoa-theme-light .spell-list__title a:not(.new),
body.eqoa-theme-light .raid-list__title a:not(.new),
body.eqoa-theme-light .raid-list__section-title a:not(.new),
body.eqoa-theme-light .eqoa-change-card-title a:not(.new) {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* WHITE THEME: UNBUILT LINKS INSIDE BROWN HEADERS */
html.eqoa-theme-light .eqoa-header a.new,
html.eqoa-theme-light .eqoa-page-title a.new,
html.eqoa-theme-light .eqoa-section-title a.new,
html.eqoa-theme-light .eqoa-zone-tabs-title a.new,
html.eqoa-theme-light .quest-header a.new,
html.eqoa-theme-light .zones-header a.new,
html.eqoa-theme-light .zone-info-title a.new,
html.eqoa-theme-light .npcname-header a.new,
html.eqoa-theme-light .spell-list__title a.new,
html.eqoa-theme-light .raid-list__title a.new,
html.eqoa-theme-light .raid-list__section-title a.new,
html.eqoa-theme-light .eqoa-change-card-title a.new,
body.eqoa-theme-light .eqoa-header a.new,
body.eqoa-theme-light .eqoa-page-title a.new,
body.eqoa-theme-light .eqoa-section-title a.new,
body.eqoa-theme-light .eqoa-zone-tabs-title a.new,
body.eqoa-theme-light .quest-header a.new,
body.eqoa-theme-light .zones-header a.new,
body.eqoa-theme-light .zone-info-title a.new,
body.eqoa-theme-light .npcname-header a.new,
body.eqoa-theme-light .spell-list__title a.new,
body.eqoa-theme-light .raid-list__title a.new,
body.eqoa-theme-light .raid-list__section-title a.new,
body.eqoa-theme-light .eqoa-change-card-title a.new {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}

/* WHITE THEME: SANDSTORM CHANGES CARD HEADER LINKS */
html.eqoa-theme-light #bodyContent .eqoa-change-title,
body.eqoa-theme-light #bodyContent .eqoa-change-title {
    background: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new):visited,
body.eqoa-theme-light #bodyContent .eqoa-change-title a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #bodyContent .eqoa-change-title a.new,
body.eqoa-theme-light #bodyContent .eqoa-change-title a.new,
html.eqoa-theme-light #bodyContent .eqoa-change-title a.new:visited,
body.eqoa-theme-light #bodyContent .eqoa-change-title a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
    text-shadow: none !important;
}

/* WHITE THEME: ZONE PAGE HEADER LOCK */
html.eqoa-theme-light #bodyContent .zones-header,
body.eqoa-theme-light #bodyContent .zones-header,
html.eqoa-theme-light #bodyContent .zone-details-header,
body.eqoa-theme-light #bodyContent .zone-details-header,
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title,
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}

/* WHITE THEME: LINKS INSIDE THOSE ZONE HEADERS */
html.eqoa-theme-light #bodyContent .zones-header a:not(.new),
body.eqoa-theme-light #bodyContent .zones-header a:not(.new),
html.eqoa-theme-light #bodyContent .zone-details-header a:not(.new),
body.eqoa-theme-light #bodyContent .zone-details-header a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a:not(.new) {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* WHITE THEME: REDLINKS INSIDE THOSE ZONE HEADERS */
html.eqoa-theme-light #bodyContent .zones-header a.new,
body.eqoa-theme-light #bodyContent .zones-header a.new,
html.eqoa-theme-light #bodyContent .zone-details-header a.new,
body.eqoa-theme-light #bodyContent .zone-details-header a.new,
html.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a.new,
body.eqoa-theme-light #bodyContent .eqoa-zone-tabs-title a.new {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}


/* WHITE THEME: EQOA HEADER LOCK */
html.eqoa-theme-light #bodyContent .eqoa-header,
body.eqoa-theme-light #bodyContent .eqoa-header {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}

html.eqoa-theme-light #bodyContent .eqoa-header a:not(.new),
body.eqoa-theme-light #bodyContent .eqoa-header a:not(.new),
html.eqoa-theme-light #bodyContent .eqoa-header a:not(.new):visited,
body.eqoa-theme-light #bodyContent .eqoa-header a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light #bodyContent .eqoa-header a.new,
body.eqoa-theme-light #bodyContent .eqoa-header a.new,
html.eqoa-theme-light #bodyContent .eqoa-header a.new:visited,
body.eqoa-theme-light #bodyContent .eqoa-header a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}

/* WHITE THEME: TABLE CAPTION HEADER LOCK */
html.eqoa-theme-light #bodyContent table caption,
body.eqoa-theme-light #bodyContent table caption,
html.eqoa-theme-light #bodyContent caption,
body.eqoa-theme-light #bodyContent caption {
    background: rgb(60, 40, 27) !important;
    background-color: rgb(60, 40, 27) !important;
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
    border-color: rgb(224, 218, 210) !important;
    text-shadow: none !important;
}

/* WHITE THEME: CAPTION COLLAPSE / EXPAND BUTTON */
html.eqoa-theme-light #bodyContent caption .mw-collapsible-toggle,
body.eqoa-theme-light #bodyContent caption .mw-collapsible-toggle,
html.eqoa-theme-light #bodyContent caption .mw-collapsible-text,
body.eqoa-theme-light #bodyContent caption .mw-collapsible-text {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* WHITE THEME: LINKS INSIDE CAPTION HEADERS */
html.eqoa-theme-light #bodyContent caption a:not(.new),
body.eqoa-theme-light #bodyContent caption a:not(.new),
html.eqoa-theme-light #bodyContent caption a:not(.new):visited,
body.eqoa-theme-light #bodyContent caption a:not(.new):visited {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* WHITE THEME: REDLINKS INSIDE CAPTION HEADERS */
html.eqoa-theme-light #bodyContent caption a.new,
body.eqoa-theme-light #bodyContent caption a.new,
html.eqoa-theme-light #bodyContent caption a.new:visited,
body.eqoa-theme-light #bodyContent caption a.new:visited {
    color: #ff3b30 !important;
    -webkit-text-fill-color: #ff3b30 !important;
}

/* SANDSTORM CHANGES: HEADER CLICK COLLAPSE STYLE */
.eqoa-changes-page .eqoa-changes-section > .eqoa-header {
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
}

.eqoa-changes-page .eqoa-changes-section > .eqoa-header .mw-collapsible-toggle {
    display: none !important;
}

.eqoa-changes-page .eqoa-change-header-plus {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 20px !important;
    height: 20px !important;

    color: #ffb000 !important;
    -webkit-text-fill-color: #ffb000 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 20px !important;
    text-shadow: none !important;
    pointer-events: none !important;
}

html.eqoa-theme-light .eqoa-changes-page .eqoa-change-header-plus,
body.eqoa-theme-light .eqoa-changes-page .eqoa-change-header-plus {
    color: rgb(250, 248, 245) !important;
    -webkit-text-fill-color: rgb(250, 248, 245) !important;
}

/* SANDSTORM CHANGES: HIDE DEFAULT MEDIAWIKI EXPAND TEXT IN BOTH THEMES */
html.eqoa-theme-light .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
body.eqoa-theme-light .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
html.eqoa-theme-dark .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
body.eqoa-theme-dark .eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle,
.eqoa-changes-page .eqoa-changes-section .mw-collapsible-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* MOBILE FIX: Level Hunting Guide EXP camp tables - keep collapsible working */
@media screen and (max-width: 700px) {
    table.exp-camp-table,
    html.eqoa-theme-dark table.exp-camp-table,
    html.eqoa-theme-light table.exp-camp-table,
    body.eqoa-theme-dark table.exp-camp-table,
    body.eqoa-theme-light table.exp-camp-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }

    table.exp-camp-table caption {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        caption-side: top !important;
        padding: 10px 12px !important;
        margin: 18px 0 0 0 !important;
        text-align: center !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        background: rgb(60, 40, 27) !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
        border: 1px solid #8a5a00 !important;
    }

    table.exp-camp-table caption .mw-collapsible-toggle {
        float: none !important;
        display: inline-block !important;
        margin-left: 8px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
    }

    table.exp-camp-table:not(.mw-collapsed) tr {
    display: table-row !important;
}

table.exp-camp-table.mw-collapsed tr {
    display: none !important;
}

    table.exp-camp-table th,
    table.exp-camp-table td {
        display: table-cell !important;
        width: auto !important;
        min-width: 90px !important;
        max-width: none !important;
        padding: 6px 8px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        vertical-align: middle !important;
        box-sizing: border-box !important;
    }

    table.exp-camp-table th {
        font-size: 15px !important;
        text-align: center !important;
        background: rgb(60, 40, 27) !important;
        color: rgb(250, 248, 245) !important;
        -webkit-text-fill-color: rgb(250, 248, 245) !important;
    }

    table.exp-camp-table th:nth-child(1),
    table.exp-camp-table td:nth-child(1) {
        min-width: 60px !important;
        text-align: center !important;
    }

    table.exp-camp-table th:nth-child(2),
    table.exp-camp-table td:nth-child(2) {
        min-width: 110px !important;
    }

    table.exp-camp-table th:nth-child(3),
    table.exp-camp-table td:nth-child(3) {
        min-width: 140px !important;
    }

    table.exp-camp-table th:nth-child(4),
    table.exp-camp-table td:nth-child(4) {
        min-width: 170px !important;
    }

    table.exp-camp-table th:nth-child(5),
    table.exp-camp-table td:nth-child(5) {
        min-width: 140px !important;
    }

    html.eqoa-theme-light table.exp-camp-table td,
    body.eqoa-theme-light table.exp-camp-table td {
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
    }
}

/* EXP CAMP TABLE: header click + / - collapse icon */
table.exp-camp-table caption {
    position: relative !important;
    padding-right: 42px !important;
    cursor: pointer !important;
}

table.exp-camp-table caption .mw-collapsible-toggle,
html.eqoa-theme-dark table.exp-camp-table caption .mw-collapsible-toggle,
html.eqoa-theme-light table.exp-camp-table caption .mw-collapsible-toggle,
body.eqoa-theme-dark table.exp-camp-table caption .mw-collapsible-toggle,
body.eqoa-theme-light table.exp-camp-table caption .mw-collapsible-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #ffb000 !important;
    -webkit-text-fill-color: #ffb000 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

table.exp-camp-table caption .mw-collapsible-text,
table.exp-camp-table caption .mw-collapsible-bracket {
    display: none !important;
}

table.exp-camp-table caption {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* NPCFriendly Template */
.eqoa-friendly-npc-page {
    width: 100%;
    box-sizing: border-box;
}

.eqoa-friendly-npc-top {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
    gap: 12px;
    align-items: start;
}

.eqoa-friendly-npc-page .eqoa-panel {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 0 0 12px 0;
}

.eqoa-friendly-npc-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    padding: 8px 10px;
}

.eqoa-friendly-npc-page .eqoa-body {
    padding: 10px;
    color: #ffffff;
}

.eqoa-friendly-npc-info-table {
    width: 100%;
    border-collapse: collapse;
}

.eqoa-friendly-npc-info-table th,
.eqoa-friendly-npc-info-table td {
    border: 1px solid #3a2f25;
    padding: 8px 10px;
    vertical-align: top;
}

.eqoa-friendly-npc-info-table th {
    width: 34%;
    background: rgb(29, 25, 22);
    color: #ffb000;
    text-align: left;
}

.eqoa-friendly-npc-image-body {
    text-align: center;
}

.eqoa-friendly-npc-image {
    max-width: 100%;
    height: auto;
}

.eqoa-friendly-npc-caption {
    margin-top: 8px;
    color: #ffb000;
    font-weight: 700;
    text-align: center;
}

.eqoa-friendly-npc-page a {
    color: #ffb000;
    font-weight: 700;
}

.eqoa-friendly-npc-page a.new {
    color: #ff3b30 !important;
}

/* Light Theme */
html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-panel {
    background: #ffffff;
    border-color: #e0dad2;
}

html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}

html.eqoa-theme-light .eqoa-friendly-npc-page .eqoa-body {
    color: #111111;
}

html.eqoa-theme-light .eqoa-friendly-npc-info-table th,
html.eqoa-theme-light .eqoa-friendly-npc-info-table td {
    border-color: #e0dad2;
}

html.eqoa-theme-light .eqoa-friendly-npc-info-table th {
    background: #f6f4f1;
    color: rgb(60, 40, 27);
}

html.eqoa-theme-light .eqoa-friendly-npc-page a:not(.new) {
    color: rgb(74, 47, 31) !important;
}

html.eqoa-theme-light .eqoa-friendly-npc-page a.new {
    color: #cc1f1f !important;
}

/* Mobile */
@media screen and (max-width: 700px) {
    .eqoa-friendly-npc-top {
        display: block;
    }

    .eqoa-friendly-npc-page .eqoa-panel {
        margin-bottom: 10px;
    }

    .eqoa-friendly-npc-info-table th,
    .eqoa-friendly-npc-info-table td {
        padding: 7px 8px;
        font-size: 13px;
    }

    .eqoa-friendly-npc-info-table th {
        width: 38%;
    }

    .eqoa-friendly-npc-image {
        width: 100%;
        max-width: 320px;
    }
}

/* Template:NPCMerchant */
.eqoa-merchant-page,
.eqoa-merchant-page * {
    box-sizing: border-box;
}

.eqoa-merchant-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 12px;
    align-items: start;
}

.eqoa-merchant-page .eqoa-panel {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 0 0 12px 0;
    overflow: hidden;
}

.eqoa-merchant-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    padding: 8px 10px;
}

.eqoa-merchant-page .eqoa-body {
    background: rgb(17, 16, 14);
    color: #ffffff;
    padding: 10px;
}

.eqoa-merchant-info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.eqoa-merchant-info-table th,
.eqoa-merchant-info-table td {
    border: 1px solid #3a2f25;
    padding: 8px 10px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.eqoa-merchant-info-table th {
    width: 32%;
    background: rgb(29, 25, 22);
    color: #ffb000;
    text-align: left;
    font-weight: 800;
}

.eqoa-merchant-image-body {
    text-align: center;
}

.eqoa-merchant-image,
.eqoa-merchant-image-body img {
    max-width: 100%;
    height: auto;
}

.eqoa-merchant-caption {
    margin-top: 8px;
    color: #ffb000;
    font-weight: 800;
    text-align: center;
}

.eqoa-merchant-sells ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
}

.eqoa-merchant-sells li {
    margin: 0px 0;
}

.eqoa-merchant-page a:not(.new) {
    color: #ffb000;
    font-weight: 700;
}

.eqoa-merchant-page a.new {
    color: #ff3b30 !important;
}

/* Template:NPCMerchant light theme */
html.eqoa-theme-light .eqoa-merchant-page .eqoa-panel {
    background: #ffffff;
    border-color: #e0dad2;
}

html.eqoa-theme-light .eqoa-merchant-page .eqoa-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}

html.eqoa-theme-light .eqoa-merchant-page .eqoa-body {
    background: #ffffff;
    color: #111111;
}

html.eqoa-theme-light .eqoa-merchant-info-table th,
html.eqoa-theme-light .eqoa-merchant-info-table td {
    border-color: #e0dad2;
}

html.eqoa-theme-light .eqoa-merchant-info-table th {
    background: #f6f4f1;
    color: rgb(60, 40, 27);
}

html.eqoa-theme-light .eqoa-merchant-page a:not(.new) {
    color: rgb(74, 47, 31) !important;
    -webkit-text-fill-color: rgb(74, 47, 31) !important;
}

html.eqoa-theme-light .eqoa-merchant-page a.new {
    color: #cc1f1f !important;
    -webkit-text-fill-color: #cc1f1f !important;
}

/* Template:NPCMerchant mobile */
@media screen and (max-width: 700px) {
    .eqoa-merchant-top {
        display: block;
    }

    .eqoa-merchant-info-table th,
    .eqoa-merchant-info-table td {
        padding: 7px 8px;
        font-size: 13px;
    }

    .eqoa-merchant-info-table th {
        width: 38%;
    }

    .eqoa-merchant-image,
    .eqoa-merchant-image-body img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
}

/* Template Library Page */
.eqoa-template-library {
    display: block;
    width: 100%;
}

.eqoa-template-card {
    border: 1px solid #6b5430;
    background: rgb(17, 16, 14);
    margin: 12px 0;
    padding: 10px;
}

.eqoa-template-title {
    color: #ffb000;
    font-weight: 800;
    margin-bottom: 8px;
}

.eqoa-template-copy-button {
    background: rgb(60, 40, 27);
    color: #ffffff;
    border: 1px solid #b8860b;
    padding: 6px 14px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 8px;
}

.eqoa-template-code {
    white-space: pre-wrap;
    background: #0f0f0f;
    color: #ffffff;
    border: 1px solid #3a2f25;
    padding: 10px;
    margin: 0;
    overflow-x: auto;
}

html.eqoa-theme-light .eqoa-template-card {
    background: #ffffff;
    border-color: #e0dad2;
}

html.eqoa-theme-light .eqoa-template-title {
    color: rgb(74, 47, 31);
}

html.eqoa-theme-light .eqoa-template-code {
    background: #f6f4f1;
    color: #111111;
    border-color: #e0dad2;
}

/* Play-Nice Policy page */
.policy-page {
    border: 1px solid #8a5a00;
    background: #11100e;
    color: #f5f0e6;
    padding: 18px;
    box-sizing: border-box;
}

.policy-hero {
    background: rgb(60, 40, 27);
    border: 1px solid #8a5a00;
    padding: 18px 14px;
    text-align: center;
    margin-bottom: 16px;
}

.policy-title {
    color: #ffb000;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
}

.policy-subtitle {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.policy-rule {
    border: 1px solid #5f430d;
    background: rgb(29, 25, 22);
}

.policy-rule-title {
    background: rgb(60, 40, 27);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 9px 12px;
    border-bottom: 1px solid #8a5a00;
}

.policy-rule-body {
    color: #f5f0e6;
    font-size: 14px;
    line-height: 1.45;
    padding: 11px 12px;
}

.policy-warning {
    margin-top: 16px;
    border: 1px solid #b30;
    background: #1d1410;
    padding: 14px 18px;
}

.policy-warning-title {
    color: #ffb000;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}

.policy-warning ul {
    margin: 8px 0 0 22px;
}

.policy-warning li {
    margin: 4px 0;
}

/* White theme */
html.eqoa-theme-light .policy-page {
    background: #f6f4f1;
    color: #111;
    border-color: #d8c8b8;
}

html.eqoa-theme-light .policy-hero,
html.eqoa-theme-light .policy-rule-title {
    background: rgb(60, 40, 27);
    color: #fff !important;
}

html.eqoa-theme-light .policy-rule {
    background: #fff;
    border-color: #d8c8b8;
}

html.eqoa-theme-light .policy-rule-body {
    color: #111;
}

html.eqoa-theme-light .policy-warning {
    background: #fff7f2;
    color: #111;
    border-color: #b30;
}

/* Play-Nice Policy agreement notice */
.policy-agreement {
    margin: 0 0 16px 0;
    padding: 12px 14px;
    border: 1px solid #8a5a00;
    background: rgb(60, 40, 27);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    line-height: 1.4;
}

html.eqoa-theme-light .policy-agreement {
    background: rgb(60, 40, 27);
    color: #fff !important;
    border-color: #d8c8b8;
}

/* Mobile */
@media (max-width: 700px) {
    .policy-page {
        padding: 10px;
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }

    .policy-title {
        font-size: 24px;
    }

    .policy-rule-title {
        font-size: 16px;
    }
}



/* ===== Zone Related Tabs: locked active panel behavior ===== */

.eqoa-zone-tabs .eqoa-zone-tab-panel {
    display: none !important;
}

.eqoa-zone-tabs .eqoa-zone-tab-panel.is-active {
    display: block !important;
}

.eqoa-zone-tabs .eqoa-zone-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eqoa-zone-tabs .eqoa-zone-tab-button {
    cursor: pointer !important;
}

.eqoa-zone-tabs .eqoa-zone-tabs-body {
    width: 100% !important;
    box-sizing: border-box !important;
}

.eqoa-zone-tabs .eqoa-zone-tab-panel > * {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Center Drops column content in Zone NPC tab */
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops,
.eqoa-zone-tabs .zone-monster-table th.zone-monster-drops {
    text-align: center !important;
    vertical-align: middle !important;
}

.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops a,
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops span,
.eqoa-zone-tabs .zone-monster-table td.zone-monster-drops div {
    text-align: center !important;
}


/* ===========================
   ItemPageMisc
   Trash / quest / misc items
   =========================== */

.eqoa-misc-item-page {
    width: 100%;
    box-sizing: border-box;
}

.eqoa-misc-inspect-box {
    width: min(1120px, 96vw);
    min-height: 250px;
    margin: 18px auto 28px auto;
    padding: 26px 32px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.72) !important;
    border: 2px solid rgba(220, 220, 220, 0.75) !important;

    box-shadow:
        inset 0 0 45px rgba(255, 255, 255, 0.05),
        inset 0 0 110px rgba(0, 0, 0, 0.95),
        0 0 18px rgba(0, 0, 0, 0.95) !important;

    color: #ffffff !important;
    text-shadow: 3px 3px 2px #000000;
}

.eqoa-misc-inspect-box * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.eqoa-misc-inspect-name {
    margin: 0 0 34px 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.eqoa-misc-inspect-flags {
    display: block !important;
    margin: 0 0 4px 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    white-space: normal;
}

.eqoa-misc-inspect-desc {
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.eqoa-misc-section {
    max-width: 1100px;
    margin: 18px auto;
    border: 1px solid #805200;
    background: rgb(29, 25, 22) !important;
    box-sizing: border-box;
}

.eqoa-misc-section-header {
    padding: 10px 14px;
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #805200;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eqoa-misc-section-body {
    min-height: 56px;
    padding: 22px 16px;
    background: rgb(29, 25, 22) !important;
    color: #f5efe5 !important;
    font-size: 18px;
    line-height: 1.45;
    box-sizing: border-box;
}

.eqoa-misc-section-body a:not(.new) {
    color: #f0b400 !important;
    font-weight: 700;
}

.eqoa-misc-section-body a.new {
    color: #ff3b30 !important;
    font-weight: 700;
}

.eqoa-misc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.eqoa-misc-two-col .eqoa-misc-section {
    width: 100%;
    margin: 0;
}

/* White theme */
html.eqoa-theme-light .eqoa-misc-inspect-box {
    background: rgba(0, 0, 0, 0.72) !important;
    border: 2px solid rgba(220, 220, 220, 0.75) !important;
    color: #ffffff !important;
}

html.eqoa-theme-light .eqoa-misc-inspect-name,
html.eqoa-theme-light .eqoa-misc-inspect-flags,
html.eqoa-theme-light .eqoa-misc-inspect-desc {
    color: #ffffff !important;
}

html.eqoa-theme-light .eqoa-misc-section {
    border-color: rgb(224, 218, 210);
    background: rgb(250, 248, 245) !important;
}

html.eqoa-theme-light .eqoa-misc-section-header {
    background: rgb(60, 40, 27) !important;
    color: #ffffff !important;
}

html.eqoa-theme-light .eqoa-misc-section-body {
    background: rgb(250, 248, 245) !important;
    color: #111111 !important;
}

html.eqoa-theme-light .eqoa-misc-section-body a:not(.new) {
    color: rgb(74, 47, 31) !important;
}

html.eqoa-theme-light .eqoa-misc-section-body a.new {
    color: #d10000 !important;
}

/* Mobile */
@media screen and (max-width: 700px) {
    .eqoa-misc-inspect-box {
        width: 100%;
        min-height: 190px;
        margin: 12px 0 18px 0;
        padding: 18px 20px;
    }

    .eqoa-misc-inspect-name {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .eqoa-misc-inspect-flags,
    .eqoa-misc-inspect-desc {
        font-size: 21px;
        line-height: 1.15;
    }

    .eqoa-misc-two-col {
        display: block;
    }

    .eqoa-misc-two-col .eqoa-misc-section {
        margin: 18px 0;
    }

    .eqoa-misc-section-body {
        font-size: 16px;
        padding: 16px 12px;
    }
}

.eqoa-misc-inspect-flags {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 18px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.eqoa-misc-inspect-flags span {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}












/* MOBILE: KEEP TOP BAR FROM COVERING PAGE TITLE */
@media screen and (max-width: 700px) {
    body #globalWrapper {
        padding-top: 25px !important;
        box-sizing: border-box !important;
    }

    body #content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body #firstHeading,
    body .firstHeading,
    body h1.firstHeading {
        margin-top: 0 !important;
        padding-top: 8px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    body #eqoa-topbar {
        z-index: 2147483000 !important;
    }
}





/* =========================================================
   Zone Page: equal-height Zone Information, no visual restyle
   ========================================================= */

:root {
  --eqoa-zone-info-font-family: inherit;
  --eqoa-zone-info-font-size: 14px;
  --eqoa-zone-info-line-height: 1.35;
  --eqoa-zone-info-font-weight: 700;
  --eqoa-zone-info-header-font-size: 20px;
  --eqoa-zone-info-header-font-weight: 800;
}

@media (min-width: 901px) {
  .zone-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .zone-page-layout > .zone-left,
  .zone-page-layout > .zone-right {
    min-width: 0 !important;
  }

  .zone-page-layout > .zone-right {
    display: flex !important;
    align-self: stretch !important;
    height: 100% !important;
  }

  .zone-page-layout > .zone-right > * {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .zone-page-layout > .zone-right table {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

.zone-page-layout > .zone-right,
.zone-page-layout > .zone-right table,
.zone-page-layout > .zone-right th,
.zone-page-layout > .zone-right td {
  font-family: var(--eqoa-zone-info-font-family) !important;
  font-size: var(--eqoa-zone-info-font-size) !important;
  line-height: var(--eqoa-zone-info-line-height) !important;
}

.zone-page-layout > .zone-right th,
.zone-page-layout > .zone-right td {
  font-weight: var(--eqoa-zone-info-font-weight) !important;
}

.zone-page-layout > .zone-right .eqoa-header,
.zone-page-layout > .zone-right .zones-header,
.zone-page-layout > .zone-right .zone-details-header,
.zone-page-layout > .zone-right caption {
  font-family: var(--eqoa-zone-info-font-family) !important;
  font-size: var(--eqoa-zone-info-header-font-size) !important;
  font-weight: var(--eqoa-zone-info-header-font-weight) !important;
  line-height: 1.2 !important;
}

@media (max-width: 900px) {
  .zone-page-layout {
    display: block !important;
  }

  .zone-page-layout > .zone-left,
  .zone-page-layout > .zone-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .zone-page-layout > .zone-right {
    display: block !important;
    height: auto !important;
    margin-top: 12px !important;
  }

  .zone-page-layout > .zone-right > *,
  .zone-page-layout > .zone-right table {
    height: auto !important;
    min-height: 0 !important;
  }

  .zone-page-layout > .zone-right,
  .zone-page-layout > .zone-right table,
  .zone-page-layout > .zone-right th,
  .zone-page-layout > .zone-right td {
    font-size: 15px !important;
  }

  .zone-page-layout > .zone-right .eqoa-header,
  .zone-page-layout > .zone-right .zones-header,
  .zone-page-layout > .zone-right .zone-details-header,
  .zone-page-layout > .zone-right caption {
    font-size: 18px !important;
  }
}


/* Zone Information: keep Unique NPCs / Connections label cells matching other label cells */
.zone-page-layout .zone-right td:has(> b:first-child):has(> b:only-child) {
  background: rgb(29, 25, 22) !important;
}



.eqoa-zone-screenshots {
  background: rgb(17, 16, 14) !important;
  border: 1px solid #9a6500 !important;
  color: #fff !important;
  padding: 14px !important;
  margin: 20px 0 !important;
}



.eqoa-zone-screenshots-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.eqoa-zone-screenshots-title {
  color: #ffae00 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

.eqoa-zone-screenshots-subtitle,
.eqoa-zone-screenshots-count {
  color: #fff !important;
}

.eqoa-zone-screenshots-count {
  margin-top: 4px !important;
  font-weight: 800 !important;
  color: #ffae00 !important;
}

.eqoa-zone-screenshots-upload a {
  display: inline-block !important;
  background: #d89416 !important;
  color: #111 !important;
  font-weight: 900 !important;
  padding: 10px 18px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
}

.eqoa-zone-screenshots-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.eqoa-zone-screenshot-card {
  display: block !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #000 !important;
  border: 3px solid #000 !important;
  cursor: pointer !important;
}

.eqoa-zone-screenshot-card:nth-child(n+5) {
  display: none !important;
}

.eqoa-zone-screenshot-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Screenshots header: match zone detail headers exactly */
.eqoa-zone-screenshots .eqoa-zone-screenshots-header,
.eqoa-zone-screenshots-header.zones-header.zone-details-header {
  background: rgb(51, 37, 19) !important;
  color: rgb(216, 154, 34) !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(74, 53, 24) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 20.4px !important;
  text-align: center !important;
  padding: 6px 8px !important;
  margin: 0 !important;
}

/* Screenshot popup */
.eqoa-screenshot-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.92) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
}

.eqoa-screenshot-lightbox.is-open {
  display: flex !important;
}

.eqoa-screenshot-lightbox-image {
  width: min(1500px, 92vw) !important;
  height: auto !important;
  max-height: 86vh !important;
  object-fit: contain !important;
  border: 2px solid #9a6500 !important;
  box-shadow: 0 0 28px rgba(255, 174, 0, 0.35) !important;
}

.eqoa-screenshot-lightbox-close,
.eqoa-screenshot-lightbox-prev,
.eqoa-screenshot-lightbox-next {
  position: fixed !important;
  z-index: 1000000 !important;
  background: rgba(20, 14, 9, 0.95) !important;
  color: #ffae00 !important;
  border: 1px solid #9a6500 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.eqoa-screenshot-lightbox-close {
  top: 14px !important;
  right: 18px !important;
  width: 44px !important;
  height: 44px !important;
}

.eqoa-screenshot-lightbox-prev,
.eqoa-screenshot-lightbox-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 58px !important;
}

.eqoa-screenshot-lightbox-prev {
  left: 18px !important;
}

.eqoa-screenshot-lightbox-next {
  right: 18px !important;
}

.eqoa-screenshot-lightbox-counter {
  position: fixed !important;
  bottom: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #ffae00 !important;
  font-weight: 900 !important;
  background: rgba(20, 14, 9, 0.9) !important;
  border: 1px solid #9a6500 !important;
  padding: 6px 12px !important;
}

@media (max-width: 700px) {
  .eqoa-zone-screenshots-top {
    display: block !important;
  }

  .eqoa-zone-screenshots-upload {
    margin-top: 12px !important;
  }

  .eqoa-zone-screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .eqoa-screenshot-lightbox-image {
    width: 94vw !important;
    max-height: 78vh !important;
  }
}


/* Raid Encounters modern grid */
.raid-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.raid-list__grid,
.raid-list > .eqoa-section-title {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  background: transparent !important;
  border: 1px solid #4a3518 !important;
}

.raid-list__col {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid #9b6500 !important;
  background: #11100e !important;
}

.raid-list__col b {
  display: block !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  background: #332513 !important;
  color: #d89a22 !important;
  border-bottom: 1px solid #4a3518 !important;
  text-align: center !important;
  font-weight: 900 !important;
}

.raid-list__col label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 10px !important;
  line-height: 1.35 !important;
}

.raid-list__col input[type="checkbox"] {
  flex: 0 0 auto !important;
}

@media (max-width: 1100px) {
  .raid-list__grid,
  .raid-list > .eqoa-section-title {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .raid-list__grid,
  .raid-list > .eqoa-section-title {
    grid-template-columns: 1fr !important;
    padding: 8px !important;
  }
}



/* ===========================
   EQOA Achievements
=========================== */

.eqoa-achievements-page {
    --ach-bg: #080806;
    --ach-panel: #0f0c08;
    --ach-panel-soft: #17110b;
    --ach-header: #3c281b;
    --ach-border: #8a5a00;
    --ach-border-soft: rgba(138, 90, 0, 0.55);
    --ach-text: #ffffff;
    --ach-gold: #ffae00;
    --ach-muted: #d8c7a3;
    --ach-blue: #2f93ff;

    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
    border: 1px solid var(--ach-border);
    padding: 14px;
}

body.theme-light .eqoa-achievements-page,
body.client-lightmode .eqoa-achievements-page,
body.skin-theme-clientpref-day .eqoa-achievements-page {
    --ach-bg: #f6f3ed;
    --ach-panel: #ffffff;
    --ach-panel-soft: #f1ebe2;
    --ach-header: #3c281b;
    --ach-border: #d7c7b5;
    --ach-border-soft: #d7c7b5;
    --ach-text: #111111;
    --ach-gold: #d89000;
    --ach-muted: #4a2f1f;
}

.eqoa-achievements-page * {
    box-sizing: border-box;
}

.eqoa-achievement-top,
.eqoa-achievement-tracker,
.eqoa-achievement-controls,
.eqoa-achievement-list {
    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
}

.eqoa-achievement-tracker {
    border: 1px solid var(--ach-border);
    margin-bottom: 12px;
}

.eqoa-achievement-tracker .eqoa-header {
    background: var(--ach-header) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--ach-border);
    text-align: center;
    font-weight: 800;
}

.eqoa-achievement-tracker-body {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 20px;
    padding: 14px;
    background: var(--ach-bg) !important;
    align-items: stretch;
}

.eqoa-achievement-total {
    border-right: 1px solid var(--ach-border-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 100%;
    padding: 8px 10px;
}

.eqoa-achievement-total-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    overflow: hidden;
    margin: 0 auto;
}

.eqoa-achievement-total-icon img {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border: 0 !important;
    background: transparent !important;
}

.eqoa-achievement-total-percent {
    color: var(--ach-gold);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.eqoa-achievement-total-count {
    color: var(--ach-text);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.eqoa-achievement-breakdowns {
    display: grid;
    gap: 8px;
}

.eqoa-achievement-breakdowns > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    border: 1px solid var(--ach-border-soft);
    background: var(--ach-panel) !important;
    color: var(--ach-text) !important;
    padding: 8px 12px;
    font-weight: 700;
}

.eqoa-achievement-breakdowns span {
    color: var(--ach-gold);
}

.eqoa-achievement-controls {
    border: 1px solid var(--ach-border);
    margin-bottom: 12px;
    padding: 10px;
}

.eqoa-achievement-main-tabs,
.eqoa-achievement-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.eqoa-achievement-main-tabs button,
.eqoa-achievement-subtabs button {
    appearance: none;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: var(--ach-gold) !important;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
}

.eqoa-achievement-main-tabs button.is-active,
.eqoa-achievement-subtabs button.is-active {
    background: var(--ach-header) !important;
    color: #ffffff !important;
}

.eqoa-achievement-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eqoa-achievement-search {
    flex: 1;
    min-width: 220px;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel) !important;
    color: var(--ach-text) !important;
    padding: 9px 10px;
}

.eqoa-achievement-toggle-label {
    color: var(--ach-gold);
    font-weight: 800;
    white-space: nowrap;
}

.eqoa-achievement-row {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) 92px minmax(180px, 230px) 56px;
    gap: 16px;
    align-items: center;
    min-height: 118px;
    border-bottom: 1px solid var(--ach-border-soft);
    background: var(--ach-bg) !important;
    color: var(--ach-text) !important;
    padding: 14px 10px;
}

.eqoa-achievement-row[hidden],
.eqoa-achievement-row.is-filtered-out {
    display: none !important;
}

.eqoa-achievement-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: transparent !important;
    font-size: 0 !important;
}

.eqoa-achievement-icon img {
    width: 52px !important;
    height: 52px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border: 0 !important;
    background: transparent !important;
}

.eqoa-achievement-icon .mw-broken-media,
.eqoa-achievement-icon a.new {
    display: none !important;
}

.eqoa-achievement-icon-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--ach-gold);
    font-size: 26px;
    font-weight: 900;
}

.eqoa-achievement-name {
    color: var(--ach-gold);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
}

.eqoa-achievement-description {
    color: var(--ach-text);
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}

.eqoa-achievement-points {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    gap: 2px;

    padding: 0;
    overflow: hidden !important;

    border: 1px solid var(--ach-border);
    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 174, 0, 0.08),
            rgba(255, 174, 0, 0.02)
        ) !important;

    text-align: center;
    line-height: 1;
}

.eqoa-achievement-points pre {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    white-space: normal !important;

    background: transparent !important;
    border: 0 !important;
}

.eqoa-achievement-points span {
    display: block;
    margin: 0;

    color: var(--ach-gold) !important;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.eqoa-achievement-points small {
    display: block;
    margin: 1px 0 0;

    color: var(--ach-muted) !important;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.eqoa-achievement-points,
.eqoa-achievement-points pre {
    overflow: hidden !important;
}

.eqoa-achievement-points pre {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    white-space: normal !important;
    line-height: 1 !important;
}

.eqoa-achievement-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
}

.eqoa-achievement-reward,
.eqoa-achievement-tag {
    border: 1px solid var(--ach-border);
    background: var(--ach-panel-soft) !important;
    color: var(--ach-gold) !important;
    padding: 5px 8px;
    font-weight: 800;
    font-size: 12px;
}

.eqoa-achievement-reward {
    border-color: var(--ach-blue);
    color: var(--ach-blue) !important;
}

.eqoa-achievement-check-placeholder {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
    background: transparent !important;
}

f.eqoa-achievement-breakdowns > div,
.eqoa-achievement-main-tabs button,
.eqoa-achievement-subtabs button,
.eqoa-achievement-search,
.eqoa-achievement-points,
.eqoa-achievement-reward,
.eqoa-achievement-tag,
.eqoa-achievement-check {
    border-radius: 3px;
}

.eqoa-achievement-check {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--ach-border) !important;
    background: var(--ach-panel-soft) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
}

.eqoa-achievement-check::before {
    content: "";
}

.eqoa-achievement-row.is-completed .eqoa-achievement-check::before {
    content: "✓";
    color: var(--ach-gold);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.eqoa-achievement-requirements {
    display: none;
    grid-column: 2 / -1;
    border: 1px solid var(--ach-border);
    background: var(--ach-panel) !important;
    padding: 10px;
}

.eqoa-achievement-row.is-requirements-open .eqoa-achievement-requirements {
    display: block;
}

.eqoa-achievement-requirements-title {
    color: var(--ach-gold);
    font-weight: 900;
    margin-bottom: 8px;
}

.eqoa-achievement-requirement {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--ach-border-soft);
    background: var(--ach-panel-soft) !important;
    color: #9c9c9c !important;
    padding: 7px 9px;
    margin: 0 0 6px;
    font-weight: 800;
    cursor: pointer;
}

.eqoa-achievement-requirement.is-completed {
    color: #69d35f !important;
}

.eqoa-achievement-row.is-highlighted {
    outline: 2px solid var(--ach-gold);
    outline-offset: -2px;
}

.eqoa-achievements-page pre,
.eqoa-achievements-page .mw-parser-output pre {
    background: transparent !important;
    border: 0 !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 760px) {
    .eqoa-achievement-tracker-body {
        grid-template-columns: 1fr;
    }

    .eqoa-achievement-total {
        border-right: 0;
        border-bottom: 1px solid var(--ach-border-soft);
        padding-bottom: 12px;
    }

    .eqoa-achievement-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .eqoa-achievement-search {
        min-width: 0;
        width: 100%;
    }

    .eqoa-achievement-row {
        grid-template-columns: 58px minmax(0, 1fr) 62px 46px;
        grid-template-areas:
            "icon main points check"
            "meta meta meta meta"
            "req req req req";
        gap: 10px;
        padding: 12px 8px;

    }

.eqoa-achievement-row {
    grid-template-columns:
        66px
        minmax(0, 1fr)
        72px
        minmax(180px, 230px)
        56px;
}

    .eqoa-achievement-icon {
        grid-area: icon;
    }

    .eqoa-achievement-main {
        grid-area: main;
    }

    .eqoa-achievement-points {
        grid-area: points;
        width: 58px;
    }

    .eqoa-achievement-meta {
        grid-area: meta;
    }

    .eqoa-achievement-check-placeholder {
        grid-area: check;
    }

    .eqoa-achievement-requirements {
        grid-area: req;
        grid-column: 1 / -1;
    }
}

.eqoa-achievement-list > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

.eqoa-achievement-list > p {
    margin: 0 !important;
}

.eqoa-achievement-list > p:empty,
.eqoa-achievement-list > p:has(br:only-child) {
    display: none !important;
}

.eqoa-achievement-points-summary {
    display: flex;
    justify-content: center;
    margin: 10px 0 12px;
}

.eqoa-achievement-points-summary-card {
    width: 300px;
    padding: 9px 16px;

    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label value"
        "meta value";

    align-items: center;
    gap: 2px 16px;

    border: 1px solid var(--ach-border-soft);
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 174, 0, 0.07),
            rgba(255, 174, 0, 0.02)
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 3px 10px rgba(0, 0, 0, 0.22);
}

.eqoa-achievement-points-summary-label {
    grid-area: label;
    color: var(--ach-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.eqoa-achievement-points-summary-value {
    grid-area: value;
    color: var(--ach-gold);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.eqoa-achievement-points-summary-meta {
    grid-area: meta;
    color: var(--ach-muted);
    font-size: 10px;
    font-weight: 700;
}

.eqoa-achievement-list {
    display: flex;
    flex-direction: column;
}

.eqoa-achievement-row {
    order: 0;
}

.eqoa-achievement-row[data-achievement-icon="Achievement Meta.png"] {
    order: -1;
}