MediaWiki:Common.css: Difference between revisions

From TimeRO Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* ═══════════════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════════════
   MediaWiki:Common.css — TimeRO Wiki Design System (Revised)
   MediaWiki:Common.css — TimeRO Wiki Design System
  Strategy:
  1) Keep Main Page as special landing page
  2) Apply a safe dark theme globally to the rest of the wiki
  3) Preserve readability for normal articles, tables, and forms
═══════════════════════════════════════════════════════════════════ */
═══════════════════════════════════════════════════════════════════ */


/* ── Fonts ─────────────────────────────────────────────────────── */
@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');
@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');


/* ── Main Page layout overrides ───────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════
  1) GLOBAL THEME — ALL WIKI PAGES
═══════════════════════════════════════════════════════════════════ */
 
html,
body {
    background: #05080f !important;
    color: #e8eef8;
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}
 
/* Main wiki containers */
body:not(.page-Main_Page) #content,
body:not(.page-Main_Page) .mw-body {
    background: linear-gradient(180deg, #05080f 0%, #08111d 100%) !important;
    color: #e8eef8 !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
 
/* Keep normal pages readable and centered */
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
    color: #e8eef8 !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;
    color: #dfe9f7;
}
 
.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', system-ui, sans-serif;
    color: #ffffff !important;
    letter-spacing: 0.02em;
}
 
/* Heading lines for normal pages */
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: 6px;
}
 
/* Links */
.mw-body a,
.mw-parser-output a,
.vector-body a {
    color: #33cfff !important;
    text-decoration: none;
}
 
.mw-body a:hover,
.mw-parser-output a:hover,
.vector-body a:hover {
    color: #9b6bff !important;
    text-decoration: underline;
}
 
/* Visited links */
.mw-body a:visited,
.mw-parser-output a:visited {
    color: #7fdcff !important;
}
 
/* Lists */
.mw-parser-output ul,
.mw-parser-output ol {
    padding-left: 1.6rem;
}
 
/* Horizontal rules */
.mw-parser-output hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 24px 0;
}
 
/* Blockquotes */
.mw-parser-output blockquote {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid rgba(0,212,255,0.35);
    padding: 14px 16px;
    color: #d5e4f5;
    border-radius: 10px;
}
 
/* Code / pre */
.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
    background: rgba(0,0,0,0.28) !important;
    color: #d8f2ff !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
}
 
.mw-parser-output pre {
    padding: 14px;
    overflow: auto;
}
 
/* Table of contents */
#toc,
.toc,
.mw-parser-output .toc {
    background: rgba(8,18,32,0.92) !important;
    border: 1px solid rgba(0,212,255,0.14) !important;
    border-radius: 14px;
    padding: 12px 14px;
    color: #e8eef8;
}
 
#toc .toctitle,
.toc .toctitle {
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
}
 
/* Wikitables */
.wikitable,
table.wikitable {
    background: rgba(10,20,36,0.92) !important;
    color: #e8eef8 !important;
    border: 1px solid rgba(0,212,255,0.16) !important;
    border-collapse: collapse;
}
 
.wikitable th,
table.wikitable th {
    background: rgba(0,212,255,0.10) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    font-weight: 700;
}
 
.wikitable td,
table.wikitable td {
    background: rgba(255,255,255,0.02) !important;
    color: #dfe9f7 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
 
/* Forms / inputs */
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 {
    background: rgba(12,18,28,0.95) !important;
    color: #eef6ff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px;
}
 
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0,212,255,0.45) !important;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
 
/* Buttons */
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: 10px;
    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);
}
 
/* Search box / interface bits */
.vector-search-box-input,
.cdx-text-input__input {
    background: rgba(12,18,28,0.95) !important;
    color: #eef6ff !important;
    border-color: rgba(255,255,255,0.12) !important;
}
 
/* Tabs / page actions */
.vector-page-toolbar,
.vector-page-tools,
.vector-pinnable-element,
.vector-column-end,
.vector-sticky-pinned-container {
    color: #dfe9f7;
}
 
/* Sidebar / navigation */
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-menu {
    background: transparent;
}
 
#mw-panel a,
.vector-column-start a,
.vector-menu a {
    color: #bfe8ff !important;
}
 
#mw-panel a:hover,
.vector-column-start a:hover,
.vector-menu a:hover {
    color: #ffffff !important;
}
 
/* Categories */
.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;
}
 
/* Images and thumbs */
.thumbinner,
div.thumbinner {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px;
}
 
/* Message boxes */
.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;
}
 
/* ═══════════════════════════════════════════════════════════════════
  2) MAIN PAGE ONLY — KEEP SPECIAL LANDING PAGE BEHAVIOR
═══════════════════════════════════════════════════════════════════ */
 
body.page-Main_Page #content,
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
body.page-Main_Page .mw-body {
Line 12: Line 295:
     border: none !important;
     border: none !important;
     background: transparent !important;
     background: transparent !important;
    box-shadow: none !important;
}
}


Line 27: Line 311:
}
}


/* ── Keyframes ─────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════
  3) TIMERO CUSTOM COMPONENT SYSTEM
═══════════════════════════════════════════════════════════════════ */
 
@keyframes timero-pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); }
}
 
@keyframes timero-fade-up {
@keyframes timero-fade-up {
     from { opacity: 0; transform: translateY(18px); }
     from { opacity: 0; transform: translateY(20px); }
     to  { opacity: 1; transform: translateY(0); }
     to  { opacity: 1; transform: translateY(0); }
}
}


@keyframes timero-grid-drift {
@keyframes timero-shimmer {
     from { background-position: 0 0, 0 0; }
     0% { background-position: -200% center; }
     to  { background-position: 0 48px, 48px 0; }
     60%, 100% { background-position: 200% center; }
}
}


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


@keyframes timero-shimmer {
@keyframes timero-grid-drift {
     0%  { background-position: 0% center; }
     from { background-position: 0 0; }
     100% { background-position: 200% center; }
     to { background-position: 0 48px; }
}
}


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


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


.timero-wiki-root h2 {
.timero-wiki-root h2 {
     font-family: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
     font-family: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
     border: none !important;
     border: none !important;
     line-height: 1;
     border-bottom: none !important;
}
 
.timero-wiki-root p {
    margin: 0;
}
 
.timero-wiki-root a {
    color: inherit !important;
    text-decoration: none !important;
}
 
.timero-wiki-root a:hover {
    color: inherit !important;
    text-decoration: none !important;
}
}


/* ── Hero ─────────────────────────────────────────────────────── */
.timero-hero {
.timero-hero {
     position: relative;
     position: relative;
     background:
     background: linear-gradient(160deg, #02040a 0%, #071020 40%, #0a1628 70%, #06101e 100%);
        radial-gradient(circle at 18% 16%, rgba(0,212,255,0.08), transparent 22%),
        radial-gradient(circle at 84% 14%, rgba(249,168,38,0.08), transparent 20%),
        radial-gradient(ellipse at 50% 100%, rgba(176,108,255,0.06), transparent 32%),
        linear-gradient(160deg, #02040a 0%, #071020 40%, #0a1628 70%, #06101e 100%);
     padding: 64px 48px 52px;
     padding: 64px 48px 52px;
     text-align: center;
     text-align: center;
     overflow: hidden;
     overflow: hidden;
     border-bottom: 1px solid rgba(0,212,255,0.15);
     border-bottom: 1px solid rgba(0,212,255,0.15);
    border-radius: 0 0 24px 24px;
     animation: timero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
     animation: timero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
}


.timero-hero::before {
.timero-hero > div:first-child {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,212,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 80%);
     animation: timero-grid-drift 8s linear infinite;
     animation: timero-grid-drift 8s linear infinite;
}
}


.timero-hero > * {
.timero-hero [style*="width:7px"] {
    position: relative;
    z-index: 1;
}
 
/* online status pill dot */
.timero-hero span[style*="width:7px"][style*="height:7px"] {
     animation: timero-blink 1.6s ease-in-out infinite;
     animation: timero-blink 1.6s ease-in-out infinite;
}
}


/* main title */
.timero-hero div[style*="font-size:clamp(3rem,8vw,6.5rem)"] {
    background: linear-gradient(180deg, #ffffff 0%, #00d4ff 45%, #f9a826 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: timero-shimmer 7s linear infinite;
}
/* ── Buttons / CTA pills ──────────────────────────────────────── */
.timero-btn,
.timero-wiki-root span.timero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d4ff, #7a37ff);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,212,255,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.timero-btn:hover,
.timero-wiki-root span.timero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,212,255,0.35);
    filter: brightness(1.05);
}
/* ── Sections ─────────────────────────────────────────────────── */
.timero-section {
    padding: 56px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    animation: timero-fade-up 0.7s both;
}
.timero-section:nth-of-type(2) { animation-delay: 0.1s; }
.timero-section:nth-of-type(3) { animation-delay: 0.2s; }
.timero-section:nth-of-type(4) { animation-delay: 0.3s; }
.timero-section:nth-of-type(5) { animation-delay: 0.4s; }
/* ── Grids ────────────────────────────────────────────────────── */
.timero-grid {
.timero-grid {
     display: grid;
     display: grid;
     gap: 16px;
     gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
}


.timero-grid-2 {
.timero-grid-2 {
     grid-template-columns: repeat(2, 1fr);
     grid-template-columns: repeat(2, 1fr);
    max-width: 960px;
}
}


Line 196: Line 395:
}
}


/* ── Cards ────────────────────────────────────────────────────── */
.timero-section {
    background: #07101e;
    padding: 56px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
 
.timero-card {
.timero-card {
     background: linear-gradient(160deg, rgba(10,20,36,0.9), rgba(6,12,24,0.95));
     background: linear-gradient(160deg, rgba(10,20,36,0.9), rgba(6,12,24,0.95));
     border: 1px solid rgba(0,212,255,0.14);
     border: 1px solid rgba(0,212,255,0.16);
     border-radius: 18px;
     border-radius: 18px;
     padding: 28px 22px;
     padding: 28px 22px;
     position: relative;
     position: relative;
     overflow: hidden;
     overflow: hidden;
    color: #e8eef8;
     transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
     transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                 box-shadow 0.25s ease,
                 box-shadow 0.24s ease,
                 border-color 0.25s ease;
                 border-color 0.24s ease;
}
 
.timero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.9), transparent);
    opacity: 0.9;
}
}


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


/* colored variants by inline content tone */
.timero-btn {
.timero-card [style*="rgba(249,168,38"] { color: #f9a826 !important; }
    display: inline-flex;
.timero-card [style*="rgba(176,108,255"] { color: #b06cff !important; }
    align-items: center;
.timero-card [style*="rgba(0,255,136"] { color: #00ff88 !important; }
    justify-content: center;
 
    gap: 8px;
/* ── Text tuning inside cards ────────────────────────────────── */
    padding: 12px 18px;
.timero-card div[style*="font-size:1.05rem"][style*="font-weight:800"] {
    border-radius: 12px;
     color: #fff !important;
    background: linear-gradient(135deg, #00d4ff, #7a37ff);
     margin-bottom: 8px;
    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-card div[style*="font-size:0.88rem"] {
.timero-btn:hover {
     color: rgba(168,186,214,0.82) !important;
     transform: translateY(-3px);
     line-height: 1.65 !important;
    box-shadow: 0 18px 50px rgba(0, 212, 255, 0.35);
    text-decoration: none !important;
     color: #ffffff !important;
}
}


/* ── Footer / final section ───────────────────────────────────── */
/* Keep custom links inside landing blocks neutral when needed */
.timero-section[style*="text-align:center"] {
.timero-wiki-root .timero-card a {
     text-align: center;
     color: inherit !important;
}
}


.timero-section[style*="text-align:center"] p {
/* ═══════════════════════════════════════════════════════════════════
    max-width: 560px;
  4) RESPONSIVE
    margin: 0 auto 28px;
═══════════════════════════════════════════════════════════════════ */
}


/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
@media (max-width: 1100px) {
     .timero-grid-4 {
     .timero-grid-4 {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: repeat(2, 1fr);
Line 260: Line 457:
     .timero-grid-3 {
     .timero-grid-3 {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: repeat(2, 1fr);
    }
    .timero-grid-2 {
        grid-template-columns: 1fr;
     }
     }
}
}


@media (max-width: 700px) {
@media (max-width: 600px) {
    .timero-hero,
    .timero-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
 
     .timero-grid-4,
     .timero-grid-4,
     .timero-grid-3,
     .timero-grid-3,
Line 276: Line 470:
     }
     }


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


    .timero-btn,
/* ═══════════════════════════════════════════════════════════════════
    .timero-wiki-root span.timero-btn {
  5) PRINT
        width: 100%;
═══════════════════════════════════════════════════════════════════ */
        max-width: 280px;
    }
}


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


     .timero-wiki-root,
     .timero-wiki-root [style*="background:linear-gradient"] {
    .timero-hero,
         background: #f0f0f0 !important;
    .timero-section,
    .timero-card {
         background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
     }
     }
}
}

Revision as of 19:02, 12 April 2026

/* ═══════════════════════════════════════════════════════════════════
   MediaWiki:Common.css — TimeRO Wiki Design System
   Strategy:
   1) Keep Main Page as special landing page
   2) Apply a safe dark theme globally to the rest of the wiki
   3) Preserve readability for normal articles, tables, and forms
═══════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────────── */
@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');

/* ═══════════════════════════════════════════════════════════════════
   1) GLOBAL THEME — ALL WIKI PAGES
═══════════════════════════════════════════════════════════════════ */

html,
body {
    background: #05080f !important;
    color: #e8eef8;
    font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

/* Main wiki containers */
body:not(.page-Main_Page) #content,
body:not(.page-Main_Page) .mw-body {
    background: linear-gradient(180deg, #05080f 0%, #08111d 100%) !important;
    color: #e8eef8 !important;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Keep normal pages readable and centered */
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
    color: #e8eef8 !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;
    color: #dfe9f7;
}

.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', system-ui, sans-serif;
    color: #ffffff !important;
    letter-spacing: 0.02em;
}

/* Heading lines for normal pages */
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: 6px;
}

/* Links */
.mw-body a,
.mw-parser-output a,
.vector-body a {
    color: #33cfff !important;
    text-decoration: none;
}

.mw-body a:hover,
.mw-parser-output a:hover,
.vector-body a:hover {
    color: #9b6bff !important;
    text-decoration: underline;
}

/* Visited links */
.mw-body a:visited,
.mw-parser-output a:visited {
    color: #7fdcff !important;
}

/* Lists */
.mw-parser-output ul,
.mw-parser-output ol {
    padding-left: 1.6rem;
}

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

/* Blockquotes */
.mw-parser-output blockquote {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid rgba(0,212,255,0.35);
    padding: 14px 16px;
    color: #d5e4f5;
    border-radius: 10px;
}

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

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

/* Table of contents */
#toc,
.toc,
.mw-parser-output .toc {
    background: rgba(8,18,32,0.92) !important;
    border: 1px solid rgba(0,212,255,0.14) !important;
    border-radius: 14px;
    padding: 12px 14px;
    color: #e8eef8;
}

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

/* Wikitables */
.wikitable,
table.wikitable {
    background: rgba(10,20,36,0.92) !important;
    color: #e8eef8 !important;
    border: 1px solid rgba(0,212,255,0.16) !important;
    border-collapse: collapse;
}

.wikitable th,
table.wikitable th {
    background: rgba(0,212,255,0.10) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    font-weight: 700;
}

.wikitable td,
table.wikitable td {
    background: rgba(255,255,255,0.02) !important;
    color: #dfe9f7 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

/* Forms / inputs */
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 {
    background: rgba(12,18,28,0.95) !important;
    color: #eef6ff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0,212,255,0.45) !important;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}

/* Buttons */
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: 10px;
    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);
}

/* Search box / interface bits */
.vector-search-box-input,
.cdx-text-input__input {
    background: rgba(12,18,28,0.95) !important;
    color: #eef6ff !important;
    border-color: rgba(255,255,255,0.12) !important;
}

/* Tabs / page actions */
.vector-page-toolbar,
.vector-page-tools,
.vector-pinnable-element,
.vector-column-end,
.vector-sticky-pinned-container {
    color: #dfe9f7;
}

/* Sidebar / navigation */
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-menu {
    background: transparent;
}

#mw-panel a,
.vector-column-start a,
.vector-menu a {
    color: #bfe8ff !important;
}

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

/* Categories */
.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;
}

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

/* Message boxes */
.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;
}

/* ═══════════════════════════════════════════════════════════════════
   2) MAIN PAGE ONLY — KEEP SPECIAL LANDING PAGE BEHAVIOR
═══════════════════════════════════════════════════════════════════ */

body.page-Main_Page #content,
body.page-Main_Page .mw-body {
    margin-left: 0 !important;
    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;
}

/* ═══════════════════════════════════════════════════════════════════
   3) TIMERO CUSTOM COMPONENT SYSTEM
═══════════════════════════════════════════════════════════════════ */

@keyframes timero-pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); }
}

@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;
}

/* Keep custom links inside landing blocks neutral when needed */
.timero-wiki-root .timero-card a {
    color: inherit !important;
}

/* ═══════════════════════════════════════════════════════════════════
   4) RESPONSIVE
═══════════════════════════════════════════════════════════════════ */

@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 {
        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;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   5) PRINT
═══════════════════════════════════════════════════════════════════ */

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

    .timero-wiki-root [style*="background:linear-gradient"] {
        background: #f0f0f0 !important;
    }
}