Jump to content

MediaWiki:Common.css: Difference between revisions

From Once Human Guide
No edit summary
No edit summary
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
.navtable{
/* =============================================================
  COMMON.CSS
  Sections:
    1. Navigation
    2. Tab System
    3. Dropdown System
        3a. Container
        3b. Button
        3c. List & Items
        3d. Scrollbar
    4. Output Panel (Tech Bench Style)
    5. Cleanup / Utility Overrides
    6. Main Page redesign
    7. Patch Notes area
  ============================================================= */
 
 
/* ================= 1. NAVIGATION ================= */
.navtable {
  margin: 0 auto;
   border: none;
   border: none;
  border-collapse: collapse;
   text-align: center;
   text-align: center;
  margin: 0 auto;
  border-collapse: collapse;
}
}


.navcell{
.navcell {
   padding: 0 18px 10px 18px; /* reduced horizontal + vertical spacing */
   padding: 0 18px 10px;
   vertical-align: top;
   vertical-align: top;
}
}


.navimg img{
.navimg img {
   display:block;
   display: block;
   margin:0 auto;
   margin: 0 auto;
}
}


/* Smaller fixed icon heights */
.navicon {
.navicon{
   display: flex;
   display:flex;
   align-items: flex-end;
   align-items:flex-end;
   justify-content: center;
   justify-content:center;
   width: 200px;
   width: 200px;
}
}


.navicon--row1{
.navicon--row1 { height: 150px; }
   height: 150px; /* was 160 */
.navicon--row2 { height: 200px; }
 
.navlabel {
   width: 100%;
  margin-top: 4px;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
}
}


.navicon--row2{
.navlabel--tight { margin-top: 2px; }
   height: 200px; /* was 210 */
 
.navicon--empty,
.navlabel--empty {
   visibility: hidden;
}
}


/* Pull labels closer */
body.page-Main_Page h1.firstHeading {
.navlabel{
   display: none;
  margin-top: 4px;  /* was 8 */
  line-height: 1.05;
   font-weight: 800;
}
}


.navlabel--tight{
 
   margin-top: 2px; /* almost touching */
/* ================= 2. TAB SYSTEM ================= */
.mw-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
   margin-bottom: 12px;
}
}


.navicon--empty,
.mw-tab-btn {
.navlabel--empty{
  min-width: 90px;
   visibility:hidden;
  padding: 8px 14px;
  background: #111;
  color: #ccc;
  border: 1px solid #444;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
   cursor: pointer;
}
}


.navlabel{
.mw-tab-btn:hover {
  text-align: center;  /* centers the words */
   border-color: #00bfff;
  width: 100%;          /* makes it span full cell width */
   color: #fff;
  margin-top: 4px;
   line-height: 1.05;
   font-weight: 800;
}
}


.navlabel--tight{
.mw-tab-btn.active {
   text-align: center;
   background: #00bfff;
  width: 100%;
   color: #000;
   margin-top: 2px;
}
}


.mw-tab-content {
  display: none;
  overflow: visible !important;
}


body.page-Main_Page h1.firstHeading {
.mw-tab-content.active {
    display: none;
  display: block;
}
}


/* ===== GAME UI DROPDOWN ===== */


/* ================= 3. DROPDOWN SYSTEM ================= */
/* -- 3a. Container -- */
.mw-dropdown-ui {
.mw-dropdown-ui {
   background: #1e1e1e;
   position: relative;
   border: 2px solid #444;
   width: 100%;
   border-radius: 10px;
   max-width: 420px;
   padding: 15px;
  margin: 18px auto;
   margin: 15px 0;
   padding: 14px;
   box-shadow: 0 0 10px rgba(0,0,0,0.6);
  background: linear-gradient(145deg, #1a1a1a, #111);
   max-width: 600px;
  border: 1px solid #333;
   border-radius: 12px;
   box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
   box-sizing: border-box;
  overflow: visible;
}
 
/* Header label (pulls from data-label attribute) */
.mw-dropdown-ui::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 10px;
  color: #00bfff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}
}


.mw-dropdown-ui select {
/* Force consistent sizing on children */
.mw-dropdown-ui *,
.mod-dropdown-btn,
.mw-dropdown-output {
   width: 100%;
   width: 100%;
   padding: 10px;
   max-width: 100%;
   background: #111;
  box-sizing: border-box;
   color: #fff;
}
   border: 1px solid #666;
 
/* -- 3b. Button -- */
.mod-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
   background: #0f0f0f;
   color: #eee;
   border: 1px solid #444;
   border-radius: 6px;
   border-radius: 6px;
  margin-bottom: 10px;
   font-weight: bold;
   font-size: 14px;
   cursor: pointer;
   cursor: pointer;
}
}


.mw-dropdown-ui select:hover {
/* -- 3c. List & Items -- */
   border-color: #00bfff;
.mod-dropdown-list {
  display: none;
  position: absolute;
  top: 56px;
  left: 14px;
  right: 14px;
  width: auto;
  max-height: 250px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 99999;
}
 
.mod-dropdown-item {
  padding: 8px;
  color: #ccc;
   border-bottom: 1px solid #222;
  cursor: pointer;
}
}


/* Output panel */
.mod-dropdown-item:last-child {
.mw-dropdown-output {
   border-bottom: none;
  background: #0d0d0d;
  border: 1px solid #333;
  padding: 12px;
   border-radius: 6px;
  color: #ddd;
  min-width: 300px;
  line-height: 1.4;
}
}


/* Section headers */
.mod-dropdown-item:hover {
h3 {
   background: #00bfff;
   color: #00bfff;
   color: #000;
   border-bottom: 2px solid #00bfff;
  padding-bottom: 5px;
  margin-top: 25px;
}
}


/* Optional glow effect */
/* -- 3d. Scrollbar -- */
.mw-dropdown-ui:hover {
.mod-dropdown-list::-webkit-scrollbar {
   box-shadow: 0 0 15px rgba(0,191,255,0.6);
   width: 6px;
}
}
/* ===== TAB SYSTEM ===== */


.mw-tabs {
.mod-dropdown-list::-webkit-scrollbar-thumb {
   margin: 20px 0;
   background: #00bfff;
  border-radius: 3px;
}
}


.mw-tab-buttons {
 
   display: flex;
/* ================= 4. OUTPUT PANEL (TECH BENCH STYLE) ================= */
   gap: 8px;
.mw-dropdown-output {
   margin-bottom: 10px;
   min-height: 70px;
   flex-wrap: wrap;
  margin-top: 10px;
  padding: 12px;
  background: #0d1319;
   border: 1px solid #1f2a35;
   border-radius: 10px;
   color: #e6edf3;
  font-size: 13px;
}
}


.mw-tab-btn {
.mw-ui-placeholder {
  padding: 8px 14px;
   color: #666;
  background: #111;
   font-style: italic;
   color: #ccc;
   text-align: center;
   border: 1px solid #444;
  border-radius: 6px;
   cursor: pointer;
  font-weight: bold;
}
}


.mw-tab-btn:hover {
.mw-ui-title {
   border-color: #00bfff;
   margin-bottom: 8px;
   color: #fff;
  color: #e6edf3;
   font-size: 14px;
  font-weight: 700;
}
}


.mw-tab-btn.active {
.mw-ui-line {
   background: #00bfff;
   padding: 6px 0;
   color: #000;
  border-top: 1px solid #1a222b;
   color: #9fb0c3;
  font-size: 13px;
}
}


.mw-tab-content {
.mw-ui-line:first-of-type {
   display: none;
   border-top: none;
}
}


.mw-tab-content.active {
 
   display: block;
/* ================= 5. CLEANUP / UTILITY OVERRIDES ================= */
.mw-dropdown,
.mw-dropdown-content {
   display: none !important;
}
}


/* Hide empty dropdown list completely */
[data-left]:empty,
.mw-dropdown-list {
[data-right]:empty,
   display: none;
.mw-tab-content div:empty {
  border: none !important;
   display: none !important;
  background: none !important;
  padding: 0 !important;
}
}


/* Only show when active */
 
.mw-dropdown.open .mw-dropdown-list {
/* ================= 6. MAIN PAGE REDESIGN ================= */
  display: block;
/* ===== shared ===== */
  border: 1px solid #444;
.page-Main_Page .firstHeading,
  background: #1a1a1a;
.page-Main_Page #siteSub { display: none; }  /* hide "Main Page" title for a cleaner landing */
   padding: 5px;
 
.mp-wrap a { text-decoration: none; }
.mp-wrap a.new { color: inherit; }            /* don't redlink-color nav cards */
 
/* clickable image fills its container */
.mp-card-img img, .mp-tile-img img, .mp-banner-img img {
   width: 100%; height: 100%; object-fit: cover; display: block;
}
}
/* ===== Design A ===== */
.mpa { --bg:#0d1117; --panel:#161b22; --accent:#f5a623; --accent2:#e8531f;
      --text:#e6edf3; --muted:#9aa7b4; --border:#2a3442; }
.mpa-hero { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); padding:48px 40px; color:var(--text);
  background:
    linear-gradient(115deg, rgba(13,17,23,.95) 35%, rgba(13,17,23,.55) 70%, rgba(13,17,23,.25)),
    url("/images/thumb/0/0c/OH_Map.png/1120px-OH_Map.png") center/cover; }
.mpa-hero-title { font-size:2.2em; font-weight:800; margin-bottom:8px; }
.mpa-hero-title .mpa-accent { color:var(--accent); }
.mpa-hero-tag { color:var(--muted); max-width:520px; font-size:1.05em; margin-bottom:22px; }
.mpa-btn a { display:inline-block; margin:0 10px 8px 0; padding:10px 20px;
  border-radius:8px; font-weight:600; transition:transform .15s, box-shadow .15s; }
.mpa-btn-primary a { background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#14100a !important; }
.mpa-btn-ghost a { border:1px solid var(--accent); color:var(--accent) !important; }
.mpa-btn a:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(245,166,35,.35); }
.mpa-new { display:inline-block; width:9px; height:9px; border-radius:50%;
  background:#3fd36c; margin-right:7px; animation:mpa-pulse 1.6s infinite; }
@keyframes mpa-pulse {
  0% { box-shadow:0 0 0 0 rgba(63,211,108,.6); }
  70% { box-shadow:0 0 0 8px rgba(63,211,108,0); }
  100% { box-shadow:0 0 0 0 rgba(63,211,108,0); } }
.mpa-sec { margin:34px 0 16px; font-size:1.25em; font-weight:700;
  display:flex; align-items:center; gap:12px; }
.mpa-sec::after { content:""; flex:1; height:2px;
  background:linear-gradient(90deg,var(--accent),transparent); }
.mpa-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px; }
.mpa-card { background:var(--panel); border:1px solid var(--border); border-radius:12px;
  overflow:hidden; color:var(--text);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mpa-card:hover { transform:translateY(-5px); border-color:var(--accent);
  box-shadow:0 10px 24px rgba(0,0,0,.5), 0 0 14px rgba(245,166,35,.25); }
.mpa-card .mp-card-img { height:140px; display:block; }
.mpa-card .mp-card-img img { filter:saturate(.9); transition:filter .18s; }
.mpa-card:hover .mp-card-img img { filter:saturate(1.15); }
.mpa-card-body { padding:12px 14px 14px; }
.mpa-card-title { font-weight:700; margin-bottom:4px; }
.mpa-card-title a { color:var(--text) !important; }
.mpa-card-desc { font-size:.85em; color:var(--muted); line-height:1.4; }
.mpa-footer { margin-top:36px; display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
  background:#1c2330; border:1px solid var(--border); border-radius:12px; padding:18px; }
.mpa-footer a { color:var(--accent) !important; font-weight:600; padding:6px 14px;
  border-radius:6px; transition:background .15s; }
.mpa-footer a:hover { background:rgba(245,166,35,.12); }
/* ===== Design B ===== */
.mpb { --panel:#131a24; --accent:#42c6ff; --accent2:#7a5cff;
      --text:#e8eef5; --muted:#8b99a9; --border:#243144; }
.mpb-featured { display:grid; grid-template-columns:1.4fr 1fr; gap:18px; margin-bottom:26px; }
@media (max-width:760px) { .mpb-featured { grid-template-columns:1fr; } }
.mpb-banner { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); min-height:230px;
  transition:transform .18s, box-shadow .18s; }
.mpb-banner:hover { transform:scale(1.012); box-shadow:0 0 22px rgba(66,198,255,.3); }
.mpb-banner .mp-banner-img { position:absolute; inset:0; }
.mpb-banner-overlay { position:absolute; left:0; right:0; bottom:0; padding:22px;
  background:linear-gradient(transparent, rgba(10,14,20,.95) 65%);
  color:var(--text); pointer-events:none; }  /* clicks pass through to image link */
.mpb-tag { display:inline-block; font-size:.72em; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; background:var(--accent); color:#06121c;
  border-radius:4px; padding:3px 9px; margin-bottom:8px; }
.mpb-banner-title { font-size:1.5em; font-weight:800; margin-bottom:4px; }
.mpb-banner-desc { color:var(--muted); font-size:.9em; }
.mpb-side { background:var(--panel); border:1px solid var(--border);
  border-radius:14px; padding:18px 20px; }
.mpb-side-h { font-size:1em; text-transform:uppercase; letter-spacing:1px;
  color:var(--accent); font-weight:700; margin-bottom:12px; }
.mpb-side a { display:flex; align-items:center; gap:10px; color:var(--text) !important;
  padding:9px 10px; border-radius:8px; font-size:.95em;
  transition:background .15s, padding-left .15s; }
.mpb-side a:hover { background:rgba(66,198,255,.1); padding-left:16px; }
.mpb-side a::before { content:"▸"; color:var(--accent); }
.mpb-cat { margin:30px 0 14px; display:flex; align-items:baseline; gap:14px; }
.mpb-cat::before { content:""; width:5px; height:22px; border-radius:3px; align-self:center;
  background:linear-gradient(var(--accent),var(--accent2)); }
.mpb-cat-title { font-size:1.2em; font-weight:700; }
.mpb-cat-sub { font-size:.82em; color:var(--muted); }
.mpb-tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; }
.mpb-tile { position:relative; border-radius:10px; overflow:hidden;
  border:1px solid var(--border); height:110px;
  transition:transform .15s, border-color .15s, box-shadow .15s; }
.mpb-tile .mp-tile-img { position:absolute; inset:0; }
.mpb-tile .mp-tile-img img { filter:brightness(.55); transition:filter .2s, transform .3s; }
.mpb-tile:hover { transform:translateY(-4px); border-color:var(--accent);
  box-shadow:0 8px 20px rgba(0,0,0,.55); }
.mpb-tile:hover .mp-tile-img img { filter:brightness(.8); transform:scale(1.06); }
.mpb-tile-label { position:absolute; left:0; right:0; bottom:0; padding:10px 12px;
  font-weight:700; color:#fff; font-size:.95em; pointer-events:none;
  background:linear-gradient(transparent, rgba(6,10,16,.9)); }
.mpb-foot { margin-top:34px; text-align:center; color:var(--muted); font-size:.9em;
  border-top:1px solid var(--border); padding-top:18px; }
.mpb-foot a { color:var(--accent) !important; }
/* ================= 7. PATCH NOTES AREA ================= */
/* (matches the Main Page "Design B" / mpb palette) */
.pn { --panel:#131a24; --panel2:#0e141d; --accent:#42c6ff; --accent2:#7a5cff;
      --text:#e8eef5; --muted:#8b99a9; --border:#243144; --green:#3fd36c; }
.pn a { text-decoration:none; }
.pn a.new { color:inherit; }
/* ---- index hero banner ---- */
.pn-hero { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); min-height:240px; margin-bottom:8px;
  display:flex; align-items:flex-end;
  background:
    linear-gradient(115deg, rgba(10,14,20,.92) 30%, rgba(10,14,20,.45) 75%, rgba(10,14,20,.20)),
    url("/images/thumb/0/08/Patch_Notes.jpg/1120px-Patch_Notes.jpg") center/cover; }
.pn-hero-inner { padding:26px 28px; color:var(--text); }
.pn-hero-title { font-size:1.8em; font-weight:800; margin:8px 0 6px; }
.pn-hero-desc { color:var(--muted); font-size:.95em; max-width:560px; }
.pn-hero-cta { display:inline-block; margin-top:16px; padding:9px 18px; border-radius:8px;
  font-weight:700; background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#06121c !important; transition:transform .15s, box-shadow .15s; }
.pn-hero-cta:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(66,198,255,.35); }
/* ---- section heading ---- */
.pn-sec { margin:30px 0 16px; display:flex; align-items:center; gap:12px;
  font-size:1.2em; font-weight:700; color:var(--text); }
.pn-sec::before { content:""; width:5px; height:22px; border-radius:3px;
  background:linear-gradient(var(--accent),var(--accent2)); }
.pn-sec::after { content:""; flex:1; height:1px; background:var(--border); }
/* ---- changelog / timeline list ---- */
.pn-list { display:flex; flex-direction:column; gap:14px; }
.pn-entry { display:grid; grid-template-columns:128px 1fr; gap:18px; align-items:start;
  background:var(--panel); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px; transition:transform .15s, border-color .15s, box-shadow .15s; }
.pn-entry:hover { transform:translateY(-3px); border-color:var(--accent);
  box-shadow:0 8px 20px rgba(0,0,0,.5); }
.pn-date { color:var(--accent); font-weight:800; font-size:1.05em; line-height:1.2; }
.pn-date small { display:block; color:var(--muted); font-weight:600; font-size:.68em; margin-top:3px; }
.pn-body-title { font-weight:700; color:var(--text); margin:2px 0 5px; }
.pn-body-title a { color:var(--text) !important; }
.pn-entry:hover .pn-body-title a { color:var(--accent) !important; }
.pn-desc { color:var(--muted); font-size:.9em; line-height:1.45; }
@media (max-width:600px){ .pn-entry{ grid-template-columns:1fr; gap:8px; } }
/* ---- tag chips ---- */
.pn-tag { display:inline-block; font-size:.68em; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; border-radius:4px; padding:3px 9px; vertical-align:middle;
  background:var(--accent); color:#06121c; }
.pn-tag.major { background:linear-gradient(135deg,var(--accent2),var(--accent)); color:#fff; }
.pn-tag.fix { background:transparent; color:var(--accent); border:1px solid var(--accent); }
/* ---- individual article pages ---- */
.pn-article { max-width:920px; margin:0 auto; color:var(--text); }
.pn-back { display:inline-block; margin-bottom:16px; color:var(--accent) !important; font-weight:600; }
.pn-back::before { content:"\2039  "; }
.pn-article-head { position:relative; border-radius:14px; overflow:hidden; margin-bottom:22px;
  border:1px solid var(--border); padding:26px 30px;
  background:linear-gradient(115deg, var(--panel), var(--panel2)); }
.pn-article-head::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background:linear-gradient(var(--accent),var(--accent2)); }
.pn-article-date { color:var(--accent); font-weight:800; font-size:1em; margin:6px 0; }
.pn-article-title { font-size:1.7em; font-weight:800; margin-bottom:8px; line-height:1.2; }
.pn-article-sub { color:var(--muted); font-size:.95em; max-width:680px; }
/* reward / info callout */
.pn-callout { background:var(--panel); border:1px solid var(--border);
  border-left:4px solid var(--accent); border-radius:10px; padding:14px 18px; margin:18px 0; }
.pn-callout-h { color:var(--accent); font-weight:700; margin-bottom:6px;
  text-transform:uppercase; letter-spacing:.5px; font-size:.78em; }
/* typography inside the article container */
.pn-article h2 { border-bottom:1px solid var(--border); padding-bottom:6px; margin-top:30px; }
.pn-article h3 { color:var(--accent); margin-top:22px; }
.pn-article table.wikitable { background:var(--panel); color:var(--text); border-color:var(--border); }
.pn-article table.wikitable th { background:var(--panel2); color:var(--accent); border-color:var(--border); }
.pn-article table.wikitable td { border-color:var(--border); }

Latest revision as of 16:44, 14 June 2026

/* =============================================================
   COMMON.CSS
   Sections:
     1. Navigation
     2. Tab System
     3. Dropdown System
        3a. Container
        3b. Button
        3c. List & Items
        3d. Scrollbar
     4. Output Panel (Tech Bench Style)
     5. Cleanup / Utility Overrides
     6. Main Page redesign
     7. Patch Notes area
   ============================================================= */


/* ================= 1. NAVIGATION ================= */
.navtable {
  margin: 0 auto;
  border: none;
  border-collapse: collapse;
  text-align: center;
}

.navcell {
  padding: 0 18px 10px;
  vertical-align: top;
}

.navimg img {
  display: block;
  margin: 0 auto;
}

.navicon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 200px;
}

.navicon--row1 { height: 150px; }
.navicon--row2 { height: 200px; }

.navlabel {
  width: 100%;
  margin-top: 4px;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
}

.navlabel--tight { margin-top: 2px; }

.navicon--empty,
.navlabel--empty {
  visibility: hidden;
}

body.page-Main_Page h1.firstHeading {
  display: none;
}


/* ================= 2. TAB SYSTEM ================= */
.mw-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mw-tab-btn {
  min-width: 90px;
  padding: 8px 14px;
  background: #111;
  color: #ccc;
  border: 1px solid #444;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.mw-tab-btn:hover {
  border-color: #00bfff;
  color: #fff;
}

.mw-tab-btn.active {
  background: #00bfff;
  color: #000;
}

.mw-tab-content {
  display: none;
  overflow: visible !important;
}

.mw-tab-content.active {
  display: block;
}


/* ================= 3. DROPDOWN SYSTEM ================= */

/* -- 3a. Container -- */
.mw-dropdown-ui {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 18px auto;
  padding: 14px;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  overflow: visible;
}

/* Header label (pulls from data-label attribute) */
.mw-dropdown-ui::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 10px;
  color: #00bfff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

/* Force consistent sizing on children */
.mw-dropdown-ui *,
.mod-dropdown-btn,
.mw-dropdown-output {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* -- 3b. Button -- */
.mod-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: #0f0f0f;
  color: #eee;
  border: 1px solid #444;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* -- 3c. List & Items -- */
.mod-dropdown-list {
  display: none;
  position: absolute;
  top: 56px;
  left: 14px;
  right: 14px;
  width: auto;
  max-height: 250px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 99999;
}

.mod-dropdown-item {
  padding: 8px;
  color: #ccc;
  border-bottom: 1px solid #222;
  cursor: pointer;
}

.mod-dropdown-item:last-child {
  border-bottom: none;
}

.mod-dropdown-item:hover {
  background: #00bfff;
  color: #000;
}

/* -- 3d. Scrollbar -- */
.mod-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.mod-dropdown-list::-webkit-scrollbar-thumb {
  background: #00bfff;
  border-radius: 3px;
}


/* ================= 4. OUTPUT PANEL (TECH BENCH STYLE) ================= */
.mw-dropdown-output {
  min-height: 70px;
  margin-top: 10px;
  padding: 12px;
  background: #0d1319;
  border: 1px solid #1f2a35;
  border-radius: 10px;
  color: #e6edf3;
  font-size: 13px;
}

.mw-ui-placeholder {
  color: #666;
  font-style: italic;
  text-align: center;
}

.mw-ui-title {
  margin-bottom: 8px;
  color: #e6edf3;
  font-size: 14px;
  font-weight: 700;
}

.mw-ui-line {
  padding: 6px 0;
  border-top: 1px solid #1a222b;
  color: #9fb0c3;
  font-size: 13px;
}

.mw-ui-line:first-of-type {
  border-top: none;
}


/* ================= 5. CLEANUP / UTILITY OVERRIDES ================= */
.mw-dropdown,
.mw-dropdown-content {
  display: none !important;
}

[data-left]:empty,
[data-right]:empty,
.mw-tab-content div:empty {
  display: none !important;
}


/* ================= 6. MAIN PAGE REDESIGN ================= */
/* ===== shared ===== */
.page-Main_Page .firstHeading,
.page-Main_Page #siteSub { display: none; }   /* hide "Main Page" title for a cleaner landing */

.mp-wrap a { text-decoration: none; }
.mp-wrap a.new { color: inherit; }            /* don't redlink-color nav cards */

/* clickable image fills its container */
.mp-card-img img, .mp-tile-img img, .mp-banner-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ===== Design A ===== */
.mpa { --bg:#0d1117; --panel:#161b22; --accent:#f5a623; --accent2:#e8531f;
       --text:#e6edf3; --muted:#9aa7b4; --border:#2a3442; }

.mpa-hero { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); padding:48px 40px; color:var(--text);
  background:
    linear-gradient(115deg, rgba(13,17,23,.95) 35%, rgba(13,17,23,.55) 70%, rgba(13,17,23,.25)),
    url("/images/thumb/0/0c/OH_Map.png/1120px-OH_Map.png") center/cover; }
.mpa-hero-title { font-size:2.2em; font-weight:800; margin-bottom:8px; }
.mpa-hero-title .mpa-accent { color:var(--accent); }
.mpa-hero-tag { color:var(--muted); max-width:520px; font-size:1.05em; margin-bottom:22px; }

.mpa-btn a { display:inline-block; margin:0 10px 8px 0; padding:10px 20px;
  border-radius:8px; font-weight:600; transition:transform .15s, box-shadow .15s; }
.mpa-btn-primary a { background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#14100a !important; }
.mpa-btn-ghost a { border:1px solid var(--accent); color:var(--accent) !important; }
.mpa-btn a:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(245,166,35,.35); }

.mpa-new { display:inline-block; width:9px; height:9px; border-radius:50%;
  background:#3fd36c; margin-right:7px; animation:mpa-pulse 1.6s infinite; }
@keyframes mpa-pulse {
  0% { box-shadow:0 0 0 0 rgba(63,211,108,.6); }
  70% { box-shadow:0 0 0 8px rgba(63,211,108,0); }
  100% { box-shadow:0 0 0 0 rgba(63,211,108,0); } }

.mpa-sec { margin:34px 0 16px; font-size:1.25em; font-weight:700;
  display:flex; align-items:center; gap:12px; }
.mpa-sec::after { content:""; flex:1; height:2px;
  background:linear-gradient(90deg,var(--accent),transparent); }

.mpa-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px; }
.mpa-card { background:var(--panel); border:1px solid var(--border); border-radius:12px;
  overflow:hidden; color:var(--text);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mpa-card:hover { transform:translateY(-5px); border-color:var(--accent);
  box-shadow:0 10px 24px rgba(0,0,0,.5), 0 0 14px rgba(245,166,35,.25); }
.mpa-card .mp-card-img { height:140px; display:block; }
.mpa-card .mp-card-img img { filter:saturate(.9); transition:filter .18s; }
.mpa-card:hover .mp-card-img img { filter:saturate(1.15); }
.mpa-card-body { padding:12px 14px 14px; }
.mpa-card-title { font-weight:700; margin-bottom:4px; }
.mpa-card-title a { color:var(--text) !important; }
.mpa-card-desc { font-size:.85em; color:var(--muted); line-height:1.4; }

.mpa-footer { margin-top:36px; display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
  background:#1c2330; border:1px solid var(--border); border-radius:12px; padding:18px; }
.mpa-footer a { color:var(--accent) !important; font-weight:600; padding:6px 14px;
  border-radius:6px; transition:background .15s; }
.mpa-footer a:hover { background:rgba(245,166,35,.12); }

/* ===== Design B ===== */
.mpb { --panel:#131a24; --accent:#42c6ff; --accent2:#7a5cff;
       --text:#e8eef5; --muted:#8b99a9; --border:#243144; }

.mpb-featured { display:grid; grid-template-columns:1.4fr 1fr; gap:18px; margin-bottom:26px; }
@media (max-width:760px) { .mpb-featured { grid-template-columns:1fr; } }

.mpb-banner { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); min-height:230px;
  transition:transform .18s, box-shadow .18s; }
.mpb-banner:hover { transform:scale(1.012); box-shadow:0 0 22px rgba(66,198,255,.3); }
.mpb-banner .mp-banner-img { position:absolute; inset:0; }
.mpb-banner-overlay { position:absolute; left:0; right:0; bottom:0; padding:22px;
  background:linear-gradient(transparent, rgba(10,14,20,.95) 65%);
  color:var(--text); pointer-events:none; }   /* clicks pass through to image link */
.mpb-tag { display:inline-block; font-size:.72em; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; background:var(--accent); color:#06121c;
  border-radius:4px; padding:3px 9px; margin-bottom:8px; }
.mpb-banner-title { font-size:1.5em; font-weight:800; margin-bottom:4px; }
.mpb-banner-desc { color:var(--muted); font-size:.9em; }

.mpb-side { background:var(--panel); border:1px solid var(--border);
  border-radius:14px; padding:18px 20px; }
.mpb-side-h { font-size:1em; text-transform:uppercase; letter-spacing:1px;
  color:var(--accent); font-weight:700; margin-bottom:12px; }
.mpb-side a { display:flex; align-items:center; gap:10px; color:var(--text) !important;
  padding:9px 10px; border-radius:8px; font-size:.95em;
  transition:background .15s, padding-left .15s; }
.mpb-side a:hover { background:rgba(66,198,255,.1); padding-left:16px; }
.mpb-side a::before { content:"▸"; color:var(--accent); }

.mpb-cat { margin:30px 0 14px; display:flex; align-items:baseline; gap:14px; }
.mpb-cat::before { content:""; width:5px; height:22px; border-radius:3px; align-self:center;
  background:linear-gradient(var(--accent),var(--accent2)); }
.mpb-cat-title { font-size:1.2em; font-weight:700; }
.mpb-cat-sub { font-size:.82em; color:var(--muted); }

.mpb-tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; }
.mpb-tile { position:relative; border-radius:10px; overflow:hidden;
  border:1px solid var(--border); height:110px;
  transition:transform .15s, border-color .15s, box-shadow .15s; }
.mpb-tile .mp-tile-img { position:absolute; inset:0; }
.mpb-tile .mp-tile-img img { filter:brightness(.55); transition:filter .2s, transform .3s; }
.mpb-tile:hover { transform:translateY(-4px); border-color:var(--accent);
  box-shadow:0 8px 20px rgba(0,0,0,.55); }
.mpb-tile:hover .mp-tile-img img { filter:brightness(.8); transform:scale(1.06); }
.mpb-tile-label { position:absolute; left:0; right:0; bottom:0; padding:10px 12px;
  font-weight:700; color:#fff; font-size:.95em; pointer-events:none;
  background:linear-gradient(transparent, rgba(6,10,16,.9)); }

.mpb-foot { margin-top:34px; text-align:center; color:var(--muted); font-size:.9em;
  border-top:1px solid var(--border); padding-top:18px; }
.mpb-foot a { color:var(--accent) !important; }


/* ================= 7. PATCH NOTES AREA ================= */
/* (matches the Main Page "Design B" / mpb palette) */
.pn { --panel:#131a24; --panel2:#0e141d; --accent:#42c6ff; --accent2:#7a5cff;
      --text:#e8eef5; --muted:#8b99a9; --border:#243144; --green:#3fd36c; }
.pn a { text-decoration:none; }
.pn a.new { color:inherit; }

/* ---- index hero banner ---- */
.pn-hero { position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--border); min-height:240px; margin-bottom:8px;
  display:flex; align-items:flex-end;
  background:
    linear-gradient(115deg, rgba(10,14,20,.92) 30%, rgba(10,14,20,.45) 75%, rgba(10,14,20,.20)),
    url("/images/thumb/0/08/Patch_Notes.jpg/1120px-Patch_Notes.jpg") center/cover; }
.pn-hero-inner { padding:26px 28px; color:var(--text); }
.pn-hero-title { font-size:1.8em; font-weight:800; margin:8px 0 6px; }
.pn-hero-desc { color:var(--muted); font-size:.95em; max-width:560px; }
.pn-hero-cta { display:inline-block; margin-top:16px; padding:9px 18px; border-radius:8px;
  font-weight:700; background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#06121c !important; transition:transform .15s, box-shadow .15s; }
.pn-hero-cta:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(66,198,255,.35); }

/* ---- section heading ---- */
.pn-sec { margin:30px 0 16px; display:flex; align-items:center; gap:12px;
  font-size:1.2em; font-weight:700; color:var(--text); }
.pn-sec::before { content:""; width:5px; height:22px; border-radius:3px;
  background:linear-gradient(var(--accent),var(--accent2)); }
.pn-sec::after { content:""; flex:1; height:1px; background:var(--border); }

/* ---- changelog / timeline list ---- */
.pn-list { display:flex; flex-direction:column; gap:14px; }
.pn-entry { display:grid; grid-template-columns:128px 1fr; gap:18px; align-items:start;
  background:var(--panel); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px; transition:transform .15s, border-color .15s, box-shadow .15s; }
.pn-entry:hover { transform:translateY(-3px); border-color:var(--accent);
  box-shadow:0 8px 20px rgba(0,0,0,.5); }
.pn-date { color:var(--accent); font-weight:800; font-size:1.05em; line-height:1.2; }
.pn-date small { display:block; color:var(--muted); font-weight:600; font-size:.68em; margin-top:3px; }
.pn-body-title { font-weight:700; color:var(--text); margin:2px 0 5px; }
.pn-body-title a { color:var(--text) !important; }
.pn-entry:hover .pn-body-title a { color:var(--accent) !important; }
.pn-desc { color:var(--muted); font-size:.9em; line-height:1.45; }
@media (max-width:600px){ .pn-entry{ grid-template-columns:1fr; gap:8px; } }

/* ---- tag chips ---- */
.pn-tag { display:inline-block; font-size:.68em; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; border-radius:4px; padding:3px 9px; vertical-align:middle;
  background:var(--accent); color:#06121c; }
.pn-tag.major { background:linear-gradient(135deg,var(--accent2),var(--accent)); color:#fff; }
.pn-tag.fix { background:transparent; color:var(--accent); border:1px solid var(--accent); }

/* ---- individual article pages ---- */
.pn-article { max-width:920px; margin:0 auto; color:var(--text); }
.pn-back { display:inline-block; margin-bottom:16px; color:var(--accent) !important; font-weight:600; }
.pn-back::before { content:"\2039  "; }
.pn-article-head { position:relative; border-radius:14px; overflow:hidden; margin-bottom:22px;
  border:1px solid var(--border); padding:26px 30px;
  background:linear-gradient(115deg, var(--panel), var(--panel2)); }
.pn-article-head::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background:linear-gradient(var(--accent),var(--accent2)); }
.pn-article-date { color:var(--accent); font-weight:800; font-size:1em; margin:6px 0; }
.pn-article-title { font-size:1.7em; font-weight:800; margin-bottom:8px; line-height:1.2; }
.pn-article-sub { color:var(--muted); font-size:.95em; max-width:680px; }

/* reward / info callout */
.pn-callout { background:var(--panel); border:1px solid var(--border);
  border-left:4px solid var(--accent); border-radius:10px; padding:14px 18px; margin:18px 0; }
.pn-callout-h { color:var(--accent); font-weight:700; margin-bottom:6px;
  text-transform:uppercase; letter-spacing:.5px; font-size:.78em; }

/* typography inside the article container */
.pn-article h2 { border-bottom:1px solid var(--border); padding-bottom:6px; margin-top:30px; }
.pn-article h3 { color:var(--accent); margin-top:22px; }
.pn-article table.wikitable { background:var(--panel); color:var(--text); border-color:var(--border); }
.pn-article table.wikitable th { background:var(--panel2); color:var(--accent); border-color:var(--border); }
.pn-article table.wikitable td { border-color:var(--border); }