MediaWiki:Common.css
Увага: Після публікування слід очистити кеш браузера, щоб побачити зміни.
- Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
- Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
- Internet Explorer / Edge: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5
- Opera: натисніть Ctrl-F5
/** MediaWiki:Common.css — Mafia Closed Circle
ФІНАЛЬНА ВЕРСІЯ v3 — повністю замінює попередній файл
Адаптує MediaWiki HTML під дизайн прототипу
============================================================ */
/* ============================================================
0. ШРИФТ
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
/* ============================================================
1. БАЗОВІ СТИЛІ
============================================================ */
html {
overflow-y: scroll !important;
scrollbar-gutter: stable !important;
}
body {
background-color: #15151f !important;
background-image: url('/images/a/a1/Background_x%402x.png') !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center center !important;
background-attachment: fixed !important;
font-family: 'Manrope', sans-serif !important;
font-size: 15px !important;
color: #b7b4bf !important;
}
#mw-mf-viewport,
#mw-mf-page-center,
#content,
.mw-body {
background-color: transparent !important;
}
.overlay-enabled,
.mw-body {
background-color: #15151f !important;
color: #b7b4bf !important;
padding-bottom: 140px !important;
font-family: 'Manrope', sans-serif !important;
font-size: 15px !important;
}
@media (max-width: 767px) {
.overlay-enabled, .mw-body { padding-bottom: 80px !important; }
}
.mw-body { padding-top: 70px !important; }
@media (max-width: 767px) { .mw-body { padding-top: 60px !important; } }
/* ============================================================
2. ПОСИЛАННЯ
============================================================ */
a { color: #a19ce0 !important; }
a:hover { color: #c4bfff !important; text-decoration: underline !important; }
a:visited { color: #a19ce0 !important; }
a.new { color: #ff7777 !important; }
a.new:hover { color: #ff7777 !important; }
a.new:visited { color: #ff7777 !important; }
/* ============================================================
3. ТИПОГРАФІКА
============================================================ */
b, strong { font-weight: 600 !important; color: #ebebeb !important; }
/* Заголовки секцій — як у прототипі */
.content .mw-parser-output > h2,
.content .section-heading {
font-size: 18px !important;
font-weight: 700 !important;
color: #ebebeb !important;
border-bottom: 1px solid #232b3a !important;
padding-top: 0 !important;
padding-bottom: 10px !important;
margin-top: 48px !important;
margin-bottom: 18px !important;
scroll-margin-top: 80px !important;
}
h4 {
font-size: 11px !important;
font-weight: 700 !important;
letter-spacing: .10em !important;
text-transform: uppercase !important;
color: #b7b4bf !important;
opacity: .45 !important;
margin: 22px 0 8px !important;
}
.mw-parser-output h2, .mw-parser-output .mw-headline {
scroll-margin-top: 80px !important;
}
blockquote {
border-left: 4px solid #e74c3c !important;
border-bottom: 1px solid rgba(231,76,60,0.2) !important;
padding: 16px 20px !important;
font-family: Georgia, serif !important;
font-size: 16px !important;
font-style: italic !important;
background: rgba(231,76,60,0.04) !important;
border-radius: 2px 10px 10px 2px !important;
color: #ebebeb !important;
margin: 14px 0 !important;
}
.content hr { background-color: #232b3a !important; height: 1px !important; border: 0 !important; }
@media (max-width: 720px) { .content hr { display: none !important; } }
/* ============================================================
4. HEADER
============================================================ */
.header-container.header-chrome {
background-color: rgba(22, 20, 30, 0.92) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
border-bottom: 1px solid rgba(255,255,255,0.06) !important;
box-shadow: 0 1px 0 rgba(161,156,224,0.06) !important;
position: fixed !important;
top: 0 !important; left: 0 !important; right: 0 !important;
z-index: 1000 !important;
padding: 0 20px !important;
}
.minerva-header {
display: flex !important; align-items: center !important;
justify-content: space-between !important;
width: 100% !important; max-width: none !important;
padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important;
}
.overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; }
.minerva-header .branding-box {
display: flex !important; align-items: center !important;
gap: 12px !important; flex-shrink: 0 !important;
}
.minerva-header .branding-box a {
display: flex !important; align-items: center !important;
gap: 12px !important; text-decoration: none !important;
color: #b7b4bf !important;
}
.minerva-header .branding-box a::before {
content: '' !important; display: block !important;
width: 36px !important; height: 36px !important;
background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
background-size: contain !important; background-repeat: no-repeat !important;
background-position: center !important; flex-shrink: 0 !important;
}
.minerva-header .branding-box a span {
font-size: 17px !important; font-weight: 600 !important;
color: #fff !important; white-space: nowrap !important;
font-family: 'Manrope', sans-serif !important;
}
.minerva-header .branding-box { opacity: 1 !important; }
.minerva-header .minerva-search-form {
flex-grow: 1 !important; max-width: 380px !important; margin-left: auto !important;
}
.minerva-header .search-box { width: 100% !important; position: relative !important; }
.minerva-header .search-box .search {
width: 100% !important;
padding: 8px 16px 8px 40px !important;
border-radius: 8px !important;
background-color: rgba(24,21,30,0.8) !important;
border: 1px solid rgba(255,255,255,0.10) !important;
font-family: 'Manrope', sans-serif !important;
font-size: 14px !important;
color: #fff !important;
transition: border-color .2s !important;
}
.minerva-header .search-box .search::placeholder { color: rgba(255,255,255,0.35) !important; }
.minerva-header .search-box .search:focus { border-color: #a19ce0 !important; outline: none !important; }
.search-box .search {
background-color: rgba(24,21,30,0.8) !important;
box-shadow: none !important; border: 1px solid #232b3a !important; color: white !important;
}
.minerva-header .search-box::before {
content: '' !important; position: absolute !important; left: 12px !important; top: 50% !important;
transform: translateY(-50%) !important; width: 16px !important; height: 16px !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
background-size: contain !important; background-repeat: no-repeat !important;
z-index: 1 !important; pointer-events: none !important;
}
.minerva-header .search-box .search.minerva-icon--search { background-image: none !important; }
.minerva-header .navigation-drawer { display: none !important; }
.minerva-user-navigation { display: none !important; }
.minerva-footer { display: none !important; }
.minerva__tab-container { display: none !important; }
.page-actions-menu { display: none !important; }
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
.image-details.is-visible { display: none !important; }
#toc, .toc { display: 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 .mw-first-heading, .page-Головна_сторінка .mw-first-heading { display: none !important; }
.page-Main_Page #page-secondary-actions a, .page-Головна_сторінка #page-secondary-actions a { display: none !important; }
.minerva-icon--menu-base20, .minerva-icon--menu { filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); }
@media (max-width: 768px) {
.mobile-search-btn { display: flex; }
.heading-holder { padding-top: 40px !important; }
.minerva-header .minerva-search-form { display: none !important; }
.minerva-header #searchIcon { display: none !important; }
.header-container.header-chrome { padding: 6px 12px !important; }
.minerva-header { padding: 4px 0 !important; gap: 10px !important; }
.minerva-header .branding-box a::before { width: 28px !important; height: 28px !important; }
.minerva-header .branding-box a span { font-size: 14px !important; }
.mw-body { padding-top: 52px !important; }
}
@media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } }
/* ============================================================
5. ПОШУК — блокування overlay
============================================================ */
.overlay.search-overlay, .search-overlay {
display: none !important; visibility: hidden !important; opacity: 0 !important;
}
body.overlay-enabled, body.search-enabled {
overflow: auto !important; position: static !important; background-color: #15151f !important;
}
#searchInput { pointer-events: auto !important; cursor: text !important; }
.overlay.search-overlay .search-content {
background-color: #18151e; border-bottom: 1px solid rgba(255,255,255,0.07) !important; color: #a19ce0 !important;
}
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
background-color: #18151e !important; color: white !important; box-shadow: none !important;
}
/* ============================================================
6. LAYOUT — контент відступ від l-box
============================================================ */
@media screen and (min-width: 1000px) {
.banner-container, .minerva-anon-talk-message, .page-header-bar,
.overlay-header, .content, .overlay-content, .content-unstyled,
.pre-content, .post-content, #mw-content-text > form {
margin-left: 260px !important;
/* Права панель — відступ щоб не перекривала */
margin-right: 320px !important;
}
.page-Головна_сторінка .banner-container,
.page-Головна_сторінка .content,
.page-Головна_сторінка .pre-content,
.page-Головна_сторінка .post-content {
margin-left: auto !important; margin-right: auto !important;
max-width: 1200px !important;
padding-left: 20px !important; padding-right: 20px !important;
}
/* Сторінки без r-box — прибираємо правий відступ */
.page-Ігри .content, .page-Статистика .content, .page-Гравці .content,
.page-Фундація .content, .page-Призовий_фонд .content,
.page-Призові .content, .page-Фіналіст .content,
.page-Титули .content, .page-Період .content,
.page-Перша_статистика .content {
margin-left: 16px !important; margin-right: 16px !important;
width: calc(100% - 32px) !important; max-width: none !important;
}
}
/* Media overlay */
.mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay {
display: block !important; visibility: visible !important; opacity: 1 !important;
pointer-events: auto !important; position: fixed !important; left: 0 !important;
}
/* ============================================================
7. L-BOX — БІЧНЕ МЕНЮ (прикріплене зліва)
============================================================ */
.l-box {
position: fixed !important;
top: 0 !important;
left: 0 !important;
bottom: 0 !important;
width: 240px !important;
background: rgba(15,14,22,0.88) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
border-right: 1px solid rgba(255,255,255,0.07) !important;
padding-top: 80px !important;
font-size: 13.5px !important;
z-index: 100 !important;
overflow-y: auto !important;
max-height: none !important;
border-radius: 0 !important;
}
.l-box-item {
display: flex !important;
align-items: center !important;
padding: 10px 20px !important;
border-left: 3px solid transparent !important;
border-bottom: 1px solid rgba(255,255,255,0.04) !important;
color: #8ab4f8 !important;
cursor: pointer !important;
transition: all 0.14s !important;
font-family: 'Manrope', sans-serif !important;
font-size: 13.5px !important;
font-weight: 500 !important;
user-select: none !important;
}
.l-box-item span:first-child { flex: 1 !important; }
.l-box-item:hover {
background: rgba(55,55,82,0.8) !important;
border-left-color: rgba(138,180,248,0.4) !important;
color: #ffffff !important;
}
.l-box-item.active {
background: rgba(55,55,82,0.9) !important;
border-left-color: #8ab4f8 !important;
color: #ffffff !important;
font-weight: 600 !important;
}
.l-box-item-last { border-bottom: none !important; }
/* Badge */
.mcc-badge {
background: rgba(210,130,60,0.18) !important;
border-radius: 20px !important;
padding: 1px 7px !important;
font-size: 10.5px !important;
color: #d4895a !important;
font-weight: 700 !important;
flex-shrink: 0 !important;
margin-left: 6px !important;
}
@media (max-width: 1400px) { .l-box { display: none !important; } }
/* ============================================================
8. R-BOX — ПРАВА ПАНЕЛЬ (прикріплена праворуч)
============================================================ */
.r-box,
.tournament-box,
.series-box {
position: fixed !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
width: 300px !important;
max-height: none !important;
overflow-y: auto !important;
box-sizing: border-box !important;
padding: 0 !important;
background: rgba(15,14,22,0.88) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
border-left: 1px solid rgba(255,255,255,0.07) !important;
border-radius: 0 !important;
z-index: 100 !important;
}
/* Фото у r-box */
.r-box figure,
.tournament-box figure,
.series-box figure { margin: 0 !important; display: block !important; }
.r-box figure img,
.tournament-box figure img,
.series-box figure img {
width: 100% !important;
height: 200px !important;
object-fit: cover !important;
object-position: top center !important;
display: block !important;
border-radius: 0 !important;
}
/* Champion banner */
.rp-champion {
border: 1px solid rgba(255,215,0,0.20) !important;
border-radius: 6px !important;
background: rgba(255,215,0,0.06) !important;
padding: 12px 14px !important;
text-align: center !important;
margin: 12px !important;
}
.rp-ch-lbl {
font-size: 9.5px !important; font-weight: 700 !important;
letter-spacing: .13em !important; text-transform: uppercase !important;
color: #c8a840 !important; opacity: .8 !important; margin-bottom: 3px !important;
font-family: 'Manrope', sans-serif !important;
}
.rp-ch-name {
font-size: 18px !important; font-weight: 800 !important;
color: #ffd700 !important; font-family: 'Manrope', sans-serif !important;
}
/* Info таблиця */
.r-box-info-table {
width: 100% !important; border-collapse: collapse !important;
margin: 0 !important; background: none !important; text-align: left !important;
}
.r-box-info-table tr { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.r-box-info-table tr:last-child { border-bottom: none !important; }
/* ВАЖЛИВО: без анімації в info таблиці */
.r-box-info-table tr,
.r-box table tr,
.tournament-box table tr { animation: none !important; }
.r-box-info-table th,
.r-box-info-table td,
.r-box table th,
.r-box table td,
.tournament-box table th,
.tournament-box table td {
padding: 9px 14px !important;
font-size: 12.5px !important;
font-family: 'Manrope', sans-serif !important;
background: none !important;
border: none !important;
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
text-align: left !important;
animation: none !important;
}
.r-box-info-table th,
.r-box table th,
.tournament-box table th {
font-weight: 500 !important;
color: #b7b4bf !important;
opacity: .55 !important;
text-transform: none !important;
letter-spacing: 0 !important;
width: 55% !important;
white-space: nowrap !important;
}
.r-box-info-table td,
.r-box table td,
.tournament-box table td {
text-align: right !important;
color: #ebebeb !important;
font-weight: 600 !important;
width: 45% !important;
word-break: break-word !important;
}
.r-box-gold { color: #c8a840 !important; }
/* Навігація (стрілки) */
.tournament-nav, .series-nav, .player-nav, .championship-nav {
display: flex !important; justify-content: space-between !important;
align-items: center !important;
padding: 14px 16px !important;
margin: 0 !important;
font-family: 'Manrope', sans-serif !important;
background: rgba(12,11,18,0.9) !important;
border-bottom: 1px solid rgba(255,255,255,0.07) !important;
border-radius: 0 !important;
font-size: 14px !important;
}
.tournament-nav-prev, .tournament-nav-next,
.series-nav-prev, .series-nav-next,
.player-nav-prev, .player-nav-next,
.championship-nav-prev, .championship-nav-next {
font-size: 18px !important; font-weight: bold !important;
min-width: 28px !important; text-align: center !important;
}
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
color: rgba(255,255,255,0.55) !important;
text-decoration: none !important; transition: color 0.15s !important;
}
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover,
.championship-nav-prev a:hover, .championship-nav-next a:hover {
color: #fff !important;
}
.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name {
flex: 1 !important; text-align: center !important; font-weight: 700 !important;
color: white !important; font-size: 15px !important;
font-family: 'Manrope', sans-serif !important;
}
/* R-box мобільна — статична */
@media (max-width: 1200px) {
.r-box, .tournament-box, .series-box {
position: static !important;
width: 100% !important; max-width: none !important;
margin: 0 0 20px 0 !important;
border-left: none !important;
border: 1px solid rgba(255,255,255,0.07) !important;
border-radius: 8px !important;
overflow: hidden !important;
}
}
/* R-box мобільна — фото */
@media (max-width: 768px) {
.r-box figure a.mw-file-description { display: block; width: 100%; }
.r-box figure .mw-file-element, .r-box figure img {
width: 100% !important; height: auto !important;
max-height: 220px !important;
object-fit: cover !important; object-position: top center !important;
}
}
/* ============================================================
9. WIKITABLE — ОСНОВНІ СТИЛІ
============================================================ */
/* Обгортка таблиці — border + rounded corners */
.content .mw-parser-output .wikitable {
border: none !important;
border-radius: 8px !important;
border-collapse: separate !important;
border-spacing: 0 !important;
width: 100% !important;
background: rgba(20,18,28,0.6) !important;
overflow: hidden !important;
font-family: 'Manrope', sans-serif !important;
box-shadow: 0 1px 0 rgba(255,255,255,0.04) !important;
}
/* Заголовки */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.content .mw-parser-output .wikitable > tr:first-child > th {
background-color: rgba(18,16,26,0.92) !important;
color: #c8c5d0 !important;
font-family: 'Manrope', sans-serif !important;
font-size: 11px !important;
font-weight: 700 !important;
letter-spacing: .09em !important;
text-transform: uppercase !important;
padding: 11px 14px !important;
border: none !important;
border-bottom: 2px solid rgba(161,156,224,0.20) !important;
white-space: nowrap !important;
text-align: center !important;
}
/* Непарні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td {
background-color: rgba(24,21,30,0.30) !important;
}
/* Парні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(even) > td {
background-color: rgba(24,21,30,0.52) !important;
}
/* Всі td */
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > * > tr > td,
.content .mw-parser-output .wikitable > tr > td {
border: none !important;
border-bottom: 1px solid rgba(255,255,255,0.04) !important;
padding: 10px 14px !important;
font-family: 'Manrope', sans-serif !important;
font-size: 14px !important;
color: #b7b4bf !important;
vertical-align: middle !important;
text-align: center !important;
}
/* Hover рядка */
.content .mw-parser-output .wikitable > tbody > tr:hover > td,
.content .mw-parser-output .wikitable > * > tr:hover > td {
background-color: rgba(25,87,255,0.12) !important;
transition: background-color 0.12s ease !important;
}
/* Останній рядок — без бордера */
.content .mw-parser-output .wikitable > tbody > tr:last-child > td,
.content .mw-parser-output .wikitable > * > tr:last-child > td {
border-bottom: none !important;
}
/* Посилання в таблицях */
.content .mw-parser-output .wikitable td a {
color: #a19ce0 !important;
font-weight: 500 !important;
}
.content .mw-parser-output .wikitable td a:hover {
color: #c4bfff !important; text-decoration: underline !important;
}
/* External links без іконки */
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }
/* Вертикальне вирівнювання */
.content .mw-parser-output .wikitable td { vertical-align: middle !important; }
/* ============================================================
10. СОРТУВАННЯ
============================================================ */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
background-color: rgba(18,16,26,0.92) !important;
color: #c8c5d0 !important;
font-family: 'Manrope', sans-serif !important;
font-weight: 700 !important;
font-size: 11px !important;
letter-spacing: .09em !important;
text-transform: uppercase !important;
padding: 11px 14px !important;
padding-right: 24px !important;
background-image: none !important;
cursor: pointer !important;
position: relative !important;
user-select: none !important;
white-space: nowrap !important;
border-bottom: 2px solid rgba(161,156,224,0.20) !important;
text-align: center !important;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
content: "⇅" !important;
position: absolute !important;
right: 7px !important; top: 50% !important;
transform: translateY(-50%) !important;
font-size: 11px !important;
color: rgba(255,255,255,0.22) !important;
font-weight: 400 !important;
}
.jquery-tablesorter th.headerSortUp::after {
content: "▲" !important; color: #a19ce0 !important; font-size: 11px !important;
}
.jquery-tablesorter th.headerSortDown::after {
content: "▼" !important; color: #a19ce0 !important; font-size: 11px !important;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
background-color: rgba(25,87,255,0.25) !important;
transition: background-color 0.15s ease !important;
}
/* ============================================================
11. АНІМАЦІЯ РЯДКІВ
============================================================ */
.wikitable tbody tr {
animation: mcc-row-in 0.28s ease both;
}
.wikitable tbody tr:nth-child(1) { animation-delay: 0.03s; }
.wikitable tbody tr:nth-child(2) { animation-delay: 0.06s; }
.wikitable tbody tr:nth-child(3) { animation-delay: 0.09s; }
.wikitable tbody tr:nth-child(4) { animation-delay: 0.12s; }
.wikitable tbody tr:nth-child(5) { animation-delay: 0.15s; }
.wikitable tbody tr:nth-child(6) { animation-delay: 0.18s; }
.wikitable tbody tr:nth-child(7) { animation-delay: 0.21s; }
.wikitable tbody tr:nth-child(8) { animation-delay: 0.24s; }
.wikitable tbody tr:nth-child(9) { animation-delay: 0.27s; }
.wikitable tbody tr:nth-child(10) { animation-delay: 0.30s; }
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; }
/* Анімація після сортування */
.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.22s ease both; }
.wikitable.mcc-sorted tbody tr:nth-child(1) { animation-delay: 0.02s; }
.wikitable.mcc-sorted tbody tr:nth-child(2) { animation-delay: 0.04s; }
.wikitable.mcc-sorted tbody tr:nth-child(3) { animation-delay: 0.06s; }
.wikitable.mcc-sorted tbody tr:nth-child(4) { animation-delay: 0.08s; }
.wikitable.mcc-sorted tbody tr:nth-child(5) { animation-delay: 0.10s; }
.wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay: 0.12s; }
.wikitable.mcc-sorting tbody tr { animation: none; }
@keyframes mcc-row-in {
from { opacity: 0; transform: translateX(-4px); }
to { opacity: 1; transform: translateX(0); }
}
/* R-box таблиці — без анімації */
.r-box .wikitable tbody tr,
.tournament-box .wikitable tbody tr,
.r-box-info-table tr { animation: none !important; }
/* ============================================================
12. ГОРИЗОНТАЛЬНИЙ СКРОЛ — широкі таблиці
============================================================ */
/* CSS-only scroll для таблиць з класом */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width,
.content .mw-parser-output .wikitable.mcc-wide {
display: block !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
}
/* JS-обгортка */
.mcc-scroll-outer {
position: relative;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.07);
}
.mcc-scroll-outer::after {
content: '';
position: absolute; right: 0; top: 0; bottom: 0; width: 36px;
background: linear-gradient(to right, transparent, rgba(15,14,22,0.88));
pointer-events: none; transition: opacity 0.25s;
}
.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; }
.mcc-scroll-inner {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.mcc-wide-table { min-width: 860px; }
/* Сторінки зі спеціальними широкими таблицями */
.page-Ігри .mw-parser-output,
.page-Статистика .mw-parser-output,
.page-Гравці .mw-parser-output,
.page-Фундація .mw-parser-output,
.page-Призовий_фонд .mw-parser-output,
.page-Призові .mw-parser-output,
.page-Фіналіст .mw-parser-output,
.page-Титули .mw-parser-output,
.page-Період .mw-parser-output,
.page-Перша_статистика .mw-parser-output {
overflow-x: auto !important;
}
/* ============================================================
13. ВІНРЕЙТ — кольорові класи
============================================================ */
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; }
.wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; }
/* ============================================================
14. PLAYER TABS
============================================================ */
.player-tabs {
display: flex !important;
border-bottom: 2px solid rgba(255,255,255,0.08) !important;
margin-top: 20px !important;
margin-bottom: 24px !important;
gap: 0 !important;
}
.player-tab {
padding: 12px 24px !important;
cursor: pointer !important;
color: rgba(255,255,255,0.35) !important;
font-size: 14.5px !important;
font-weight: 500 !important;
font-family: 'Manrope', sans-serif !important;
border-bottom: 2px solid transparent !important;
margin-bottom: -2px !important;
transition: color 0.18s, border-color 0.18s !important;
user-select: none !important;
background: transparent !important;
}
.player-tab:hover {
color: rgba(255,255,255,0.7) !important;
background: transparent !important;
}
.player-tab.active {
color: #ffffff !important;
border-bottom-color: #a19ce0 !important;
background: transparent !important;
}
.player-tab-content { display: none !important; }
.player-tab-content.active {
display: block !important;
animation: mcc-fade-in 0.25s ease both !important;
}
@keyframes mcc-fade-in {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.tab-loader {
text-align: center; padding: 40px;
color: #888; font-size: 14px; font-family: 'Manrope', sans-serif;
}
.tab-loader::before {
content: ''; display: block; width: 28px; height: 28px;
margin: 0 auto 16px;
border: 2px solid rgba(161,156,224,0.2);
border-top-color: #a19ce0; border-radius: 50%;
animation: mcc-spin 0.8s linear infinite;
}
@keyframes mcc-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
.player-tabs { margin-top: 16px !important; margin-bottom: 16px !important; }
.player-tab { padding: 10px 16px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; }
}
/* ============================================================
15. КНОПКА ЗАПИСУ ГРИ — роль-пілюлі
============================================================ */
.game-record-btn {
display: inline-block !important;
padding: 3px 10px !important;
background-color: rgba(180,40,40,0.18) !important;
color: #e08080 !important;
border-radius: 4px !important;
font-size: 12px !important;
font-family: 'Manrope', sans-serif !important;
cursor: pointer !important;
transition: background-color 0.15s !important;
border: 1px solid rgba(200,70,70,0.25) !important;
}
.game-record-btn:hover {
background-color: rgba(180,40,40,0.35) !important; opacity: 1 !important;
}
.game-record-btn a { color: #e08080 !important; text-decoration: none !important; }
/* Ролі в таблиці ігор (FetchData генерує inline style, перебиваємо) */
/* Мирний / Шер / Маф / Дон через атрибут */
.wikitable td span[style*="color:#fff"],
.wikitable td span[style*="color: #fff"] {
background: none !important;
font-weight: 600 !important;
}
/* ============================================================
16. PROFILE LINKS — 4 квадрати повна ширина
============================================================ */
.profile-links {
margin: 0 !important;
padding: 0 !important;
border-top: 1px solid rgba(255,255,255,0.06) !important;
}
.profile-links-title { display: none !important; }
.profile-links-icons {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 0 !important;
width: 100% !important;
}
.profile-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 14px 6px !important;
border-right: 1px solid rgba(255,255,255,0.06) !important;
background: rgba(24,21,30,0.4) !important;
transition: background 0.14s !important;
cursor: pointer !important;
min-width: 0 !important;
width: auto !important;
float: none !important;
}
.profile-icon:last-child { border-right: none !important; }
.profile-icon:hover:not(.inactive) {
background: rgba(55,55,82,0.8) !important;
}
/* MediaWiki обгортки для [[File:]] */
.profile-icon a,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
}
.profile-icon img,
.profile-icon .mw-file-description img,
.profile-icon .mw-file-element {
width: 24px !important;
height: 24px !important;
max-width: 24px !important;
object-fit: contain !important;
display: block !important;
}
.profile-icon.inactive {
opacity: 0.28 !important;
pointer-events: none !important;
cursor: default !important;
}
.profile-icon.inactive img,
.profile-icon.inactive .mw-file-description img {
filter: grayscale(100%) !important;
}
/* ============================================================
17. ГОЛОВНА СТОРІНКА — БЛОКИ
============================================================ */
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
.home__block { align-items: stretch; width: 33.3333%; flex-direction: column; }
.home__block-inner { align-items: stretch; gap: 0; flex-direction: column; flex-grow: 0; border: 1px solid rgba(255,255,255,0.10); }
.home__block-image-block { flex-direction: column; background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); background-size: cover; }
.home__block-image { text-align: center; padding-top: 20px; }
.home__block-icon { width: 96px; height: 96px; display: inline-block; background-position: 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: 0; background: none; padding: 20px 20px 0; flex-grow: 0; }
.home__block-content-title { line-height: 1; padding-bottom: 10px; }
.home__block-content-inner pre { font-family: 'Manrope', sans-serif !important; padding: 0 !important; display: block !important; }
.home__block-content-title .content p { margin: 0 !important; }
.home__block-tournament-winner { border-bottom: 1px solid rgba(255,255,255,0.10); padding: 15px 20px; background: rgba(0,0,0,0.5); }
.home__block-tournament-winner span:first-child { font-weight: 500; color: #fff; }
@media (max-width: 768px) {
.home__blocks { display: block; padding-top: 10px; }
.home__block { width: 100%; }
.home__block-content-inner { margin-bottom: 10px; }
}
/* ============================================================
18. ГЕРОЇ
============================================================ */
.mcc-heroes-list { padding-top: 20px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }
.mcc-hero-card { position: relative; display: block; width: 100%; border-radius: 0; overflow: hidden; background: #1a1a2e; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.mcc-hero-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mcc-hero-card .hero-image-wiki, .mcc-hero-card .hero-image-wiki img, .mcc-hero-card .mw-file-element, .mcc-hero-card a.mw-file-description { display: block; width: 100%; height: auto; }
.mcc-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 12px 12px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); color: #fff; }
.mcc-hero-nickname { font-weight: 700; font-size: 1.1em; font-family: 'Manrope', sans-serif; }
.mcc-hero-nickname a, .mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; }
.mcc-hero-nickname a:hover { text-decoration: underline; color: #fff !important; }
.mcc-hero-nickname a.external::after, .mcc-hero-nickname a.extiw::after { content: none !important; display: none !important; }
.mcc-hero-role { color: #ffd700; font-size: 0.85em; font-weight: 600; }
.mcc-hero-date { font-size: 0.85em; opacity: 0.7; }
.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; }
.mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,0.4); }
@media (max-width: 768px) {
.mcc-heroes-list { gap: 12px; }
.mcc-heroes-list li { width: calc((100% - 12px) / 2); }
.mcc-hero-info { padding: 30px 8px 8px; }
.mcc-hero-nickname { font-size: 1em; }
.mcc-hero-date { font-size: 0.75em; }
}
/* ============================================================
19. МОБІЛЬНИЙ ПОШУК
============================================================ */
.mobile-search-btn { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.10); border-radius: 8px; cursor: pointer; margin-left: auto; flex-shrink: 0; transition: background 0.2s; }
.mobile-search-btn:hover { background: rgba(255,255,255,0.20); }
.mobile-search-btn svg { display: block; }
.mobile-search-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1001; background: rgba(21,21,31,0.98); padding: 12px; align-items: flex-start; gap: 10px; }
.mobile-search-overlay.active { display: flex; }
.mobile-search-overlay input { flex: 1; padding: 14px 16px; font-size: 16px; font-family: 'Manrope', sans-serif; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; background: #23232c; color: white; outline: none; }
.mobile-search-overlay input:focus { border-color: #a19ce0; }
.mobile-search-overlay input::placeholder { color: rgba(255,255,255,0.4); }
.mobile-search-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #888; cursor: pointer; flex-shrink: 0; border-radius: 10px; background: rgba(255,255,255,0.05); }
.mobile-search-close:hover { color: white; background: rgba(255,255,255,0.10); }
/* ============================================================
20. РІЗНЕ
============================================================ */
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
.page-list li, .topic-title-list li, .site-link-list li { border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; }
.content kbd, .content samp, .content code, .content pre { border: none !important; }
.content pre { padding: 10px 0 !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; }
@media (max-width: 994px) { .harley { display: none; } }
/* Header banner */
.header-banner { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; margin-bottom: 20px; background-image: url('/images/4/44/Searchbackground.png'); background-size: cover; background-position: center; border-radius: 8px; position: relative; min-height: 80px; }
.header-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%); border-radius: 8px; pointer-events: none; }
.header-banner__logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.header-banner__logo img { width: 50px; height: 50px; object-fit: contain; }
.header-banner__logo > span:last-child { font-size: 24px; font-weight: 700; color: #fff !important; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); white-space: nowrap; font-family: 'Manrope', sans-serif; }
.header-banner__logo a { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.header-banner__search { position: relative; z-index: 1; display: flex; }
.header-banner__search input { width: 360px; margin-right: 16px; padding: 12px 16px; font-size: 14px; font-family: 'Manrope', sans-serif; border: none; border-radius: 6px; background: #fff; color: #333; outline: none; }
.header-banner__search input:focus { box-shadow: 0 0 0 2px rgba(161,156,224,0.5); }
.header-banner__search button { padding: 12px 20px; font-size: 14px; font-weight: 600; font-family: 'Manrope', sans-serif; border: none; border-radius: 6px; background: #3b82f6; color: #fff; cursor: pointer; transition: background 0.2s; }
.header-banner__search button:hover { background: #2563eb; }
@media (max-width: 768px) {
.header-banner { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
.header-banner__search { width: 100%; }
.header-banner__search input { flex: 1; width: auto; margin-right: 0; }
.header-banner__logo > span:last-child { font-size: 16px; }
}
@media (max-width: 480px) { .header-banner__logo > span:last-child { display: none; } }
/* ============================================================
21. МОБІЛЬНА АДАПТАЦІЯ — загальна
============================================================ */
@media (max-width: 1200px) {
/* При відсутності r-box — прибираємо правий відступ */
.banner-container, .content, .pre-content, .post-content {
margin-right: 0 !important;
}
}
@media screen and (max-width: 999px) {
.banner-container, .content, .pre-content, .post-content {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
@media (max-width: 720px) {
.r-box { float: none !important; margin-left: 0 !important; }
.content table { display: table !important; }
}
/* ============================================================
ДОДАТОК — вставити в кінець Common.css
============================================================ */
/* ── ТАБЛИЦЯ — обводка навколо всієї таблиці ── */
.content .mw-parser-output .wikitable {
box-shadow: 0 0 0 1px rgba(161,156,224,0.15), 0 2px 12px rgba(0,0,0,0.3) !important;
border-radius: 8px !important;
overflow: hidden !important;
}
/* Перший th — заокруглення лівого верхнього кута */
.content .mw-parser-output .wikitable > * > tr:first-child > th:first-child {
border-radius: 8px 0 0 0 !important;
}
/* Останній th — заокруглення правого верхнього кута */
.content .mw-parser-output .wikitable > * > tr:first-child > th:last-child {
border-radius: 0 8px 0 0 !important;
}
/* ── РОЛІ В ТАБЛИЦІ ІГОР — замінюємо inline white color на пілюлі ── */
/* FetchData генерує: <span style="color:#fff;">Мир</span> */
/* Ми перебиваємо їх і додаємо pill-стиль */
.content .mw-parser-output .wikitable td span[style*="color:#fff"],
.content .mw-parser-output .wikitable td span[style*="color: #fff"],
.content .mw-parser-output .wikitable td span[style*="color:white"] {
display: inline-block !important;
padding: 2px 10px !important;
border-radius: 4px !important;
font-size: 12.5px !important;
font-weight: 600 !important;
font-family: 'Manrope', sans-serif !important;
}
/* Мирний / Шер — зелений */
.content .mw-parser-output .wikitable td span[style*="color:#fff"]:not(:empty) {
background: rgba(76,175,125,0.12) !important;
color: #7dd4a6 !important;
border: 1px solid rgba(76,175,125,0.20) !important;
}
/* ── СТАТИСТИКА НА ФОТО В R-BOX — overlay ── */
/* Додається JS, але стилі тут */
.rp-stats-overlay {
position: absolute;
bottom: 10px;
left: 0; right: 0;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 5px;
padding: 0 10px;
z-index: 2;
}
.rp-stat-box {
background: rgba(9,9,13,0.80);
backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 6px;
padding: 6px 4px;
text-align: center;
}
.rp-stat-box .rp-sv {
display: block;
font-size: 14px;
font-weight: 700;
color: #e4e1d8;
font-family: 'Manrope', sans-serif;
}
.rp-stat-box .rp-sl {
font-size: 9px;
font-weight: 700;
letter-spacing: .07em;
text-transform: uppercase;
color: #b7b4bf;
opacity: .55;
}
/* Фото позиція — треба relative для overlay */
.r-box figure { position: relative !important; }
/* ── ФІЛЬТРИ НАД ТАБЛИЦЕЮ ІГОР — JS додає, CSS стилізує ── */
.mcc-games-filters {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: flex-end;
padding: 16px 0 14px;
margin-bottom: 4px;
border-bottom: 1px solid rgba(255,255,255,0.06);
font-family: 'Manrope', sans-serif;
}
.mcc-filter-group {
display: flex;
flex-direction: column;
gap: 4px;
}
.mcc-filter-label {
font-size: 10px;
font-weight: 700;
letter-spacing: .10em;
text-transform: uppercase;
color: #b7b4bf;
opacity: .45;
}
.mcc-filter-select {
background: rgba(24,21,30,0.8);
border: 1px solid #232b3a;
color: #ebebeb;
border-radius: 6px;
padding: 7px 26px 7px 10px;
font-size: 13px;
font-family: 'Manrope', sans-serif;
cursor: pointer;
outline: none;
transition: border-color .15s;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 7px center;
}
.mcc-filter-select:focus { border-color: #a19ce0; }
.mcc-duration-group { min-width: 180px; }
.mcc-slider-wrap {
display: flex;
align-items: center;
gap: 8px;
margin-top: 1px;
}
.mcc-slider-val {
font-size: 12px;
color: #a19ce0;
min-width: 40px;
font-weight: 600;
font-family: 'Manrope', sans-serif;
}
.mcc-duration-range {
-webkit-appearance: none;
appearance: none;
width: 120px;
height: 3px;
background: #232b3a;
border-radius: 2px;
outline: none;
cursor: pointer;
background-image: linear-gradient(#a19ce0, #a19ce0);
background-size: 100% 100%;
background-repeat: no-repeat;
}
.mcc-duration-range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 13px; height: 13px;
border-radius: 50%;
background: #a19ce0;
cursor: pointer;
box-shadow: 0 0 6px rgba(161,156,224,0.4);
}
.mcc-duration-range::-moz-range-thumb {
width: 13px; height: 13px;
border: none; border-radius: 50%;
background: #a19ce0; cursor: pointer;
}
.mcc-filter-count {
margin-left: auto;
font-size: 12px;
color: #b7b4bf;
opacity: .45;
align-self: flex-end;
padding-bottom: 2px;
font-family: 'Manrope', sans-serif;
}
@media (max-width: 768px) {
.mcc-games-filters { gap: 8px; }
.mcc-duration-range { width: 90px; }
.mcc-filter-select { font-size: 12px; }
}
/* ============================================================
ФІНАЛЬНІ ФІКСИ — вставити в кінець Common.css
============================================================ */
/* ── 1. TITLE + SUBTITLE ── */
/* h1 заголовок сторінки */
h1.mw-first-heading,
.content h1.mw-first-heading {
font-size: clamp(26px, 3vw, 40px) !important;
font-weight: 800 !important;
color: #ffffff !important;
font-family: 'Manrope', sans-serif !important;
line-height: 1.1 !important;
padding-bottom: 8px !important;
margin-bottom: 4px !important;
border-bottom: none !important;
}
/* Перший абзац в контенті — підзаголовок гравця */
.content .mw-parser-output > p:first-of-type {
font-size: 13.5px !important;
color: #b7b4bf !important;
opacity: .72 !important;
line-height: 1.6 !important;
margin-top: 4px !important;
margin-bottom: 14px !important;
font-family: 'Manrope', sans-serif !important;
}
/* Heading container */
.page-header-bar { padding-bottom: 4px !important; }
/* ── 2. PLAYER TABS — значок кількості ── */
/* JS перетворює "(42)" → span.mcc-tab-cnt */
.mcc-tab-cnt {
display: inline-block;
margin-left: 6px;
background: rgba(161,156,224,0.12);
border: 1px solid rgba(161,156,224,0.22);
border-radius: 20px;
padding: 1px 8px;
font-size: 11px;
color: #a19ce0;
font-weight: 700;
vertical-align: middle;
line-height: 1.6;
}
.player-tab.active .mcc-tab-cnt {
background: rgba(161,156,224,0.18);
color: #c4bfff;
}
/* ── 3. НАВІГАЦІЯ — фікс видимості ← → ── */
/* Якщо стрілка порожня — ховаємо, не ламаємо layout */
.tournament-nav-prev:empty,
.tournament-nav-next:empty,
.series-nav-prev:empty,
.series-nav-next:empty,
.player-nav-prev:empty,
.player-nav-next:empty {
visibility: hidden !important;
pointer-events: none !important;
}
/* Стрілки більш помітні */
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
color: rgba(255,255,255,0.65) !important;
font-size: 18px !important;
font-weight: 500 !important;
padding: 4px 6px !important;
border-radius: 4px !important;
transition: all .15s !important;
}
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover {
color: #ffffff !important;
background: rgba(255,255,255,0.08) !important;
text-decoration: none !important;
}
/* ── 4. СЕЗОНИ — колір "Чемпіон" ── */
/* Клітинки з текстом "Чемпіон" в таблиці сезонів */
.wikitable td .mcc-champion {
display: inline-block;
padding: 2px 10px;
border-radius: 4px;
font-size: 12.5px;
font-weight: 700;
color: #7ab8ff;
background: rgba(91,143,255,0.10);
border: 1px solid rgba(91,143,255,0.22);
}
/* Якщо JS не встиг — ховаємо через CSS (fallback) */
/* JS додає клас через applySeasonColors() */
/* ── 5. PROFILE ICONS — 4 квадрати фікс ── */
/* Перевизначаємо жорстко */
.profile-links {
display: block !important;
border-top: 1px solid rgba(255,255,255,0.06) !important;
padding: 0 !important;
margin: 0 !important;
overflow: hidden !important;
}
.profile-links-icons {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr 1fr !important;
grid-template-rows: auto !important;
gap: 0 !important;
width: 100% !important;
float: none !important;
}
/* Кожна іконка */
.profile-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 13px 4px !important;
border-right: 1px solid rgba(255,255,255,0.06) !important;
background: rgba(22,20,30,0.5) !important;
transition: background .14s !important;
cursor: pointer !important;
min-width: 0 !important;
min-height: 0 !important;
overflow: hidden !important;
/* Знімаємо всі float/position */
float: none !important;
position: static !important;
width: auto !important;
}
.profile-icon:last-child { border-right: none !important; }
.profile-icon:hover:not(.inactive) { background: rgba(55,55,82,0.8) !important; }
/* MediaWiki обгортки [[File:]] */
.profile-icon > span,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description,
.profile-icon > a {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
height: 100% !important;
line-height: 0 !important;
}
/* Зображення іконок */
.profile-icon img,
.profile-icon .mw-file-element {
width: 22px !important;
height: 22px !important;
max-width: 22px !important;
min-width: unset !important;
object-fit: contain !important;
display: block !important;
}
.profile-icon.inactive { opacity: 0.25 !important; pointer-events: none !important; }
.profile-icon.inactive img { filter: grayscale(100%) !important; }
/* ── 6. ВИДАЛЯЄМО ТІНЬ З ТАБЛИЦЬ ── */
.content .mw-parser-output .wikitable {
box-shadow: 0 0 0 1px rgba(255,255,255,0.07) !important;
}
/* ── 7. ЗОБРАЖЕННЯ — квадратні фото гравців та сезонів ── */
/* Фото в r-box — завжди cover, не розтягується */
.r-box figure img,
.r-box figure .mw-file-element,
.tournament-box figure img,
.tournament-box figure .mw-file-element,
.series-box figure img,
.series-box figure .mw-file-element {
width: 100% !important;
height: 200px !important;
object-fit: cover !important;
object-position: top center !important;
display: block !important;
border-radius: 0 !important;
aspect-ratio: unset !important;
}
/* Якщо MediaWiki додає link-обгортку */
.r-box figure a.mw-file-description,
.tournament-box figure a.mw-file-description {
display: block !important;
width: 100% !important;
overflow: hidden !important;
height: 200px !important;
}
/* ── 8. ТАБЛИЦІ — покращення відображення ── */
/* Zebra stripes більш помітні */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td {
background-color: rgba(22,20,30,0.55) !important;
}
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
background-color: rgba(14,13,22,0.70) !important;
}
/* Hover яскравіший */
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
background-color: rgba(35,80,200,0.16) !important;
}
/* Заголовки таблиці — трохи темніші та чіткіші */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.jquery-tablesorter th.headerSort {
background-color: rgba(12,11,20,0.92) !important;
border-bottom: 2px solid rgba(161,156,224,0.25) !important;
font-size: 11px !important;
letter-spacing: .10em !important;
color: #a9a6b8 !important;
}
/* Ширина r-box таблиці — менший padding */
.r-box table th, .r-box table td,
.tournament-box table th, .tournament-box table td {
padding: 8px 12px !important;
font-size: 12.5px !important;
}
/* ── 9. СЕЗОНИ В ТАБЛИЦІ ГРАВЦЯ — колір чемпіонства ── */
/* JS додає .mcc-champion до клітинки, але CSS fallback: */
.wikitable td[style*="Чемпіон"],
.wikitable td:contains("Чемпіон") {
color: #7ab8ff !important;
}