Немає опису редагування
Мітка: Скасовано
Немає опису редагування
Мітка: Скасовано
Рядок 902: Рядок 902:
}
}


/* --- СТРУКТУРА СПИСКУ --- */
.mcc-heroes-list {


/* --- ОСНОВНА СТРУКТУРА СПИСКУ --- */
.mcc-heroes-list {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     justify-content: space-between;
     justify-content: space-between;
     list-style: none;
     list-style: none;
     padding: 0;
     padding: 0;
     margin: 20px 0;
     margin: 20px 0;
}
}


.mcc-heroes-list li {
.mcc-heroes-list li {
     width: 18.5%;
 
     width: 18.5%; /* 5 карток на рядок (5 * 18.5% = 92.5%. Решта - простір між ними) */
 
     margin-bottom: 20px;
     margin-bottom: 20px;
}
}


/* --- СТИЛІ КАРТКИ: БАЗОВИЙ КОНТЕЙНЕР --- */
 
 
/* --- СТИЛІ КАРТКИ: ОСНОВНИЙ КОНТЕЙНЕР --- */
 
 
 
.mcc-hero-card {
.mcc-hero-card {
     height: 242px;
     height: 242px;
     width: 100%;
     width: 100%;
     border-radius: 0px;
     border-radius: 0px;
     overflow: hidden;
     overflow: hidden;
     position: relative;
     position: relative;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
     background-color: #333;
     background-color: #333;
     transition: box-shadow 0.3s ease-in-out;
     transition: box-shadow 0.3s ease-in-out;
}
/* ---------------------------------------------------- */
/* КЛАС КАРТКИ ЧЕМПІОНА (З ГРАДІЄНТНОЮ РАМКОЮ) */
/* ---------------------------------------------------- */
.mcc-champion-card {
height: 242px;
width: 100%;
border: 1px solid yellow;
border-radius: 0px;
overflow: hidden;
position: relative;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
background-color: #333;
transition: box-shadow 0.3s ease-in-out;
}
}


.mcc-hero-card:hover {
 
 
 
 
.mcc-champion-card:hover {
 
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
}


/* --- СТИЛІ КАРТКИ: КОНТЕЙНЕР ВМІСТУ ТА ПОСИЛАННЯ --- */
 
 
/* --- СТИЛІ ПОСИЛАННЯ (Контейнер вмісту) --- */
 
 
 
.mcc-hero-link {
.mcc-hero-link {
     display: block;
     display: block;
     height: 100%;
     height: 100%;
     width: 100%;
     width: 100%;
     position: relative;
     position: relative;
     text-decoration: none;
     text-decoration: none;
     color: white;
     color: white;
     z-index: 2;
 
     z-index: 2; /* Вище зображення, але нижче градієнта/інфо */
 
     overflow: hidden;
     overflow: hidden;
}
}


/* --- ПОЗИЦІОНУВАННЯ ЗОБРАЖЕННЯ (ЗАГАЛЬНЕ) --- */
 
 
/* --- ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ --- */
 
 
 
/* 1. SPAN контейнер: позиціонування */
 
.mcc-hero-card .hero-image-wiki {
.mcc-hero-card .hero-image-wiki {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Найнижчий шар */
    overflow: hidden;
}
.mcc-champion-card .hero-image-wiki {
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
     left: 0;
     left: 0;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     z-index: 0;
 
     z-index: 0; /* Найнижчий шар */
 
     overflow: hidden;
     overflow: hidden;
}
}


/* --- ЗОБРАЖЕННЯ IMG: МАСШТАБУВАННЯ ТА ПЛАВНІСТЬ (ЗАГАЛЬНЕ) --- */
 
 
/* 2. IMG елемент: масштабування та ефекти */
 
.mcc-hero-card .hero-image-wiki img {
.mcc-hero-card .hero-image-wiki img {
     width: 100%;
     width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    /* Анімує збільшення, фільтри та прозорість */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.mcc-champion-card .hero-image-wiki img {
    width: 100%;
     height: 100%;
     height: 100%;
     object-fit: cover;
     object-fit: cover;
     transform: scale(1);
     transform: scale(1);
     /* Забезпечення плавності для всіх анімованих властивостей */
 
     /* Анімує збільшення, фільтри та прозорість */
 
     transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
     transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
}


/* Анімація при наведенні: стандартне збільшення */
 
 
/* Анімація при наведенні: стандартне збільшення зображення */
 
.mcc-hero-card:hover .hero-image-wiki img {
.mcc-hero-card:hover .hero-image-wiki img {
    transform: scale(1.1);
}
/* ЕЛЕМЕНТ, ЩО АНІМУЄТЬСЯ (hero-image-wiki img) */
.mcc-champion-card .hero-image-wiki img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1); /* Початковий стан */
   
    /* ДОДАНО: Вказує, що зміна властивості transform має відбуватися плавно протягом 0.3 секунди */
    transition: transform 0.3s ease-in-out;
}
/* СТАН ПРИ НАВЕДЕННІ (анімація) */
.mcc-champion-card:hover .hero-image-wiki img {
    /* Ця зміна тепер буде плавною завдяки transition вище */
     transform: scale(1.1);
     transform: scale(1.1);
}
}


/* --- ГРАДІЄНТ ПОКРИТТЯ --- */
 
 
 
 
.mcc-hero-link::after {
.mcc-hero-link::after {
     content: '';
     content: '';
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
     left: 0;
     left: 0;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
    /* Градієнт від прозорого (згори) до чорного (знизу) */
     background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.0) 50%);
     background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.0) 50%);
     z-index: 1.5;
 
     z-index: 1.5; /* Над зображенням, під інформацією */
 
}
}


/* --- ІНФОРМАЦІЙНИЙ БЛОК (Ім'я та Дата) --- */
 
 
 
 
.mcc-hero-info {
.mcc-hero-info {
     position: absolute;
     position: absolute;
     bottom: 10px;
     bottom: 10px;
     width: 100%;
     width: 100%;
     text-align: center;
     text-align: center;
     padding: 0 5px;
     padding: 0 5px;
     box-sizing: border-box;
     box-sizing: border-box;
     z-index: 3;
 
     z-index: 3; /* Найвищий шар */
 
}
}


.mcc-hero-nickname {
.mcc-hero-nickname {
     font-size: 14px;
     font-size: 14px;
     color: white;
     color: white;
     font-weight: bold;
     font-weight: bold;
     line-height: 1.2;
     line-height: 1.2;
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
}


.mcc-hero-date {
.mcc-hero-date {
     font-size: 14px;
     font-size: 14px;
     color: yellow;
     color: yellow;
     opacity: 0.9;
     opacity: 0.9;
     line-height: 1.2;
     line-height: 1.2;
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
     text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
/* ==================================================== */
/* СТИЛІ КАРТКИ ЧЕМПІОНА (З ГРАДІЄНТНОЮ РАМКОЮ) */
/* ==================================================== */
.mcc-champion-card {
    /* Наслідує всі властивості від .mcc-hero-card, але змінює деякі */
    border: none; /* Замінюємо border: 1px solid yellow; на градієнт */
}
/* Створюємо градієнтну рамку через псевдоелемент */
.mcc-champion-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 2px; /* Трохи більше за .mcc-hero-card (0px) для видимості рамки */
    background: linear-gradient(
        45deg,
        #FFD700 0%,
        #FFFFE0 30%,
        #FFD700 70%,
        #B8860B 100%
    );
}


/* Більш виражена тінь/світіння при наведенні на картку чемпіона */
.mcc-champion-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.7);
}
}

Версія за 22:48, 21 листопада 2025

/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
@media (max-width: 720px) {
  .r-box {
   float:none !important;
   margin-left:0 !important;
  }
  .content table {
    display:table !important;
  }
}

.overlay.search-overlay .search-content {
background-color: #18151e;
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
color: #a19ce0!important;

}

.page-Main_Page .mw-first-heading {
display: none!important;
}

.overlay.search-overlay .search-content .caption {
padding-left: 30px!important;
}

.page-list li, .topic-title-list li, .site-link-list li {
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
}


.mw-ui-icon-mf-articlesSearch {
visibility: hidden!important;
display:none!important;
background-image:none!important;
}



.header-container.header-chrome {
background-color: #18151e!important;
box-shadow: none!important;
display: none!important;
}

body {
background-color: #15151f!important;
} 

.list-thumb.list-thumb-none {
 background-color: #18151e!important;
}

.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
background-color: #18151e!important;
color: white!important;
}

.overlay.search-overlay .results {
box-shadow: none!important;
}

.minerva-header .branding-box a {
    color: #b7b4bf!important;
}

.minerva-header .branding-box {
opacity: 1.0!important;
}

.minerva-icon--menu-base20, .minerva-icon--menu {
invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}

.overlay-enabled, .mw-body {
    background-color: #15151f!important;
    color: #b7b4bf!important;
    padding-top: 20px!important;
    padding-bottom: 140px!important;
}


@media (max-width: 767px) {
    .overlay-enabled, .mw-body {
        padding-top: 20px!important;
        padding-bottom: 80px!important;
    }
}

/* .overlay-enabled, .mw-body {
 background-image: url(https://mafiacc.site/images/2/26/Background.png);
    background-repeat: no-repeat;
    background-size: contain;
background-position: center;
} */


a.new {
color: #ff7777!important;

}

a.new:hover {
color: #ff7777!important;

}

a.new:visited {
color: #ff7777!important;

}



a {
    color: #a19ce0!important;

}

a:hover {
    color: #a19ce0!important;
}

a:active {
   
}

a:focus {
   
}

a:visited {
     color: #a19ce0!important;
}


.minerva-footer {
background-color: #15151f!important;
    color: #b7b4bf!important;
    display: none!important;
}

.minerva__tab-container {
display:none!important;
}

#mw-mf-page-center {
background-color: #15151f!important;
}
.content .mw-parser-output > h2, .content .section-heading {
border-bottom: 1px solid #232b3a!important;
}



.search-box .search {
background-color: #15151f!important;
box-shadow: none!important;
border: 1px solid #232b3a!important;
color: white!important;
}

b, strong {
font-weight: 400!important;
color: #ebebeb!important;
} 

.page-actions-menu {
    box-sizing: border-box;
    border-top: 1px solid #232b3a!important;
    border-bottom: 1px solid #232b3a!important;
    margin-top: -1px;
    display: none!important; 
}

.overlay.search-overlay {
background: #15151f!important;
}

.content ul {
    list-style-type: none!important;
    padding-left: 0em!important;
}


.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!important;

}

.toc {
background-color: #18151e!important;
border: none!important;
}

.wikitable > tr > th, .wikitable > tr > td, 
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}


.wikitable > tr:nth-child(odd) > th, 
.wikitable > tr:nth-child(odd) > td, 
.wikitable > * > tr:nth-child(odd) > th, 
.wikitable > * > tr:nth-child(odd) > td {
 background-color: none;

   
}


.wikitable > tr:nth-child(even) > th, 
.wikitable > tr:nth-child(even) > td, 
.wikitable > * > tr:nth-child(even) > th, 
.wikitable > * > tr:nth-child(even) > td {

background-color: #18151e!important;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border: 1px solid rgba(255, 255, 255, 0.05)!important;
}

.wikitable {
border: none!important;
border-color: none!important;
}

.minerva-header .navigation-drawer .toggle-list__toggle {
display:none!important;
}

.minerva-user-navigation .minerva-notifications {
display:none!important;
}

.minerva-user-navigation > *:last-child {
display: none!important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
background-color: #18151e!important;
}

.content kbd, .content samp, .content code, .content pre {
border: none!important;
}

content pre {
    padding-left: 0px!important;
    padding-top: 10px!important;
    padding-right: 0px!important;
    padding-bottom: 10px!important;
}

.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {

visibility:hidden!important;
}

.page-Main_Page #page-secondary-actions a {
display:none!important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
background-image: none!important;
}



.mw-ui-icon-mf-expand {
background-image:none!important;
}

.mw-ui-icon-mf-expand:before {
    content: "+";
    color: white;
    font-size: 16p;
    font-weight: bold;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
}

.mf-icon, .mf-icon--small, .mf-icon--large {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
} 

.mf-mw-ui-icon-rotate-flip {
transform: rotate(45deg)!important;
}

.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
display:none!important;
}

body {
    color: #b7b4bf!important;

}

li.gallerybox div.thumb {
background-color: #18151e!important;
border: none!important;
}

.image-details.is-visible {
display: none!important;
}

.content table, .content .infobox {
text-align: center!important;
}

.flex__block {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: center
}

.home__blocks {
    gap: 20px;
    align-items: stretch
}

.home__block {
    align-items: stretch;
    width: 33.3333%;
    flex-direction: column
}

.home__block-inner {
    align-items: stretch;
    gap: 0px;
    flex-direction: column;
    flex-grow: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home__block-image-block {
    flex-direction: column;
    border-radius: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-image: url(https://mafiacc.site/images/d/df/Bg_03.png);
    background-size: cover;
}

.home_block-image-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://mafiacc.site/images/b/b1/Nic_01.png);
    background-size: cover;
    opacity: 0.5; /* Adjust the opacity of the background image */
    z-index: -1; /* Ensure it stays behind the text */
}


.home__block-image {
    text-align: center;
    padding-top: 20px;
}

.home__block-icon {
    width: 96px;
    height: 96px;
    display: inline-block;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.home__block-icon-1 {
    background-image: url(https://mafiacc.site/images/d/dc/Block_01.png)
}

.home__block-icon-2 {
    background-image: url(https://mafiacc.site/images/5/5f/Block_02.png)
}

.home__block-icon-3 {
    background-image: url(https://mafiacc.site/images/0/00/Block_03.png)
}

.home__block-content {
    flex-grow: 0;
    flex-direction: column;
    align-items: stretch
}

.home__block-content-inner {
    border-radius: 0px;
    background: none;
    padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    flex-grow: 0;
}

.home__block-content-title {
line-height: 1;
padding-bottom: 10px;
}



.home__block-content-inner pre {
font-family: 'Helvetica'!important;
padding: 0!important;
display: block!important;
}


.home__block-content-title  .content p {
margin: 0!important;
}

@media (max-width: 768px) {
.home__blocks {
display:block;
padding-top: 10px;
}

.home__block-content-title {
padding-bottom: 10px;
}

.home__block {
width:100%;
}

.home__block-content-inner { 
margin-bottom: 10px;
}

}

#mw-mf-viewport, #content, .header-container, .mw-body {
    background-image: url('/images/5/5b/Bg_new.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
color: white!important;
font-weight: 400!important;
}

@media (max-width: 994px) {
  .harley {
    display:none
  }
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
padding-right: 0px!important;
}


/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */

/* ==================================================== */
/* ЗАГАЛЬНІ СТИЛІ ТА UI (Без змін від вашого попереднього коду) */
/* ==================================================== */

@media (max-width: 720px) {
  .r-box { float:none !important; margin-left:0 !important; }
  .content table { display:table !important; }
}

.overlay.search-overlay .search-content {
    background-color: #18151e;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
    color: #a19ce0!important;
}

.page-Main_Page .mw-first-heading { display: none!important; }

.overlay.search-overlay .search-content .caption { padding-left: 30px!important; }

.page-list li, .topic-title-list li, .site-link-list li {
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
}

.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; }

.header-container.header-chrome {
    background-color: #18151e!important;
    box-shadow: none!important;
    display: none!important;
}

body {
    background-color: #15151f!important;
} 

.list-thumb.list-thumb-none { background-color: #18151e!important; }

.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
    background-color: #18151e!important;
    color: white!important;
}

.overlay.search-overlay .results { box-shadow: none!important; }

.minerva-header .branding-box a { color: #b7b4bf!important; }

.minerva-header .branding-box { opacity: 1.0!important; }

.minerva-icon--menu-base20, .minerva-icon--menu {
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}

.overlay-enabled, .mw-body {
    background-color: #15151f!important;
    color: #b7b4bf!important;
    padding-top: 20px!important;
    padding-bottom: 140px!important;
}

@media (max-width: 767px) {
    .overlay-enabled, .mw-body {
        padding-top: 20px!important;
        padding-bottom: 80px!important;
    }
}

a.new { color: #ff7777!important; }
a.new:hover { color: #ff7777!important; }
a.new:visited { color: #ff7777!important; }

a { color: #a19ce0!important; }
a:hover { color: #a19ce0!important; }
a:visited { color: #a19ce0!important; }

.minerva-footer {
    background-color: #15151f!important;
    color: #b7b4bf!important;
    display: none!important;
}

.minerva__tab-container { display:none!important; }

#mw-mf-page-center { background-color: #15151f!important; }

.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a!important;
}

.search-box .search {
    background-color: #15151f!important;
    box-shadow: none!important;
    border: 1px solid #232b3a!important;
    color: white!important;
}

b, strong { font-weight: 400!important; color: #ebebeb!important; } 

.page-actions-menu {
    box-sizing: border-box;
    border-top: 1px solid #232b3a!important;
    border-bottom: 1px solid #232b3a!important;
    margin-top: -1px;
    display: none!important; 
}

.overlay.search-overlay { background: #15151f!important; }

.content ul { list-style-type: none!important; padding-left: 0em!important; }

.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!important;
}

.toc { background-color: #18151e!important; border: none!important; }

.wikitable > tr > th, .wikitable > tr > td, 
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}

.wikitable > tr:nth-child(even) > th, 
.wikitable > tr:nth-child(even) > td, 
.wikitable > * > tr:nth-child(even) > th, 
.wikitable > * > tr:nth-child(even) > td {
    background-color: #18151e!important;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid rgba(255, 255, 255, 0.05)!important;
}

.wikitable { border: none!important; border-color: none!important; }

.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }

.minerva-user-navigation .minerva-notifications { display:none!important; }

.minerva-user-navigation > *:last-child { display: none!important; }

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
    background-color: #18151e!important;
    color: white!important;
    font-weight: 400!important;
    padding-right: 0px!important;
    background-image: none!important;
}

.content kbd, .content samp, .content code, .content pre { border: none!important; }

.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
    visibility:hidden!important;
    display:none!important;
}

.page-Main_Page #page-secondary-actions a { display:none!important; }

.mw-ui-icon-mf-expand { background-image:none!important; }

.mw-ui-icon-mf-expand:before {
    content: "+";
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
}

.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; } 

.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; }

body { color: #b7b4bf!important; }

li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }

.image-details.is-visible { display: none!important; }

.content table, .content .infobox { text-align: center!important; }

/* ... (Ваші стилі для flex__block, home__blocks, home__block-inner і т.д. залишаються без змін) ... */

#mw-mf-viewport, #content, .header-container, .mw-body {
    background-image: url('/images/5/5b/Bg_new.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}

/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */

/* ==================================================== */
/* ЗАГАЛЬНІ СТИЛІ ТА UI (Без змін від вашого попереднього коду) */
/* ==================================================== */

@media (max-width: 720px) {
  .r-box { float:none !important; margin-left:0 !important; }
  .content table { display:table !important; }
}

.overlay.search-overlay .search-content {
    background-color: #18151e;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
    color: #a19ce0!important;
}

.page-Main_Page .mw-first-heading { display: none!important; }

.overlay.search-overlay .search-content .caption { padding-left: 30px!important; }

.page-list li, .topic-title-list li, .site-link-list li {
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
}

.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; }

.header-container.header-chrome {
    background-color: #18151e!important;
    box-shadow: none!important;
    display: none!important;
}

body {
    background-color: #15151f!important;
} 

.list-thumb.list-thumb-none { background-color: #18151e!important; }

.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
    background-color: #18151e!important;
    color: white!important;
}

.overlay.search-overlay .results { box-shadow: none!important; }

.minerva-header .branding-box a { color: #b7b4bf!important; }

.minerva-header .branding-box { opacity: 1.0!important; }

.minerva-icon--menu-base20, .minerva-icon--menu {
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}

.overlay-enabled, .mw-body {
    background-color: #15151f!important;
    color: #b7b4bf!important;
    padding-top: 20px!important;
    padding-bottom: 140px!important;
}

@media (max-width: 767px) {
    .overlay-enabled, .mw-body {
        padding-top: 20px!important;
        padding-bottom: 80px!important;
    }
}

a.new { color: #ff7777!important; }
a.new:hover { color: #ff7777!important; }
a.new:visited { color: #ff7777!important; }

a { color: #a19ce0!important; }
a:hover { color: #a19ce0!important; }
a:visited { color: #a19ce0!important; }

.minerva-footer {
    background-color: #15151f!important;
    color: #b7b4bf!important;
    display: none!important;
}

.minerva__tab-container { display:none!important; }

#mw-mf-page-center { background-color: #15151f!important; }

.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a!important;
}

.search-box .search {
    background-color: #15151f!important;
    box-shadow: none!important;
    border: 1px solid #232b3a!important;
    color: white!important;
}

b, strong { font-weight: 400!important; color: #ebebeb!important; } 

.page-actions-menu {
    box-sizing: border-box;
    border-top: 1px solid #232b3a!important;
    border-bottom: 1px solid #232b3a!important;
    margin-top: -1px;
    display: none!important; 
}

.overlay.search-overlay { background: #15151f!important; }

.content ul { list-style-type: none!important; padding-left: 0em!important; }

.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!important;
}

.toc { background-color: #18151e!important; border: none!important; }

.wikitable > tr > th, .wikitable > tr > td, 
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}

.wikitable > tr:nth-child(even) > th, 
.wikitable > tr:nth-child(even) > td, 
.wikitable > * > tr:nth-child(even) > th, 
.wikitable > * > tr:nth-child(even) > td {
    background-color: #18151e!important;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid rgba(255, 255, 255, 0.05)!important;
}

.wikitable { border: none!important; border-color: none!important; }

.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }

.minerva-user-navigation .minerva-notifications { display:none!important; }

.minerva-user-navigation > *:last-child { display: none!important; }

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
    background-color: #18151e!important;
    color: white!important;
    font-weight: 400!important;
    padding-right: 0px!important;
    background-image: none!important;
}

.content kbd, .content samp, .content code, .content pre { border: none!important; }

.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
    visibility:hidden!important;
    display:none!important;
}

.page-Main_Page #page-secondary-actions a { display:none!important; }

.mw-ui-icon-mf-expand { background-image:none!important; }

.mw-ui-icon-mf-expand:before {
    content: "+";
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
}

.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; } 

.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; }

body { color: #b7b4bf!important; }

li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }

.image-details.is-visible { display: none!important; }

.content table, .content .infobox { text-align: center!important; }

/* ... (Ваші стилі для flex__block, home__blocks, home__block-inner і т.д. залишаються без змін) ... */

#mw-mf-viewport, #content, .header-container, .mw-body {
    background-image: url('/images/5/5b/Bg_new.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}

.mcc-heroes-list {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    list-style: none;

    padding: 0;

    margin: 20px 0;

}



.mcc-heroes-list li {

    width: 18.5%; /* 5 карток на рядок (5 * 18.5% = 92.5%. Решта - простір між ними) */

    margin-bottom: 20px;

}



/* --- СТИЛІ КАРТКИ: ОСНОВНИЙ КОНТЕЙНЕР --- */



.mcc-hero-card {

    height: 242px;

    width: 100%;

    border-radius: 0px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

    background-color: #333;

    transition: box-shadow 0.3s ease-in-out;

}



/* ---------------------------------------------------- */

/* КЛАС КАРТКИ ЧЕМПІОНА (З ГРАДІЄНТНОЮ РАМКОЮ) */

/* ---------------------------------------------------- */



.mcc-champion-card {

height: 242px;

width: 100%;

border: 1px solid yellow;

border-radius: 0px;

overflow: hidden;

position: relative;

box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

background-color: #333;

transition: box-shadow 0.3s ease-in-out;

}





.mcc-champion-card:hover {

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);

}



/* --- СТИЛІ ПОСИЛАННЯ (Контейнер вмісту) --- */



.mcc-hero-link {

    display: block;

    height: 100%;

    width: 100%;

    position: relative;

    text-decoration: none;

    color: white;

    z-index: 2; /* Вище зображення, але нижче градієнта/інфо */

    overflow: hidden;

}



/* --- ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ --- */



/* 1. SPAN контейнер: позиціонування */

.mcc-hero-card .hero-image-wiki {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 0; /* Найнижчий шар */

    overflow: hidden;

}



.mcc-champion-card .hero-image-wiki {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 0; /* Найнижчий шар */

    overflow: hidden;

}



/* 2. IMG елемент: масштабування та ефекти */

.mcc-hero-card .hero-image-wiki img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1);

    /* Анімує збільшення, фільтри та прозорість */

    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;

}



.mcc-champion-card .hero-image-wiki img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1);

    /* Анімує збільшення, фільтри та прозорість */

    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;

}



/* Анімація при наведенні: стандартне збільшення зображення */

.mcc-hero-card:hover .hero-image-wiki img {

    transform: scale(1.1);

}



/* ЕЛЕМЕНТ, ЩО АНІМУЄТЬСЯ (hero-image-wiki img) */

.mcc-champion-card .hero-image-wiki img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1); /* Початковий стан */

    

    /* ДОДАНО: Вказує, що зміна властивості transform має відбуватися плавно протягом 0.3 секунди */

    transition: transform 0.3s ease-in-out; 

}



/* СТАН ПРИ НАВЕДЕННІ (анімація) */

.mcc-champion-card:hover .hero-image-wiki img {

    /* Ця зміна тепер буде плавною завдяки transition вище */

    transform: scale(1.1);

}





.mcc-hero-link::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    /* Градієнт від прозорого (згори) до чорного (знизу) */

    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.0) 50%);

    z-index: 1.5; /* Над зображенням, під інформацією */

}





.mcc-hero-info {

    position: absolute;

    bottom: 10px;

    width: 100%;

    text-align: center;

    padding: 0 5px;

    box-sizing: border-box;

    z-index: 3; /* Найвищий шар */

}



.mcc-hero-nickname {

    font-size: 14px;

    color: white;

    font-weight: bold;

    line-height: 1.2;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);

}



.mcc-hero-date {

    font-size: 14px;

    color: yellow;

    opacity: 0.9;

    line-height: 1.2;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);

}