MediaWiki:Common.css

From TimeRO Wiki
Revision as of 00:52, 13 April 2026 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* ═══════════════════════════════════════════════════════════════════
   TimeRO Wiki — Full Design System
   1) Main Page remains special
   2) All other pages get a unified premium blue UI
   3) Clean readable layout, alternating content blocks, polished chrome
═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ================================================================
   TOKENS
================================================================ */
:root {
    --timero-bg-0: #04070d;
    --timero-bg-1: #07101d;
    --timero-bg-2: #0a1628;
    --timero-bg-3: #0d1d35;
    --timero-panel: rgba(8, 18, 32, 0.92);
    --timero-panel-2: rgba(10, 22, 40, 0.92);
    --timero-panel-soft: rgba(255,255,255,0.03);

    --timero-text: #e8eef8;
    --timero-text-soft: #d2dded;
    --timero-text-muted: #7ea0c8;

    --timero-cyan: #00d4ff;
    --timero-cyan-soft: rgba(0,212,255,0.16);
    --timero-cyan-line: rgba(0,212,255,0.22);

    --timero-blue: #4c89ff;
    --timero-purple: #8f63ff;
    --timero-gold: #ffb020;
    --timero-green: #00ff88;
    --timero-red: #ff355e;

    --timero-border: rgba(255,255,255,0.08);
    --timero-border-strong: rgba(255,255,255,0.12);

    --timero-shadow-lg: 0 24px 70px rgba(0,0,0,0.35);
    --timero-shadow-md: 0 16px 38px rgba(0,0,0,0.24);
    --timero-radius-xl: 22px;
    --timero-radius-lg: 16px;
    --timero-radius-md: 12px;
}

/* ================================================================
   GLOBAL BASE
================================================================ */
html,
body {
    background:
        radial-gradient(circle at 15% 10%, rgba(0,212,255,0.05), transparent 20%),
        radial-gradient(circle at 85% 12%, rgba(143,99,255,0.05), transparent 20%),
        linear-gradient(180deg, var(--timero-bg-0) 0%, var(--timero-bg-1) 45%, var(--timero-bg-2) 100%) !important;
    color: var(--timero-text) !important;
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif !important;
}

/* ================================================================
   MAIN PAGE — KEEP SPECIAL
================================================================ */
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-Main_Page #bodyContent,
body.page-Main_Page .mw-body-content,
body.page-Main_Page .mw-parser-output {
    background: transparent !important;
    padding: 0 !important;
}

body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #contentSub {
    display: none !important;
}

/* ================================================================
   NON-MAIN PAGES — PREMIUM ARTICLE SHELL
================================================================ */
body:not(.page-Main_Page) #content,
body:not(.page-Main_Page) .mw-body {
    background:
        linear-gradient(180deg, rgba(10,22,40,0.94) 0%, rgba(7,16,29,0.96) 100%) !important;
    color: var(--timero-text) !important;
    border: 1px solid var(--timero-border) !important;
    border-radius: 22px !important;
    box-shadow: var(--timero-shadow-lg);
    margin-top: 16px !important;
    overflow: hidden;
}

/* Top article strip */
body:not(.page-Main_Page) .mw-body::before,
body:not(.page-Main_Page) #content::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--timero-cyan), var(--timero-purple), transparent);
    opacity: 0.9;
}

/* Body content breathing room */
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
    color: var(--timero-text) !important;
    padding: 28px 32px 34px !important;
}

/* ================================================================
   TYPOGRAPHY
================================================================ */
.mw-body,
#content,
.mw-parser-output,
.vector-body,
.vector-body p,
.vector-body li,
.vector-body dd,
.vector-body dt,
.vector-body td,
.vector-body th {
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif !important;
    color: var(--timero-text-soft);
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
#firstHeading,
.mw-first-heading {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
    color: #ffffff !important;
    letter-spacing: 0.02em;
    line-height: 1;
}

body:not(.page-Main_Page) #firstHeading,
body:not(.page-Main_Page) .mw-first-heading {
    margin-bottom: 18px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--timero-cyan-line);
    text-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

body:not(.page-Main_Page) .mw-body h2,
body:not(.page-Main_Page) .mw-body h3 {
    border-bottom: 1px solid rgba(0,212,255,0.14);
    padding-bottom: 8px;
    margin-top: 28px;
    margin-bottom: 12px;
}

body:not(.page-Main_Page) .mw-body h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

body:not(.page-Main_Page) .mw-body h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.mw-parser-output p {
    line-height: 1.8;
}

/* ================================================================
   ALTERNATING CONTENT BLOCK RHYTHM
================================================================ */
/* Applies only to direct block-level content inside article body */
body:not(.page-Main_Page) .mw-parser-output > p,
body:not(.page-Main_Page) .mw-parser-output > ul,
body:not(.page-Main_Page) .mw-parser-output > ol,
body:not(.page-Main_Page) .mw-parser-output > table,
body:not(.page-Main_Page) .mw-parser-output > blockquote,
body:not(.page-Main_Page) .mw-parser-output > pre,
body:not(.page-Main_Page) .mw-parser-output > .toc,
body:not(.page-Main_Page) .mw-parser-output > #toc {
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

body:not(.page-Main_Page) .mw-parser-output > p:nth-of-type(odd),
body:not(.page-Main_Page) .mw-parser-output > ul:nth-of-type(odd),
body:not(.page-Main_Page) .mw-parser-output > ol:nth-of-type(odd) {
    background: linear-gradient(180deg, rgba(0,212,255,0.035), rgba(255,255,255,0.015));
    border-color: rgba(0,212,255,0.10);
}

body:not(.page-Main_Page) .mw-parser-output > p:nth-of-type(even),
body:not(.page-Main_Page) .mw-parser-output > ul:nth-of-type(even),
body:not(.page-Main_Page) .mw-parser-output > ol:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(143,99,255,0.035), rgba(255,255,255,0.015));
    border-color: rgba(143,99,255,0.10);
}

/* Prevent spacing explosions */
body:not(.page-Main_Page) .mw-parser-output > * + * {
    margin-top: 14px;
}

/* ================================================================
   LINKS
================================================================ */
.mw-body a,
.mw-parser-output a,
.vector-body a {
    color: #66dfff !important;
    text-decoration: none;
    transition: color .18s ease, text-shadow .18s ease;
}

.mw-body a:hover,
.mw-parser-output a:hover,
.vector-body a:hover {
    color: #ffffff !important;
    text-decoration: none;
    text-shadow: 0 0 14px rgba(0,212,255,0.32);
}

.mw-body a:visited,
.mw-parser-output a:visited {
    color: #9adfff !important;
}

/* External-link icon cleanup in custom areas */
.timero-wiki-root a.external::after,
.timero-wiki-root a.extiw::after {
    display: none !important;
}

/* ================================================================
   LISTS / HR / BLOCKQUOTE / CODE
================================================================ */
.mw-parser-output ul,
.mw-parser-output ol {
    padding-left: 1.6rem;
}

.mw-parser-output hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 28px 0;
}

.mw-parser-output blockquote {
    background: linear-gradient(180deg, rgba(0,212,255,0.05), rgba(255,255,255,0.02));
    border-left: 3px solid rgba(0,212,255,0.35);
    padding: 14px 16px;
    color: #d5e4f5;
    border-radius: 12px;
}

.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
    background: rgba(0,0,0,0.26) !important;
    color: #d8f2ff !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.mw-parser-output pre {
    padding: 14px;
    overflow: auto;
}

/* ================================================================
   TOC
================================================================ */
#toc,
.toc,
.mw-parser-output .toc {
    background: linear-gradient(180deg, rgba(8,18,32,0.95), rgba(10,22,40,0.90)) !important;
    border: 1px solid rgba(0,212,255,0.14) !important;
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--timero-text);
    box-shadow: var(--timero-shadow-md);
}

#toc .toctitle,
.toc .toctitle {
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
}

/* ================================================================
   WIKITABLES
================================================================ */
.wikitable,
table.wikitable {
    background: rgba(10,20,36,0.94) !important;
    color: var(--timero-text) !important;
    border: 1px solid rgba(0,212,255,0.16) !important;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
}

.wikitable th,
table.wikitable th {
    background: linear-gradient(180deg, rgba(0,212,255,0.12), rgba(0,212,255,0.06)) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    font-weight: 700;
    padding: 10px 12px;
}

.wikitable td,
table.wikitable td {
    background: rgba(255,255,255,0.02) !important;
    color: var(--timero-text-soft) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    padding: 10px 12px;
}

.wikitable tr:nth-child(even) td,
table.wikitable tr:nth-child(even) td {
    background: rgba(255,255,255,0.03) !important;
}

/* ================================================================
   FORMS / INPUTS / BUTTONS
================================================================ */
input,
select,
textarea,
button {
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea,
.vector-search-box-input,
.cdx-text-input__input,
#searchInput {
    background: rgba(12,18,28,0.95) !important;
    color: #eef6ff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
}

input:focus,
select:focus,
textarea:focus,
.vector-search-box-input:focus,
.cdx-text-input__input:focus,
#searchInput:focus {
    outline: none;
    border-color: rgba(0,212,255,0.45) !important;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.12) !important;
}

button,
input[type="submit"],
input[type="button"],
.mw-htmlform input[type="submit"] {
    background: linear-gradient(135deg, #00d4ff, #7a37ff) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,212,255,0.25);
}

/* ================================================================
   CATEGORIES / THUMBS / MESSAGE BOXES
================================================================ */
.catlinks {
    background: rgba(10,20,36,0.88) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px;
    padding: 10px 12px;
}

.thumbinner,
div.thumbinner {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px;
}

.messagebox,
.ambox,
.tmbox,
.cmbox,
.ombox {
    background: rgba(10,20,36,0.90) !important;
    color: #eef6ff !important;
    border: 1px solid rgba(0,212,255,0.16) !important;
    border-radius: 12px;
}

/* ================================================================
   TIMERO CUSTOM COMPONENT SYSTEM
================================================================ */
@keyframes timero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes timero-shimmer {
    0% { background-position: -200% center; }
    60%, 100% { background-position: 200% center; }
}

@keyframes timero-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes timero-grid-drift {
    from { background-position: 0 0; }
    to { background-position: 0 48px; }
}

.timero-wiki-root,
.timero-wiki-root * {
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
    box-sizing: border-box;
}

.timero-wiki-root {
    display: block;
    margin: -1em -1.5em;
    background: #05080f;
    min-height: 100vh;
    color: #e8eef8;
}

.timero-wiki-root h2 {
    font-family: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
    border: none !important;
    border-bottom: none !important;
}

.timero-hero {
    position: relative;
    background: linear-gradient(160deg, #02040a 0%, #071020 40%, #0a1628 70%, #06101e 100%);
    padding: 64px 48px 52px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,212,255,0.15);
    animation: timero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.timero-hero > div:first-child {
    animation: timero-grid-drift 8s linear infinite;
}

.timero-hero [style*="width:7px"] {
    animation: timero-blink 1.6s ease-in-out infinite;
}

.timero-grid {
    display: grid;
    gap: 16px;
}

.timero-grid-2 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-3 { grid-template-columns: repeat(3, 1fr); }
.timero-grid-4 { grid-template-columns: repeat(4, 1fr); }

.timero-section {
    background: #07101e;
    padding: 56px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.timero-card {
    background: linear-gradient(160deg, rgba(10,20,36,0.9), rgba(6,12,24,0.95));
    border: 1px solid rgba(0,212,255,0.16);
    border-radius: 18px;
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.timero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.18);
}

.timero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d4ff, #7a37ff);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 12px 36px rgba(0,212,255,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0, 212, 255, 0.35);
    text-decoration: none !important;
    color: #ffffff !important;
}

.timero-wiki-root .timero-card a {
    color: inherit !important;
}

/* ================================================================
   FEATURED GUIDES
================================================================ */
.timero-guides-section {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
    padding: 72px 0 36px;
}

.timero-guides-head {
    text-align: center;
    margin-bottom: 38px;
}

.timero-guides-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(121, 82, 255, 0.35);
    background: rgba(62, 32, 110, 0.22);
    color: #9f73ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.timero-guides-head h2 {
    margin: 0 0 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    border: none !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.22);
}

.timero-guides-head p {
    margin: 0;
    font-size: 1rem;
    color: rgba(108, 152, 214, 0.88);
    letter-spacing: 0.02em;
}

.timero-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.timero-guide-card {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #07111d 0%, #050b14 100%);
    border: 1px solid rgba(0, 212, 255, 0.12);
    box-shadow:
        0 20px 44px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.timero-guide-card:hover {
    transform: translateY(-4px);
}

.timero-guide-top {
    min-height: 122px;
    padding: 26px 26px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.timero-guide-bottom {
    padding: 20px 22px 22px;
    background: rgba(3, 9, 16, 0.72);
}

.timero-guide-icon {
    font-size: 1.85rem;
    margin-bottom: 12px;
    line-height: 1;
}

.timero-guide-label {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timero-guide-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timero-guide-desc {
    color: rgba(103, 146, 208, 0.9);
    font-size: 0.98rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.timero-guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.timero-guide-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid currentColor;
    background: rgba(255,255,255,0.02);
}

.timero-guide-link a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.timero-guide-link a:hover {
    filter: brightness(1.08);
    text-decoration: none !important;
}

.timero-guide-card-green {
    border-color: rgba(0, 199, 122, 0.22);
    box-shadow:
        0 20px 44px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(0, 199, 122, 0.06);
}
.timero-guide-card-green .timero-guide-top {
    background: linear-gradient(135deg, rgba(0, 112, 77, 0.34) 0%, rgba(0, 61, 58, 0.22) 100%);
    border-bottom-color: rgba(0, 199, 122, 0.18);
}
.timero-guide-card-green .timero-guide-icon,
.timero-guide-card-green .timero-guide-label,
.timero-guide-card-green .timero-guide-link a,
.timero-guide-card-green .timero-guide-tags span {
    color: #00ff88 !important;
}
.timero-guide-card-green .timero-guide-tags span {
    background: rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.28);
}

.timero-guide-card-red {
    border-color: rgba(255, 47, 92, 0.22);
    box-shadow:
        0 20px 44px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(255, 47, 92, 0.05);
}
.timero-guide-card-red .timero-guide-top {
    background: linear-gradient(135deg, rgba(70, 17, 40, 0.58) 0%, rgba(34, 20, 70, 0.30) 100%);
    border-bottom-color: rgba(255, 47, 92, 0.16);
}
.timero-guide-card-red .timero-guide-icon,
.timero-guide-card-red .timero-guide-label,
.timero-guide-card-red .timero-guide-link a,
.timero-guide-card-red .timero-guide-tags span {
    color: #ff355e !important;
}
.timero-guide-card-red .timero-guide-tags span {
    background: rgba(255,53,94,0.08);
    border-color: rgba(255,53,94,0.26);
}

.timero-guide-card-gold {
    border-color: rgba(255, 176, 32, 0.22);
    box-shadow:
        0 20px 44px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(255, 176, 32, 0.05);
}
.timero-guide-card-gold .timero-guide-top {
    background: linear-gradient(135deg, rgba(70, 52, 17, 0.42) 0%, rgba(36, 36, 36, 0.18) 100%);
    border-bottom-color: rgba(255, 176, 32, 0.16);
}
.timero-guide-card-gold .timero-guide-icon,
.timero-guide-card-gold .timero-guide-label,
.timero-guide-card-gold .timero-guide-link a,
.timero-guide-card-gold .timero-guide-tags span {
    color: #ffb020 !important;
}
.timero-guide-card-gold .timero-guide-tags span {
    background: rgba(255,176,32,0.08);
    border-color: rgba(255,176,32,0.24);
}

/* ================================================================
   VECTOR SKIN CHROME
================================================================ */
.vector-sticky-header,
.vector-header,
#mw-page-base,
#mw-head,
.vector-page-toolbar,
.vector-pinnable-header,
.vector-pinnable-element {
    background: linear-gradient(180deg, #07101e 0%, #0a1628 100%) !important;
    color: #e8eef8 !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.vector-header-container,
.vector-header-start,
.vector-header-end {
    background: transparent !important;
}

.vector-header a,
.vector-sticky-header a,
.vector-page-toolbar a,
.vector-pinnable-header a,
#mw-head a {
    color: #c8ecff !important;
}

.vector-header a:hover,
.vector-sticky-header a:hover,
.vector-page-toolbar a:hover,
.vector-pinnable-header a:hover,
#mw-head a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.vector-menu-tabs .vector-menu-content-list,
.vector-menu-tabs-legacy .vector-menu-content-list,
.vector-page-toolbar-container,
.vector-user-links {
    background: transparent !important;
}

.vector-menu-tabs li,
.vector-menu-tabs-legacy li {
    background: transparent !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.vector-menu-tabs li a,
.vector-menu-tabs-legacy li a {
    color: #d8efff !important;
}

.vector-menu-tabs .selected a,
.vector-menu-tabs-legacy .selected a {
    color: #ffffff !important;
    border-bottom: 2px solid #00d4ff !important;
}

/* SIDEBAR */
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-sidebar-container,
.vector-menu,
.vector-menu-portal,
.vector-pinnable-element,
.vector-toc {
    background: linear-gradient(180deg, #07101e 0%, #081423 100%) !important;
    color: #dfe9f7 !important;
    border-color: rgba(255,255,255,0.06) !important;
}

.vector-menu-heading,
#mw-panel h3,
.portal h3 {
    color: #ffffff !important;
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

#mw-panel a,
.vector-column-start a,
.vector-sidebar a,
.vector-menu a,
.portal a {
    color: #bfe8ff !important;
    text-decoration: none !important;
}

#mw-panel a:hover,
.vector-column-start a:hover,
.vector-sidebar a:hover,
.vector-menu a:hover,
.portal a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.vector-menu-portal,
.portal {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* CONTENT WRAPPER */
.vector-column-end,
.vector-body,
.mw-body,
#content {
    color: #e8eef8 !important;
}

/* FOOTER */
#footer,
.mw-footer,
.vector-footer-container,
footer {
    background: linear-gradient(180deg, #07101e 0%, #05080f 100%) !important;
    color: #a9bfd8 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    margin-top: 40px;
}

#footer a,
.mw-footer a,
.vector-footer a,
.vector-footer-container a {
    color: #8fdfff !important;
    text-decoration: none !important;
}

#footer a:hover,
.mw-footer a:hover,
.vector-footer a:hover,
.vector-footer-container a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

#footer ul,
.mw-footer ul,
.vector-footer ul {
    color: #a9bfd8 !important;
}

.mw-wiki-logo,
.vector-header-container .mw-logo,
.vector-header-container .mw-logo-wordmark,
.vector-header-container .mw-logo-tagline {
    filter: drop-shadow(0 0 10px rgba(0,212,255,0.18));
}

.vector-user-links,
.vector-user-menu,
#p-personal,
#p-vector-user-menu-overflow {
    background: transparent !important;
    color: #dfe9f7 !important;
}

.cdx-button,
.vector-button,
button.vector-menu-heading {
    border-radius: 10px !important;
}

.vector-column-start,
.vector-column-end {
    background: transparent !important;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 980px) {
    .timero-guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .timero-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .timero-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .timero-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .timero-grid-4,
    .timero-grid-3,
    .timero-grid-2 {
        grid-template-columns: 1fr;
    }

    .timero-section,
    .timero-hero,
    body:not(.page-Main_Page) #bodyContent,
    body:not(.page-Main_Page) .mw-body-content,
    body:not(.page-Main_Page) .mw-parser-output {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .timero-hero [style*="display:flex;gap:12px;justify-content:center"] {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* ================================================================
   PRINT
================================================================ */
@media print {
    .timero-hero [style*="position:absolute"] {
        display: none !important;
    }

    .timero-wiki-root [style*="background:linear-gradient"] {
        background: #f0f0f0 !important;
    }
}
/* ================================================================
   DATABASE HUB SECTION
================================================================ */
.timero-db-hub {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
}

.timero-db-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 12px;
}

.timero-db-center-row {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.timero-db-card {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10,20,36,0.92), rgba(6,12,24,0.96));
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 96px;
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.timero-db-card:hover {
    transform: translateY(-4px);
}

.timero-db-card a,
.timero-db-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px 22px;
    color: inherit !important;
    text-decoration: none !important;
}

.timero-db-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.06));
}

.timero-db-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.timero-db-title {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

.timero-db-sub {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.86rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timero-db-card-quest {
    width: min(320px, 100%);
}

/* Variants */
.timero-db-card-red {
    border-color: rgba(255, 53, 94, 0.24);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(255,53,94,0.05);
}
.timero-db-card-red .timero-db-icon { color: #7dff3a; }
.timero-db-card-red .timero-db-sub { color: #ff4b72; }

.timero-db-card-gold {
    border-color: rgba(255, 176, 32, 0.26);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(255,176,32,0.05);
}
.timero-db-card-gold .timero-db-icon { color: #d7f6ff; }
.timero-db-card-gold .timero-db-sub { color: #ffb020; }

.timero-db-card-cyan {
    border-color: rgba(0, 212, 255, 0.24);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(0,212,255,0.05);
}
.timero-db-card-cyan .timero-db-icon { color: #66e7ff; }
.timero-db-card-cyan .timero-db-sub { color: #00d4ff; }

.timero-db-card-purple {
    border-color: rgba(143, 99, 255, 0.26);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(143,99,255,0.05);
}
.timero-db-card-purple .timero-db-icon { color: #ffe36a; }
.timero-db-card-purple .timero-db-sub { color: #a983ff; }

.timero-db-card-green {
    border-color: rgba(0, 255, 136, 0.24);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 24px rgba(0,255,136,0.05);
}
.timero-db-card-green .timero-db-icon { color: #ffe2c8; }
.timero-db-card-green .timero-db-sub { color: #00ff88; }

/* Search */
.timero-db-search {
    display: flex;
    justify-content: center;
}

.timero-db-search form {
    width: min(560px, 100%);
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,212,255,0.22);
    background: rgba(3, 9, 16, 0.88);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.02) inset;
}

.timero-db-search-input {
    flex: 1;
    min-width: 0;
    height: 54px;
    border: none !important;
    background: transparent !important;
    color: #dfeeff !important;
    padding: 0 18px;
    font-size: 1rem;
    box-shadow: none !important;
}

.timero-db-search-input::placeholder {
    color: rgba(126, 160, 200, 0.72);
}

.timero-db-search-input:focus {
    outline: none;
    box-shadow: none !important;
}

.timero-db-search-btn {
    height: 54px;
    min-width: 98px;
    padding: 0 24px;
    border: none !important;
    border-left: 1px solid rgba(0,212,255,0.18) !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, rgba(0,80,105,0.92), rgba(0,64,86,0.96)) !important;
    color: #16d8ff !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none !important;
}

.timero-db-search-btn:hover {
    background: linear-gradient(180deg, rgba(0,102,132,0.96), rgba(0,76,102,0.98)) !important;
    color: #49e5ff !important;
    transform: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .timero-db-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .timero-db-grid {
        grid-template-columns: 1fr;
    }

    .timero-db-card a,
    .timero-db-link {
        min-height: 88px;
        padding: 16px 18px;
    }

    .timero-db-title {
        font-size: 1.45rem;
    }

    .timero-db-sub {
        font-size: 0.78rem;
    }

    .timero-db-search form {
        flex-direction: column;
    }

    .timero-db-search-btn {
        border-left: none !important;
        border-top: 1px solid rgba(0,212,255,0.18) !important;
        width: 100%;
    }
}