Toggle menu
2
2
238
MechaWiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================================
/* =========================================
   MECHA HOMEPAGE — STABLE + TIGHT HERO
   MECHA HOMEPAGE — CORE LAYOUT + BRANDING
   ========================================= */
   ========================================= */


.mecha-home {
.page-Main_Page .mecha-home{
   max-width: 1200px;
   margin-top:0!important;
  margin: 0 auto;
  padding: 12px 18px 34px;
}
}


/* Kill the huge whitespace */
/* Remove top whitespace above homepage */
.mecha-hero {
.page-Main_Page .mw-body-content{
   text-align: center;
   margin-top:0!important;
  margin: 6px 0 14px;
   padding-top:0!important;
   padding: 0;
}
}


.mecha-logoLink {
.page-Main_Page .mw-parser-output{
   display: inline-flex;
   margin-top:0!important;
  justify-content: center;
   padding-top:0!important;
   align-items: center;
  margin: 0 0 6px;
}
}


.mecha-logo {
/* Logo — base */
   width: 140px;
.mecha-logo{
   height: auto;
   width:200px;
   display: block;
   height:auto;
   display:block;
  margin:0 auto;
  transition:filter .15s ease;
}
}


/* Tighten title spacing */
/* Logo — dark mode */
.mecha-title {
.skin-theme-clientpref-night .mecha-logo{
   margin: 8px 0 6px;
   filter:invert(1) brightness(2);
  padding: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
}


.mecha-subtitle {
/* Remove MediaWiki image frame */
   margin: 0;
.mecha-logo.mw-file-element{
   color: var(--color-base-subtle);
   border:none!important;
   font-size: 16px;
   padding:0!important;
   background:none!important;
}
}


/* Buttons */
/* Remove link tinting */
.mecha-actions {
.mecha-logoLink img{
   display: flex;
   border:none!important;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
}
}


.mecha-action {
/* Page container */
   display: inline-flex;
.mecha-home{
  align-items: center;
   max-width:1200px;
   gap: 10px;
   margin:0 auto;
   padding: 11px 16px;
   padding:12px 18px 34px;
  border-radius: 12px;
  background: var(--color-progressive);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
}


.mecha-action:hover {
/* Hero section */
   transform: translateY(-2px);
.mecha-hero{
   box-shadow: 0 10px 22px rgba(0,0,0,0.10);
   text-align:center;
   margin:6px 0 14px;
  padding:0;
}
}


.mecha-action::before {
/* Logo link wrapper */
   content: "";
.mecha-logoLink{
  width: 18px;
   display:inline-flex;
  height: 18px;
   justify-content:center;
  background-size: contain;
   align-items:center;
   background-repeat: no-repeat;
   margin:0 0 6px;
   background-position: center;
   filter: brightness(0) invert(1); /* icons always white on blue buttons */
}
}


.mecha-action--discord::before { background-image: url("https://cdn.simpleicons.org/discord"); }
/* Title */
.mecha-action--matrix::before  { background-image: url("https://cdn.simpleicons.org/matrix"); }
.mecha-title{
.mecha-action--website::before { background-image: url("https://cdn.simpleicons.org/firefoxbrowser"); }
  margin:8px 0 6px;
.mecha-action--forums::before  { background-image: url("https://cdn.simpleicons.org/discourse"); }
  padding:0;
  font-size:42px;
  font-weight:800;
  letter-spacing:-.02em;
}


/* Grid */
/* Subtitle */
.mecha-grid {
.mecha-subtitle{
   display: grid;
   margin:0;
   grid-template-columns: 1fr 1.45fr 1fr;
   color:var(--color-base-subtle);
  gap: 22px;
   font-size:16px;
  margin-top: 26px;
   align-items: start;
}
}


/* Cards */
/* =========================================
.mecha-card {
  HERO ACTION BUTTONS
   background: var(--color-surface-2);
  ========================================= */
   border: 1px solid var(--color-border);
 
   border-radius: 18px;
.mecha-actions{
   padding: 18px;
   display:flex;
  justify-content:center;
   gap:14px;
  flex-wrap:wrap;
   margin:16px 0 0;
   padding:0;
}
}


.mecha-cardTitle {
.mecha-action{
   margin: 0;
   display:inline-flex;
   font-size: 20px;
  align-items:center;
   font-weight: 800;
  gap:10px;
  padding:11px 16px;
  border-radius:12px;
   background:var(--color-progressive);
  color:#fff!important;
   font-weight:700;
  text-decoration:none!important;
  transition:transform .14s ease,box-shadow .14s ease;
}
}


.mecha-cardDesc {
.mecha-action:hover{
   margin: 8px 0 0;
   transform:translateY(-2px);
  color: var(--color-base-subtle);
   box-shadow:0 10px 22px rgba(0,0,0,.10);
   font-size: 14px;
}
}


/* List */
/* Hero button icons — always white */
.mecha-list {
.mecha-action::before{
   margin-top: 14px;
   content:"";
   display: grid;
  width:18px;
   gap: 10px;
  height:18px;
  background-size:contain;
  background-repeat:no-repeat;
   background-position:center;
   filter:brightness(0) invert(1);
}
}


.mecha-listItem {
.mecha-action--discord::before{background-image:url("https://cdn.simpleicons.org/discord");}
  background: var(--color-surface-1);
.mecha-action--matrix::before{background-image:url("https://cdn.simpleicons.org/matrix");}
  border: 1px solid var(--color-border);
.mecha-action--website::before{background-image:url("https://cdn.simpleicons.org/firefoxbrowser");}
  border-radius: 12px;
.mecha-action--forums::before{background-image:url("https://cdn.simpleicons.org/discourse");}
   padding: 12px 12px;
 
   text-decoration: none !important;
/* =========================================
   font-weight: 650;
  GRID + CARD SYSTEM
   display: flex;
  ========================================= */
   align-items: center;
 
  gap: 10px;
.mecha-grid{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:22px;
   margin-top:26px;
   align-items:stretch;
}
}


.mecha-listItem:hover {
.mecha-card{
   background: var(--color-progressive-subtle);
   background:var(--color-surface-2);
   border-color: var(--color-progressive);
   border:1px solid var(--color-border);
  border-radius:18px;
  padding:18px;
  height:100%;
}
}


/* Ecosystem tiles */
.mecha-cardTitle{
.mecha-ecosystem {
   margin:0;
   margin-top: 14px;
   font-size:20px;
   display: grid;
   font-weight:800;
   grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
}


.mecha-tile {
.mecha-cardDesc{
   background: var(--color-surface-1);
   margin:8px 0 0;
   border: 1px solid var(--color-border);
   color:var(--color-base-subtle);
   border-radius: 14px;
   font-size:14px;
  padding: 14px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 80px;
}
}


.mecha-tile:hover {
/* =========================================
   background: var(--color-progressive-subtle);
  LIST ITEMS
   border-color: var(--color-progressive);
  ========================================= */
   transform: translateY(-1px);
 
.mecha-list{
   margin-top:14px;
   display:grid;
   gap:10px;
}
}


.mecha-tileTitle { font-weight: 800; }
.mecha-listItem{
.mecha-tileDesc  { color: var(--color-base-subtle); font-size: 13px; }
  background:var(--color-surface-1);
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:12px;
  text-decoration:none!important;
  font-weight:650;
  display:flex;
  align-items:center;
  gap:10px;
}


/* Stats */
.mecha-listItem:hover{
.mecha-stats {
   background:var(--color-progressive-subtle);
   margin-top: 14px;
   border-color:var(--color-progressive);
   display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
}


.mecha-stat {
/* =========================================
   background: var(--color-surface-1);
  ECOSYSTEM TILES
  border: 1px solid var(--color-border);
  ========================================= */
  border-radius: 12px;
 
  padding: 10px 12px;
.mecha-ecosystem{
   display: flex;
   margin-top:14px;
   justify-content: space-between;
   display:grid;
   gap: 10px;
   grid-template-columns:1fr;
  align-items: center;
   gap:12px;
}
}


.mecha-stat span { color: var(--color-base-subtle); font-size: 13px; }
.mecha-tile{
.mecha-stat b    { font-size: 14px; }
  background:var(--color-surface-1);
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:12px;
  text-decoration:none!important;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
}


/* Icon system for list + tiles (theme-aware) */
.mecha-tile:hover{
.mecha-i::before {
   background:var(--color-progressive-subtle);
   content: "";
   border-color:var(--color-progressive);
  width: 18px;
}
  height: 18px;
  background-size: contain;
   background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  flex: 0 0 auto;


  /* make icons readable in both modes */
.mecha-tileTitle{font-weight:800;}
   filter: var(--mecha-icon-filter);
.mecha-tileDesc{
   color:var(--color-base-subtle);
  font-size:13px;
}
}


:root { --mecha-icon-filter: none; }
/* =========================================
.skin-theme-clientpref-night { --mecha-icon-filter: brightness(0) invert(1); }
  STATS
  ========================================= */


/* icon sources */
.mecha-stats{
.mecha-i--rocket::before { background-image: url("https://cdn.simpleicons.org/rocket"); }
  margin-top:14px;
.mecha-i--code::before   { background-image: url("https://cdn.simpleicons.org/code"); }
   display:grid;
.mecha-i--book::before  { background-image: url("https://cdn.simpleicons.org/bookstack"); }
  grid-template-columns:1fr 1fr;
.mecha-i--chip::before   { background-image: url("https://cdn.simpleicons.org/microchip"); }
   gap:10px;
.mecha-i--puzzle::before { background-image: url("https://cdn.simpleicons.org/puzzles"); }
}


.mecha-i--linux::before  { background-image: url("https://cdn.simpleicons.org/linux"); }
.mecha-stat{
.mecha-i--flutter::before{ background-image: url("https://cdn.simpleicons.org/flutter"); }
  background:var(--color-surface-1);
.mecha-i--box::before    { background-image: url("https://cdn.simpleicons.org/docker"); }
  border:1px solid var(--color-border);
.mecha-i--github::before { background-image: url("https://cdn.simpleicons.org/github"); }
  border-radius:12px;
.mecha-i--arch::before   { background-image: url("https://cdn.simpleicons.org/archlinux"); }
  padding:10px 12px;
.mecha-i--discord::before{ background-image: url("https://cdn.simpleicons.org/discord"); }
   display:flex;
.mecha-i--matrix::before { background-image: url("https://cdn.simpleicons.org/matrix"); }
  justify-content:space-between;
  align-items:center;
}


/* Mobile */
.mecha-stat span{
@media (max-width: 980px) {
   color:var(--color-base-subtle);
   .mecha-grid { grid-template-columns: 1fr; }
   font-size:13px;
   .mecha-ecosystem { grid-template-columns: 1fr; }
}
}


@media (max-width: 650px) {
.mecha-stat b{
   .mecha-title { font-size: 24px; }
   font-size:14px;
  .mecha-action { width: 100%; justify-content: center; }
  .mecha-home { padding: 10px 12px 26px; }
}
}


/* =========================================
  ICON SYSTEM — MONOCHROME + DARK MODE
  ========================================= */


/* ========================================
.mecha-i::before{
  MECHA HERO — PERFECT CITIZEN BLEND
  content:"";
  ======================================== */
  width:18px;
  height:18px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  display:inline-block;
  flex:0 0 auto;
  filter:brightness(0);
}


.page-Main_Page .mecha-hero {
/* Dark mode icon inversion */
.skin-theme-clientpref-night .mecha-i::before{
  filter:brightness(0) invert(1);
}


position: relative;
/* Icon sources */
overflow: hidden;
.mecha-i--rocket::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/rocket.svg");}
.mecha-i--code::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/code.svg");}
.mecha-i--book::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/book.svg");}
.mecha-i--chip::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/cpu.svg");}
.mecha-i--puzzle::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/puzzle.svg");}
.mecha-i--linux::before{background-image:url("https://cdn.simpleicons.org/linux");}
.mecha-i--flutter::before{background-image:url("https://cdn.simpleicons.org/flutter");}
.mecha-i--box::before{background-image:url("https://cdn.simpleicons.org/docker");}
.mecha-i--github::before{background-image:url("https://cdn.simpleicons.org/github");}
.mecha-i--arch::before{background-image:url("https://cdn.simpleicons.org/archlinux");}
.mecha-i--discord::before{background-image:url("https://cdn.simpleicons.org/discord");}
.mecha-i--matrix::before{background-image:url("https://cdn.simpleicons.org/matrix");}


padding: 120px 20px 110px;
/* =========================================
text-align: center;
  MOBILE
  ========================================= */


border-radius: 20px;
@media(max-width:980px){
.mecha-grid{grid-template-columns:1fr;}
.mecha-ecosystem{grid-template-columns:1fr;}
}


@media(max-width:650px){
.mecha-title{font-size:24px;}
.mecha-action{width:100%;justify-content:center;}
.mecha-home{padding:10px 12px 26px;}
}
}


/* =========================================
  FEATURED APP ICONS
  ========================================= */


/* Background image */
.mecha-appGrid {
.page-Main_Page .mecha-hero::before {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}


content: "";
.mecha-app {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}


position: absolute;
.mecha-app:hover {
inset: 0;
  background: var(--color-progressive-subtle);
  border-color: var(--color-progressive);
  transform: translateY(-1px);
}


background:
.mecha-appIcon {
url("https://mecha.so/images/for-profit.png")
  width: 42px;
center / cover no-repeat;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}


filter: blur(3px);
.mecha-appInfo {
transform: scale(1.06);
  flex: 1;
  min-width: 0;
}


z-index: 0;
.mecha-appName {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}


.mecha-appMeta {
  font-size: 13px;
  color: var(--color-base-subtle);
  line-height: 1.2;
}
}


.mecha-appButton {
  font-size: 13px;
  font-weight: 600;
  background: var(--color-progressive);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}


/* TRUE blend into Citizen background */
/* =========================================
.page-Main_Page .mecha-hero::after {
  KICKSTARTER BANNER - TEMP
  ========================================= */


content: "";
.mecha-kickstarter{
  border:1px solid #05ce78;
  background:linear-gradient(135deg,rgba(5,206,120,.12),rgba(5,206,120,.04));
}


position: absolute;
.mecha-kickstarter-inner{
inset: 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}


z-index: 1;
.mecha-kickstarter-button{
  background:#05ce78;
  color:#000!important;
  padding:10px 16px;
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
}


background:
@media(max-width:650px){


radial-gradient(
.mecha-kickstarter-inner{
ellipse at center,
  flex-direction:column;
transparent 45%,
  align-items:flex-start;
var(--color-surface-1) 85%
}
),


linear-gradient(
.mecha-kickstarter-button{
to bottom,
  width:100%;
transparent 60%,
  text-align:center;
var(--color-surface-1) 100%
}
);


}
}




/* Dark mode automatic */
/* =========================================
.skin-theme-clientpref-night .page-Main_Page .mecha-hero::after {
  EXTENSION OF THE WEEK
  ========================================= */


background:
.mecha-extensionGrid {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


radial-gradient(
.mecha-extension {
ellipse at center,
  display: flex;
transparent 45%,
  align-items: center;
var(--color-surface-1) 85%
  gap: 14px;
),
  padding: 12px;
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none !important;
  transition: transform 140ms ease, border-color 140ms ease;
}


linear-gradient(
.mecha-extension:hover {
to bottom,
  transform: translateY(-2px);
transparent 60%,
  border-color: var(--color-progressive);
var(--color-surface-1) 100%
}
);


.mecha-extension-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--color-surface-2);
  padding: 4px;
}
}


.mecha-extension-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


/* Content above */
.mecha-extension-name {
.page-Main_Page .mecha-hero > * {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-progressive);
}


position: relative;
.mecha-extension-features {
z-index: 2;
  font-size: 13px;
  color: var(--color-base-subtle);
  line-height: 1.4;
}


.mecha-card-pageHeadingCard {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}
}


/* =========================================
  PAGE HEADING CARD
  ========================================= */


/* Improve readability WITHOUT washing image */
.mecha-card-pageHeadingCard{
.page-Main_Page .mecha-hero h1 {
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:18px;
    padding:18px;
}
.mecha-card-pageHeadingCard .mecha-card-icon{
    flex-shrink:0;
    display:flex;
    align-items:center;
}
.mecha-card-pageHeadingCard .mecha-card-icon img{
    width:120px;
    height:auto;
    display:block;
    border-radius:12px;
}
.mecha-card-pageHeadingCard .mecha-card-content{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.mecha-card-pageHeadingCard .mecha-card-title,
.mecha-card-pageHeadingCard h1,
.mecha-card-pageHeadingCard h2{
    margin:0 0 6px 0!important;
    line-height:1.25;
}
.mecha-card-pageHeadingCard .mecha-card-description{
    margin:0;
}
@media(max-width:700px){
    .mecha-card-pageHeadingCard{
        flex-direction:column;
        align-items:flex-start;
    }
    .mecha-card-pageHeadingCard .mecha-card-icon img{
        width:100%;
        max-width:180px;
    }
}


text-shadow:
/* =========================================
0 3px 12px rgba(0,0,0,0.35);
  GLOBAL BUTTONS - See Template:MechaButton and Template:MechaButtons
  ========================================= */


/* =========================================
  GLOBAL BUTTONS
  ========================================= */
.mecha-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:10px;
    background:var(--color-progressive);
    color:#fff!important;
    font-weight:700;
    text-decoration:none!important;
    line-height:1;
    min-height:38px;
}
.mecha-button a{
    color:inherit!important;
    text-decoration:none!important;
    display:inline-flex;
    align-items:center;
    line-height:1;
}
.mecha-button-secondary{
    background:var(--color-surface-2);
    border:1px solid var(--color-border);
    color:var(--color-base)!important;
}
.mecha-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.mecha-buttons > p{
    margin:0!important;
    padding:0!important;
    display:contents;
}
}


.page-Main_Page .mecha-hero p {
/* =========================================
  CODE BLOCK STYLING - Using <pre> tag
  ========================================= */


text-shadow:
.mecha-code{
0 2px 8px rgba(0,0,0,0.25);
    background:#0d1117;
    border-radius:10px;
    padding:14px;
    font-family:monospace;
    font-size:13px;
    overflow:auto;
}


pre{
    background:var(--color-surface-1);
    border:1px solid var(--color-border);
    border-radius:12px;
    padding:14px;
    font-size:13px;
    overflow:auto;
}
}

Latest revision as of 19:03, 21 February 2026

/* =========================================
   MECHA HOMEPAGE — CORE LAYOUT + BRANDING
   ========================================= */

.page-Main_Page .mecha-home{
  margin-top:0!important;
}

/* Remove top whitespace above homepage */
.page-Main_Page .mw-body-content{
  margin-top:0!important;
  padding-top:0!important;
}

.page-Main_Page .mw-parser-output{
  margin-top:0!important;
  padding-top:0!important;
}

/* Logo — base */
.mecha-logo{
  width:200px;
  height:auto;
  display:block;
  margin:0 auto;
  transition:filter .15s ease;
}

/* Logo — dark mode */
.skin-theme-clientpref-night .mecha-logo{
  filter:invert(1) brightness(2);
}

/* Remove MediaWiki image frame */
.mecha-logo.mw-file-element{
  border:none!important;
  padding:0!important;
  background:none!important;
}

/* Remove link tinting */
.mecha-logoLink img{
  border:none!important;
}

/* Page container */
.mecha-home{
  max-width:1200px;
  margin:0 auto;
  padding:12px 18px 34px;
}

/* Hero section */
.mecha-hero{
  text-align:center;
  margin:6px 0 14px;
  padding:0;
}

/* Logo link wrapper */
.mecha-logoLink{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  margin:0 0 6px;
}

/* Title */
.mecha-title{
  margin:8px 0 6px;
  padding:0;
  font-size:42px;
  font-weight:800;
  letter-spacing:-.02em;
}

/* Subtitle */
.mecha-subtitle{
  margin:0;
  color:var(--color-base-subtle);
  font-size:16px;
}

/* =========================================
   HERO ACTION BUTTONS
   ========================================= */

.mecha-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin:16px 0 0;
  padding:0;
}

.mecha-action{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 16px;
  border-radius:12px;
  background:var(--color-progressive);
  color:#fff!important;
  font-weight:700;
  text-decoration:none!important;
  transition:transform .14s ease,box-shadow .14s ease;
}

.mecha-action:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}

/* Hero button icons — always white */
.mecha-action::before{
  content:"";
  width:18px;
  height:18px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  filter:brightness(0) invert(1);
}

.mecha-action--discord::before{background-image:url("https://cdn.simpleicons.org/discord");}
.mecha-action--matrix::before{background-image:url("https://cdn.simpleicons.org/matrix");}
.mecha-action--website::before{background-image:url("https://cdn.simpleicons.org/firefoxbrowser");}
.mecha-action--forums::before{background-image:url("https://cdn.simpleicons.org/discourse");}

/* =========================================
   GRID + CARD SYSTEM
   ========================================= */

.mecha-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:26px;
  align-items:stretch;
}

.mecha-card{
  background:var(--color-surface-2);
  border:1px solid var(--color-border);
  border-radius:18px;
  padding:18px;
  height:100%;
}

.mecha-cardTitle{
  margin:0;
  font-size:20px;
  font-weight:800;
}

.mecha-cardDesc{
  margin:8px 0 0;
  color:var(--color-base-subtle);
  font-size:14px;
}

/* =========================================
   LIST ITEMS
   ========================================= */

.mecha-list{
  margin-top:14px;
  display:grid;
  gap:10px;
}

.mecha-listItem{
  background:var(--color-surface-1);
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:12px;
  text-decoration:none!important;
  font-weight:650;
  display:flex;
  align-items:center;
  gap:10px;
}

.mecha-listItem:hover{
  background:var(--color-progressive-subtle);
  border-color:var(--color-progressive);
}

/* =========================================
   ECOSYSTEM TILES
   ========================================= */

.mecha-ecosystem{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.mecha-tile{
  background:var(--color-surface-1);
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:12px;
  text-decoration:none!important;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
}

.mecha-tile:hover{
  background:var(--color-progressive-subtle);
  border-color:var(--color-progressive);
}

.mecha-tileTitle{font-weight:800;}
.mecha-tileDesc{
  color:var(--color-base-subtle);
  font-size:13px;
}

/* =========================================
   STATS
   ========================================= */

.mecha-stats{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.mecha-stat{
  background:var(--color-surface-1);
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.mecha-stat span{
  color:var(--color-base-subtle);
  font-size:13px;
}

.mecha-stat b{
  font-size:14px;
}

/* =========================================
   ICON SYSTEM — MONOCHROME + DARK MODE
   ========================================= */

.mecha-i::before{
  content:"";
  width:18px;
  height:18px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  display:inline-block;
  flex:0 0 auto;
  filter:brightness(0);
}

/* Dark mode icon inversion */
.skin-theme-clientpref-night .mecha-i::before{
  filter:brightness(0) invert(1);
}

/* Icon sources */
.mecha-i--rocket::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/rocket.svg");}
.mecha-i--code::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/code.svg");}
.mecha-i--book::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/book.svg");}
.mecha-i--chip::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/cpu.svg");}
.mecha-i--puzzle::before{background-image:url("https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/outline/puzzle.svg");}
.mecha-i--linux::before{background-image:url("https://cdn.simpleicons.org/linux");}
.mecha-i--flutter::before{background-image:url("https://cdn.simpleicons.org/flutter");}
.mecha-i--box::before{background-image:url("https://cdn.simpleicons.org/docker");}
.mecha-i--github::before{background-image:url("https://cdn.simpleicons.org/github");}
.mecha-i--arch::before{background-image:url("https://cdn.simpleicons.org/archlinux");}
.mecha-i--discord::before{background-image:url("https://cdn.simpleicons.org/discord");}
.mecha-i--matrix::before{background-image:url("https://cdn.simpleicons.org/matrix");}

/* =========================================
   MOBILE
   ========================================= */

@media(max-width:980px){
.mecha-grid{grid-template-columns:1fr;}
.mecha-ecosystem{grid-template-columns:1fr;}
}

@media(max-width:650px){
.mecha-title{font-size:24px;}
.mecha-action{width:100%;justify-content:center;}
.mecha-home{padding:10px 12px 26px;}
}

/* =========================================
   FEATURED APP ICONS
   ========================================= */

.mecha-appGrid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.mecha-app {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mecha-app:hover {
  background: var(--color-progressive-subtle);
  border-color: var(--color-progressive);
  transform: translateY(-1px);
}

.mecha-appIcon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mecha-appInfo {
  flex: 1;
  min-width: 0;
}

.mecha-appName {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.mecha-appMeta {
  font-size: 13px;
  color: var(--color-base-subtle);
  line-height: 1.2;
}

.mecha-appButton {
  font-size: 13px;
  font-weight: 600;
  background: var(--color-progressive);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* =========================================
   KICKSTARTER BANNER - TEMP
   ========================================= */

.mecha-kickstarter{
  border:1px solid #05ce78;
  background:linear-gradient(135deg,rgba(5,206,120,.12),rgba(5,206,120,.04));
}

.mecha-kickstarter-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.mecha-kickstarter-button{
  background:#05ce78;
  color:#000!important;
  padding:10px 16px;
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
}

@media(max-width:650px){

.mecha-kickstarter-inner{
  flex-direction:column;
  align-items:flex-start;
}

.mecha-kickstarter-button{
  width:100%;
  text-align:center;
}

}


/* =========================================
   EXTENSION OF THE WEEK
   ========================================= */

.mecha-extensionGrid {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mecha-extension {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none !important;
  transition: transform 140ms ease, border-color 140ms ease;
}

.mecha-extension:hover {
  transform: translateY(-2px);
  border-color: var(--color-progressive);
}

.mecha-extension-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--color-surface-2);
  padding: 4px;
}

.mecha-extension-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mecha-extension-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-progressive);
}

.mecha-extension-features {
  font-size: 13px;
  color: var(--color-base-subtle);
  line-height: 1.4;
}

.mecha-card-pageHeadingCard {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

/* =========================================
   PAGE HEADING CARD
   ========================================= */

.mecha-card-pageHeadingCard{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:18px;
    padding:18px;
}
.mecha-card-pageHeadingCard .mecha-card-icon{
    flex-shrink:0;
    display:flex;
    align-items:center;
}
.mecha-card-pageHeadingCard .mecha-card-icon img{
    width:120px;
    height:auto;
    display:block;
    border-radius:12px;
}
.mecha-card-pageHeadingCard .mecha-card-content{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.mecha-card-pageHeadingCard .mecha-card-title,
.mecha-card-pageHeadingCard h1,
.mecha-card-pageHeadingCard h2{
    margin:0 0 6px 0!important;
    line-height:1.25;
}
.mecha-card-pageHeadingCard .mecha-card-description{
    margin:0;
}
@media(max-width:700px){
    .mecha-card-pageHeadingCard{
        flex-direction:column;
        align-items:flex-start;
    }
    .mecha-card-pageHeadingCard .mecha-card-icon img{
        width:100%;
        max-width:180px;
    }
}

/* =========================================
   GLOBAL BUTTONS - See Template:MechaButton and Template:MechaButtons
   ========================================= */

/* =========================================
   GLOBAL BUTTONS
   ========================================= */

.mecha-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:10px;
    background:var(--color-progressive);
    color:#fff!important;
    font-weight:700;
    text-decoration:none!important;
    line-height:1;
    min-height:38px;
}
.mecha-button a{
    color:inherit!important;
    text-decoration:none!important;
    display:inline-flex;
    align-items:center;
    line-height:1;
}
.mecha-button-secondary{
    background:var(--color-surface-2);
    border:1px solid var(--color-border);
    color:var(--color-base)!important;
}
.mecha-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.mecha-buttons > p{
    margin:0!important;
    padding:0!important;
    display:contents;
}

/* =========================================
   CODE BLOCK STYLING - Using <pre> tag
   ========================================= */

.mecha-code{
    background:#0d1117;
    border-radius:10px;
    padding:14px;
    font-family:monospace;
    font-size:13px;
    overflow:auto;
}

pre{
    background:var(--color-surface-1);
    border:1px solid var(--color-border);
    border-radius:12px;
    padding:14px;
    font-size:13px;
    overflow:auto;
}