MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
 
(Не показано 57 проміжних версій цього користувача)
Рядок 1: Рядок 1:
/** MediaWiki:Common.css — Mafia Closed Circle
/** MediaWiki:Common.css — Mafia Closed Circle — ФІНАЛЬНА ВЕРСІЯ
     ФІНАЛЬНА ВЕРСІЯ v3 — повністю замінює попередній файл
     Замінює весь попередній файл повністю
    Адаптує MediaWiki HTML під дизайн прототипу
     ============================================================ */
     ============================================================ */


/* ============================================================
/* ============================================================ 0. ШРИФТ */
  0. ШРИФТ
  ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');


/* ============================================================
/* ============================================================ 1. HTML / BODY */
  1. БАЗОВІ СТИЛІ
  ============================================================ */
html {
html {
     overflow-y: scroll !important;
     overflow-y: auto !important;
     scrollbar-gutter: stable !important;
     scrollbar-gutter: auto !important;
}
}


Рядок 27: Рядок 22:
     font-size: 15px !important;
     font-size: 15px !important;
     color: #b7b4bf !important;
     color: #b7b4bf !important;
    overflow-x: hidden !important;
}
}


#mw-mf-viewport,
#mw-mf-viewport, #mw-mf-page-center, #content, .mw-body {
#mw-mf-page-center,
#content,
.mw-body {
     background-color: transparent !important;
     background-color: transparent !important;
}
}


.overlay-enabled,
.overlay-enabled, .mw-body {
.mw-body {
     background-color: #15151f !important;
     background-color: #15151f !important;
     color: #b7b4bf !important;
     color: #b7b4bf !important;
     padding-bottom: 140px !important;
     padding-bottom: 60px !important;
     font-family: 'Manrope', sans-serif !important;
     font-family: 'Manrope', sans-serif !important;
     font-size: 15px !important;
     font-size: 15px !important;
}
}
.mw-body { padding-top: 70px !important; }


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


.mw-body { padding-top: 70px !important; }
/* ============================================================ 2. ПОСИЛАННЯ */
@media (max-width: 767px) { .mw-body { padding-top: 60px !important; } }
a        { color: #a19ce0 !important; }
a:hover  { color: #c4bfff !important; text-decoration: underline !important; }
a:visited { color: #a19ce0 !important; }
a.new, a.new:hover, a.new:visited { color: #ff7777 !important; }
 
/* ============================================================ 3. ТИПОГРАФІКА */
b, strong { font-weight: 600 !important; color: #ebebeb !important; }


/* ============================================================
h1, h2, h3, h4, h5, h6,
  2. ПОСИЛАННЯ
h1.mw-first-heading,
  ============================================================ */
.mw-first-heading {
a              { color: #a19ce0 !important; }
     font-family: 'Manrope', sans-serif !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; }


/* ============================================================
h1.mw-first-heading {
  3. ТИПОГРАФІКА
    font-size: clamp(24px, 3vw, 38px) !important;
  ============================================================ */
    font-weight: 800 !important;
b, strong { font-weight: 600 !important; color: #ebebeb !important; }
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    letter-spacing: -.01em !important;
}


/* Заголовки секцій — як у прототипі */
.content .mw-parser-output > h2,
.content .mw-parser-output > h2,
.content .section-heading {
.content .section-heading {
Рядок 76: Рядок 78:
     padding-top: 0 !important;
     padding-top: 0 !important;
     padding-bottom: 10px !important;
     padding-bottom: 10px !important;
     margin-top: 48px !important;
     margin-top: 44px !important;
     margin-bottom: 18px !important;
     margin-bottom: 16px !important;
    scroll-margin-top: 80px !important;
}
 
.mw-parser-output h2, .mw-parser-output .mw-headline {
     scroll-margin-top: 80px !important;
     scroll-margin-top: 80px !important;
}
}
Рядок 88: Рядок 94:
     color: #b7b4bf !important;
     color: #b7b4bf !important;
     opacity: .45 !important;
     opacity: .45 !important;
     margin: 22px 0 8px !important;
     margin: 20px 0 8px !important;
}
 
.mw-parser-output h2, .mw-parser-output .mw-headline {
    scroll-margin-top: 80px !important;
}
}


Рядок 98: Рядок 100:
     border-left: 4px solid #e74c3c !important;
     border-left: 4px solid #e74c3c !important;
     border-bottom: 1px solid rgba(231,76,60,0.2) !important;
     border-bottom: 1px solid rgba(231,76,60,0.2) !important;
     padding: 16px 20px !important;
     padding: 14px 20px !important;
     font-family: Georgia, serif !important;
     font-family: 'Manrope', sans-serif !important;
     font-size: 16px !important;
     font-size: 15px !important;
     font-style: italic !important;
     font-style: normal !important;
     background: rgba(231,76,60,0.04) !important;
     background: rgba(231,76,60,0.04) !important;
     border-radius: 2px 10px 10px 2px !important;
     border-radius: 2px 10px 10px 2px !important;
     color: #ebebeb !important;
     color: #ebebeb !important;
     margin: 14px 0 !important;
     margin: 12px 0 !important;
    line-height: 1.7 !important;
}
}


Рядок 111: Рядок 114:
@media (max-width: 720px) { .content hr { display: none !important; } }
@media (max-width: 720px) { .content hr { display: none !important; } }


/* ============================================================
/* Підзаголовок під h1 (JS переміщує перший <p>) */
  4. HEADER
.mcc-hero-sub {
  ============================================================ */
    font-size: 13.5px !important;
    color: rgba(183,180,191,0.70) !important;
    line-height: 1.62 !important;
    margin: 4px 0 16px !important;
    font-family: 'Manrope', sans-serif !important;
    max-width: 820px !important;
    display: block !important;
}
 
/* ============================================================ 4. HEADER */
.header-container.header-chrome {
.header-container.header-chrome {
     background-color: rgba(22, 20, 30, 0.92) !important;
     background-color: rgba(22,20,30,0.92) !important;
     backdrop-filter: blur(12px) !important;
     backdrop-filter: blur(12px) !important;
     -webkit-backdrop-filter: blur(12px) !important;
     -webkit-backdrop-filter: blur(12px) !important;
     border-bottom: 1px solid rgba(255,255,255,0.06) !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;
     position: fixed !important;
     top: 0 !important; left: 0 !important; right: 0 !important;
     top: 0 !important; left: 0 !important; right: 0 !important;
Рядок 128: Рядок 139:
.minerva-header {
.minerva-header {
     display: flex !important; align-items: center !important;
     display: flex !important; align-items: center !important;
    justify-content: space-between !important;
     width: 100% !important; max-width: none !important;
     width: 100% !important; max-width: none !important;
     padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important;
     padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important;
Рядок 135: Рядок 145:
.overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; }
.overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; }


.minerva-header .branding-box {
.minerva-header .branding-box { display: flex !important; align-items: center !important; gap: 12px !important; flex-shrink: 0 !important; opacity: 1 !important; }
    display: flex !important; align-items: center !important;
    gap: 12px !important; flex-shrink: 0 !important;
}


.minerva-header .branding-box a {
.minerva-header .branding-box a {
     display: flex !important; align-items: center !important;
     display: flex !important; align-items: center !important;
     gap: 12px !important; text-decoration: none !important;
     gap: 12px !important; text-decoration: none !important; color: #b7b4bf !important;
    color: #b7b4bf !important;
}
}


.minerva-header .branding-box a::before {
.minerva-header .branding-box a::before {
     content: '' !important; display: block !important;
     content: '' !important; display: block !important; width: 36px !important; height: 36px !important;
    width: 36px !important; height: 36px !important;
     background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
     background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
     background-size: contain !important; background-repeat: no-repeat !important;
     background-size: contain !important; background-repeat: no-repeat !important;
Рядок 155: Рядок 160:


.minerva-header .branding-box a span {
.minerva-header .branding-box a span {
     font-size: 17px !important; font-weight: 600 !important;
     font-size: 17px !important; font-weight: 600 !important; color: #fff !important;
    color: #fff !important; white-space: nowrap !important;
    white-space: nowrap !important; font-family: 'Manrope', sans-serif !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 .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 { width: 100% !important; position: relative !important; }


.minerva-header .search-box .search {
.minerva-header .search-box .search {
     width: 100% !important;
     width: 100% !important; padding: 8px 16px 8px 40px !important;
    padding: 8px 16px 8px 40px !important;
     border-radius: 8px !important; background-color: rgba(24,21,30,0.8) !important;
     border-radius: 8px !important;
    background-color: rgba(24,21,30,0.8) !important;
     border: 1px solid rgba(255,255,255,0.10) !important;
     border: 1px solid rgba(255,255,255,0.10) !important;
     font-family: 'Manrope', sans-serif !important;
     font-family: 'Manrope', sans-serif !important; font-size: 14px !important; color: #fff !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::placeholder { color: rgba(255,255,255,0.35) !important; }
.minerva-header .search-box .search:focus { border-color: #a19ce0 !important; outline: none !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;
.search-box .search { background-color: rgba(24,21,30,0.8) !important; box-shadow: none !important; border: 1px solid #232b3a !important; color: white !important; }
    box-shadow: none !important; border: 1px solid #232b3a !important; color: white !important;
}


.minerva-header .search-box::before {
.minerva-header .search-box::before {
Рядок 200: Рядок 191:
.minerva-footer { display: none !important; }
.minerva-footer { display: none !important; }
.minerva__tab-container { display: none !important; }
.minerva__tab-container { display: none !important; }
.page-actions-menu { display: none !important; }
 
/* Page actions — мінімалістична панель внизу */
.page-actions-menu {
    position: fixed !important; bottom: 0 !important;
    left: 0 !important; right: 0 !important; z-index: 90 !important;
    background: rgba(10,9,16,0.96) !important;
    backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    border-bottom: none !important;
    display: flex !important; align-items: center !important;
    padding: 0 16px !important; height: 38px !important;
}
 
@media screen and (min-width: 1000px) {
    .page-actions-menu { left: 250px !important; right: 300px !important; }
}
 
.page-actions-menu__list {
    display: flex !important; align-items: center !important;
    list-style: none !important; margin: 0 !important; padding: 0 !important;
    border: none !important; gap: 0 !important;
}
 
.page-actions-menu__list-item { border: none !important; }
 
.page-actions-menu .cdx-button {
    color: rgba(255,255,255,0.28) !important; background: transparent !important;
    border: none !important; font-size: 12px !important;
    font-family: 'Manrope', sans-serif !important;
    padding: 4px 10px !important; height: 30px !important; min-height: 0 !important;
    border-radius: 4px !important; display: flex !important; align-items: center !important;
    gap: 4px !important; transition: color .15s, background .15s !important;
}
 
.page-actions-menu .cdx-button:hover {
    color: rgba(255,255,255,0.68) !important; background: rgba(255,255,255,0.06) !important;
}
 
.page-actions-menu .minerva-icon { display: none !important; }
.page-actions-menu li::before, .page-actions-menu li::after { display: none !important; }
 
.toggle-list__list {
    background: rgba(16,14,24,0.98) !important; border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 6px !important; box-shadow: 0 -8px 24px rgba(0,0,0,0.5) !important; padding: 4px !important;
}
 
.page-actions-overflow-list.toggle-list__list--drop-down { bottom: 100% !important; top: auto !important; margin-bottom: 4px !important; }
 
.toggle-list-item__anchor {
    color: rgba(255,255,255,0.65) !important; font-size: 13px !important;
    font-family: 'Manrope', sans-serif !important; padding: 7px 12px !important;
    border-radius: 4px !important; display: flex !important; align-items: center !important;
    gap: 8px !important; white-space: nowrap !important;
}
 
.toggle-list-item__anchor:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; text-decoration: none !important; }
.toggle-list-item { border: none !important; }
 
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
.image-details.is-visible { display: none !important; }
.image-details.is-visible { display: none !important; }
#toc, .toc { display: none !important; }
#toc, .toc { display: none !important; }
.content .mw-parser-output h1 .mw-editsection,
.content .mw-parser-output h1 .mw-editsection,
.content .mw-parser-output h2 .mw-editsection,
.content .mw-parser-output h2 .mw-editsection,
Рядок 210: Рядок 259:
.content .mw-parser-output h5 .mw-editsection,
.content .mw-parser-output h5 .mw-editsection,
.content .mw-parser-output h6 .mw-editsection { visibility: hidden !important; display: none !important; }
.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 .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; }
.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%); }
.minerva-icon--menu-base20, .minerva-icon--menu { filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); }


/* Mobile header */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .mobile-search-btn { display: flex; }
     .mobile-search-btn { display: flex; }
     .heading-holder { padding-top: 40px !important; }
     .heading-holder { padding-top: 40px !important; }
     .minerva-header .minerva-search-form { display: none !important; }
     .minerva-header .minerva-search-form { display: none !important; }
    .minerva-header #searchIcon { display: none !important; }
     .header-container.header-chrome { padding: 6px 12px !important; }
     .header-container.header-chrome { padding: 6px 12px !important; }
     .minerva-header { padding: 4px 0 !important; gap: 10px !important; }
     .minerva-header { padding: 4px 0 !important; gap: 10px !important; }
Рядок 225: Рядок 275:
     .mw-body { padding-top: 52px !important; }
     .mw-body { padding-top: 52px !important; }
}
}
@media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } }
@media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } }


/* ============================================================
/* ============================================================ 5. ПОШУК */
  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; }
.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; }
#searchInput { pointer-events: auto !important; cursor: text !important; }
.overlay.search-overlay .search-content {
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { background-color: #18151e !important; color: white !important; box-shadow: none !important; }
    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 */
  6. LAYOUT — контент відступ від l-box
  ============================================================ */
@media screen and (min-width: 1000px) {
@media screen and (min-width: 1000px) {
     .banner-container, .minerva-anon-talk-message, .page-header-bar,
     .banner-container, .minerva-anon-talk-message, .page-header-bar,
     .overlay-header, .content, .overlay-content, .content-unstyled,
     .overlay-header, .content, .overlay-content, .content-unstyled,
     .pre-content, .post-content, #mw-content-text > form {
     .pre-content, .post-content, #mw-content-text > form {
         margin-left: 260px !important;
         margin-left: 265px !important;
         /* Права панель — відступ щоб не перекривала */
         margin-right: 300px !important;
         margin-right: 320px !important;
         max-width: none !important;
        width: auto !important;
     }
     }


     .page-Головна_сторінка .banner-container,
     /* home page centering handled below */
    .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 — прибираємо правий відступ */
     /* Сторінки без r-box */
     .page-Ігри .content, .page-Статистика .content, .page-Гравці .content,
     .page-Ігри .content, .page-Статистика .content, .page-Гравці .content,
     .page-Фундація .content, .page-Призовий_фонд .content,
     .page-Фундація .content, .page-Призовий_фонд .content, .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;
         margin-left: 265px !important; margin-right: 20px !important;
         width: calc(100% - 32px) !important; max-width: none !important;
         width: auto !important; max-width: none !important;
    }
}
 
@media (max-width: 999px) {
    .banner-container, .content, .pre-content, .post-content {
        margin-left: 0 !important; margin-right: 0 !important;
    }
    .content, .pre-content, .post-content, .mw-parser-output {
        padding-left: 14px !important; padding-right: 14px !important;
     }
     }
}
}


/* Media overlay */
.mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay {
.mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay {
     display: block !important; visibility: visible !important; opacity: 1 !important;
     display: block !important; visibility: visible !important; opacity: 1 !important;
Рядок 283: Рядок 320:
}
}


/* ============================================================
/* ============================================================ 7. L-BOX */
  7. L-BOX — БІЧНЕ МЕНЮ (прикріплене зліва)
  ============================================================ */
.l-box {
.l-box {
     position: fixed !important;
     position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
     width: 240px !important;
     width: 240px !important;
     background: rgba(15,14,22,0.88) !important;
     background: rgba(15,14,22,0.88) !important;
     backdrop-filter: blur(10px) !important;
     backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
     border-right: 1px solid rgba(255,255,255,0.07) !important;
     border-right: 1px solid rgba(255,255,255,0.07) !important;
     padding-top: 80px !important;
     padding-top: 72px !important; font-size: 13.5px !important;
    font-size: 13.5px !important;
     z-index: 100 !important; overflow-y: auto !important;
     z-index: 100 !important;
    overflow-y: auto !important;
    max-height: none !important;
    border-radius: 0 !important;
}
}


.l-box-item {
.l-box-item {
     display: flex !important;
     display: flex !important; align-items: center !important;
    align-items: center !important;
     padding: 10px 20px !important; border-left: 3px solid transparent !important;
     padding: 10px 20px !important;
    border-left: 3px solid transparent !important;
     border-bottom: 1px solid rgba(255,255,255,0.04) !important;
     border-bottom: 1px solid rgba(255,255,255,0.04) !important;
     color: #8ab4f8 !important;
     color: #8ab4f8 !important; cursor: pointer !important;
    cursor: pointer !important;
     transition: all 0.14s !important; font-family: 'Manrope', sans-serif !important;
     transition: all 0.14s !important;
     font-size: 13.5px !important; font-weight: 500 !important; user-select: none !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 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: #fff !important; }
.l-box-item:hover {
.l-box-item.active { background: rgba(55,55,82,0.9) !important; border-left-color: #8ab4f8 !important; color: #fff !important; font-weight: 600 !important; }
    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; }
.l-box-item-last { border-bottom: none !important; }


/* Badge */
.mcc-badge {
.mcc-badge {
     background: rgba(210,130,60,0.18) !important;
     background: rgba(210,130,60,0.18) !important; border-radius: 20px !important;
    border-radius: 20px !important;
     padding: 1px 7px !important; font-size: 10.5px !important; color: #d4895a !important;
     padding: 1px 7px !important;
     font-weight: 700 !important; flex-shrink: 0 !important; margin-left: 6px !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; } }
@media (max-width: 999px) { .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;


/* ============================================================ 8. R-BOX */
.r-box, .tournament-box, .series-box {
    position: fixed !important; top: 72px !important; right: 0 !important; bottom: 0 !important;
    width: 290px !important; overflow-y: auto !important;
     background: rgba(15,14,22,0.88) !important;
     background: rgba(15,14,22,0.88) !important;
     backdrop-filter: blur(10px) !important;
     backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
     border-left: 1px solid rgba(255,255,255,0.07) !important;
     border-left: 1px solid rgba(255,255,255,0.07) !important;
     border-radius: 0 !important;
     z-index: 100 !important; padding: 0 !important; box-sizing: border-box !important;
    z-index: 100 !important;
}
}


/* Фото у r-box */
/* Nav */
.r-box figure,
.tournament-nav, .series-nav, .player-nav, .championship-nav {
.tournament-box figure,
    display: flex !important; align-items: center !important; justify-content: space-between !important;
.series-box figure { margin: 0 !important; display: block !important; }
    flex-wrap: nowrap !important; gap: 6px !important;
    padding: 12px 14px !important; margin: 0 !important;
    background: rgba(10,9,16,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    font-family: 'Manrope', sans-serif !important; font-size: 14px !important;
    position: sticky !important; top: 0 !important; z-index: 5 !important;
}


.r-box figure img,
/* Розгортаємо <p> і <pre> всередині nav через CSS */
.tournament-box figure img,
.player-nav > p, .tournament-nav > p, .series-nav > p, .championship-nav > p,
.series-box figure img {
.player-nav > pre, .tournament-nav > pre, .series-nav > pre, .championship-nav > pre {
     width: 100% !important;
     display: contents !important; margin: 0 !important; padding: 0 !important;
    height: 200px !important;
     background: none !important; border: none !important;
     object-fit: cover !important;
     white-space: normal !important; font-family: inherit !important;
    object-position: top center !important;
     display: block !important;
    border-radius: 0 !important;
}
}


/* Champion banner */
.tournament-nav-prev, .tournament-nav-next, .series-nav-prev, .series-nav-next,
.rp-champion {
.player-nav-prev, .player-nav-next, .championship-nav-prev, .championship-nav-next {
    border: 1px solid rgba(255,215,0,0.20) !important;
    min-width: 28px !important; display: flex !important; align-items: center !important; justify-content: center !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 {
.tournament-nav-prev a, .tournament-nav-next a, .series-nav-prev a, .series-nav-next a,
     font-size: 9.5px !important; font-weight: 700 !important;
.player-nav-prev a, .player-nav-next a, .championship-nav-prev a, .championship-nav-next a {
     letter-spacing: .13em !important; text-transform: uppercase !important;
     display: flex !important; align-items: center !important; justify-content: center !important;
     color: #c8a840 !important; opacity: .8 !important; margin-bottom: 3px !important;
     width: 26px !important; height: 26px !important; border-radius: 5px !important;
    font-family: 'Manrope', sans-serif !important;
     background: rgba(255,255,255,0.06) !important; color: rgba(255,255,255,0.6) !important;
    font-size: 15px !important; text-decoration: none !important; transition: all .15s !important;
}
}


.rp-ch-name {
.tournament-nav-prev a:hover, .tournament-nav-next a:hover, .series-nav-prev a:hover,
    font-size: 18px !important; font-weight: 800 !important;
.series-nav-next a:hover, .player-nav-prev a:hover, .player-nav-next a:hover {
     color: #ffd700 !important; font-family: 'Manrope', sans-serif !important;
     background: rgba(255,255,255,0.14) !important; color: #fff !important;
}
}


/* Info таблиця */
.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name {
.r-box-info-table {
     flex: 1 !important; text-align: center !important; font-weight: 700 !important;
     width: 100% !important; border-collapse: collapse !important;
     color: #fff !important; font-size: 14px !important; font-family: 'Manrope', sans-serif !important;
     margin: 0 !important; background: none !important; text-align: left !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !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; }
.r-box figure, .tournament-box figure, .series-box figure { margin: 0 !important; display: block !important; position: relative !important; }


/* ВАЖЛИВО: без анімації в info таблиці */
.r-box figure a.mw-file-description, .tournament-box figure a.mw-file-description {
.r-box-info-table tr,
    display: block !important; width: 100% !important; overflow: hidden !important; max-height: 280px !important;
.r-box table tr,
}
.tournament-box table tr { animation: none !important; }


.r-box-info-table th,
.r-box figure img, .r-box figure .mw-file-element,
.r-box-info-table td,
.tournament-box figure img, .tournament-box figure .mw-file-element {
.r-box table th,
     width: 100% !important; height: auto !important; max-height: 280px !important;
.r-box table td,
     object-fit: cover !important; object-position: top center !important; display: block !important;
.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,
/* Stats overlay */
.r-box table th,
.rp-stats-overlay {
.tournament-box table th {
     position: absolute; bottom: 8px; left: 0; right: 0;
     font-weight: 500 !important;
     display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 0 8px; z-index: 2;
    color: #b7b4bf !important;
     opacity: .55 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    width: 55% !important;
    white-space: nowrap !important;
}
}
 
.rp-stat-box {
.r-box-info-table td,
     background: rgba(9,9,13,0.82); backdrop-filter: blur(8px);
.r-box table td,
     border: 1px solid rgba(255,255,255,0.08); border-radius: 5px;
.tournament-box table td {
     padding: 5px 3px; text-align: center;
     text-align: right !important;
     color: #ebebeb !important;
    font-weight: 600 !important;
     width: 45% !important;
    word-break: break-word !important;
}
}
.rp-stat-box .rp-sv { display: block; font-size: 13px; font-weight: 700; color: #e4e1d8; font-family: 'Manrope', sans-serif; }
.rp-stat-box .rp-sl { font-size: 8.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #b7b4bf; opacity: .55; }


.r-box-gold { color: #c8a840 !important; }
/* Champion banner */
 
.rp-champion {
/* Навігація (стрілки) */
     border: 1px solid rgba(91,143,255,0.25) !important; border-radius: 6px !important;
.tournament-nav, .series-nav, .player-nav, .championship-nav {
     background: rgba(91,143,255,0.06) !important; padding: 10px 12px !important;
     display: flex !important; justify-content: space-between !important;
     text-align: center !important; margin: 10px !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;
}
}
.rp-ch-lbl { font-size: 9px !important; font-weight: 700 !important; letter-spacing: .13em !important; text-transform: uppercase !important; color: #7ab8ff !important; opacity: .75 !important; margin-bottom: 3px !important; }
.rp-ch-name { font-size: 16px !important; font-weight: 800 !important; color: #a8d4ff !important; font-family: 'Manrope', sans-serif !important; }
.rp-ch-name a, .rp-ch-name a:visited { color: #a8d4ff !important; text-decoration: none !important; }


.tournament-nav-prev, .tournament-nav-next,
/* Info таблиця */
.series-nav-prev, .series-nav-next,
.r-box-info-table { width: 100% !important; border-collapse: collapse !important; background: none !important; }
.player-nav-prev, .player-nav-next,
.r-box-info-table tr, .r-box table tr, .tournament-box table tr { border-bottom: 1px solid rgba(255,255,255,0.05) !important; animation: none !important; }
.championship-nav-prev, .championship-nav-next {
.r-box-info-table tr:last-child { border-bottom: none !important; }
    font-size: 18px !important; font-weight: bold !important;
    min-width: 28px !important; text-align: center !important;
}


.tournament-nav-prev a, .tournament-nav-next a,
.r-box-info-table th, .r-box table th, .tournament-box table th {
.series-nav-prev a, .series-nav-next a,
    padding: 4px 6px !important; font-size: 13px !important; font-family: 'Manrope', sans-serif !important;
.player-nav-prev a, .player-nav-next a,
    background: none !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
.championship-nav-prev a, .championship-nav-next a {
    font-weight: 400 !important; color: #b7b4bf !important;
    color: rgba(255,255,255,0.55) !important;
     text-align: left !important; white-space: nowrap !important;
     text-decoration: none !important; transition: color 0.15s !important;
    animation: none !important;
}
}


.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.r-box-info-table td, .r-box table td, .tournament-box table td {
.series-nav-prev a:hover, .series-nav-next a:hover,
    padding: 4px 6px !important; font-size: 13px !important; font-family: 'Manrope', sans-serif !important;
.player-nav-prev a:hover, .player-nav-next a:hover,
    background: none !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
.championship-nav-prev a:hover, .championship-nav-next a:hover {
    text-align: right !important; color: #ebebeb !important; font-weight: 600 !important;
     color: #fff !important;
     animation: none !important;
}
}


.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name {
.r-box-info-table td small { display: block !important; font-size: 10px !important; opacity: .55 !important; font-weight: 400 !important; }
    flex: 1 !important; text-align: center !important; font-weight: 700 !important;
.r-box-gold { color: #c8a840 !important; }
    color: white !important; font-size: 15px !important;
    font-family: 'Manrope', sans-serif !important;
}


/* R-box мобільна — статична */
/* Мобільний r-box */
@media (max-width: 1200px) {
@media (max-width: 1199px) {
     .r-box, .tournament-box, .series-box {
     .r-box, .tournament-box, .series-box {
        position: static !important; width: 100% !important;
        border-left: none !important; border: 1px solid rgba(255,255,255,0.07) !important;
        border-radius: 8px !important; overflow: hidden !important;
        margin: 0 0 20px 0 !important; top: auto !important;
    }
    .tournament-nav, .series-nav, .player-nav, .championship-nav {
         position: static !important;
         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 мобільна — фото */
/* ============================================================ 9. WIKITABLE */
@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 {
.content .mw-parser-output .wikitable {
     border: none !important;
     border: none !important;
     border-radius: 8px !important;
     border-radius: 6px !important;
     border-collapse: separate !important;
     border-collapse: separate !important; border-spacing: 0 !important;
    border-spacing: 0 !important;
     background: rgba(18,16,26,0.65) !important;
    width: 100% !important;
     background: rgba(20,18,28,0.6) !important;
     overflow: hidden !important;
     overflow: hidden !important;
     font-family: 'Manrope', sans-serif !important;
     font-family: 'Manrope', sans-serif !important;
     box-shadow: 0 1px 0 rgba(255,255,255,0.04) !important;
     box-shadow: 0 0 0 1px rgba(255,255,255,0.08) !important;
    width: 100% !important;
    /* НЕ задаємо table-layout — таблиця займає ширину контейнера природньо */
}
}


Рядок 552: Рядок 495:
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.content .mw-parser-output .wikitable > * > tr:first-child > 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;
     background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
    color: #c8c5d0 !important;
     font-family: 'Manrope', sans-serif !important; font-size: 11px !important;
     font-family: 'Manrope', sans-serif !important;
     font-weight: 700 !important; letter-spacing: .09em !important; text-transform: uppercase !important;
    font-size: 11px !important;
     padding: 11px 13px !important; border: none !important;
     font-weight: 700 !important;
     border-bottom: 2px solid rgba(161,156,224,0.22) !important;
    letter-spacing: .09em !important;
     white-space: nowrap !important; text-align: center !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 */
/* TD */
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > * > 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;
     border: none !important;
     padding: 10px 13px !important; font-family: 'Manrope', sans-serif !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
     font-size: 14px !important; color: #b7b4bf !important; vertical-align: middle !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;
     text-align: center !important;
}
}


/* Hover рядка */
/* Zebra */
.content .mw-parser-output .wikitable > tbody > tr:hover > td,
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td { background-color: rgba(22,20,30,0.45) !important; }
.content .mw-parser-output .wikitable > * > tr:hover > td {
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td { background-color: rgba(14,13,22,0.62) !important; }
    background-color: rgba(25,87,255,0.12) !important;
    transition: background-color 0.12s ease !important;
}


/* Останній рядок — без бордера */
/* Hover */
.content .mw-parser-output .wikitable > tbody > tr:last-child > td,
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
.content .mw-parser-output .wikitable > * > tr:last-child > td {
    background-color: rgba(25,87,255,0.13) !important; transition: background-color 0.11s !important;
    border-bottom: none !important;
}
}


/* Посилання в таблицях */
/* Останній рядок */
.content .mw-parser-output .wikitable td a {
.content .mw-parser-output .wikitable > tbody > tr:last-child > td { border-bottom: none !important; }
    color: #a19ce0 !important;
    font-weight: 500 !important;
}
.content .mw-parser-output .wikitable td a:hover {
    color: #c4bfff !important; text-decoration: underline !important;
}


/* External links без іконки */
/* Посилання */
.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; }
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }


/* Вертикальне вирівнювання */
/* ============================================================ 10. СОРТУВАННЯ */
.content .mw-parser-output .wikitable td { vertical-align: middle !important; }
 
/* ============================================================
  10. СОРТУВАННЯ
  ============================================================ */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
.jquery-tablesorter th.headerSort {
     background-color: rgba(18,16,26,0.92) !important;
     background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
    color: #c8c5d0 !important;
     font-family: 'Manrope', sans-serif !important; font-weight: 700 !important;
     font-family: 'Manrope', sans-serif !important;
     font-size: 11px !important; letter-spacing: .09em !important; text-transform: uppercase !important;
    font-weight: 700 !important;
     padding: 11px 13px 11px 13px !important; padding-right: 24px !important;
     font-size: 11px !important;
     background-image: none !important; cursor: pointer !important; position: relative !important;
    letter-spacing: .09em !important;
     user-select: none !important; white-space: nowrap !important;
    text-transform: uppercase !important;
     border-bottom: 2px solid rgba(161,156,224,0.22) !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,
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
.jquery-tablesorter th.headerSort::after {
     content: "⇅" !important;
     content: "⇅" !important; position: absolute !important; right: 7px !important; top: 50% !important;
    position: absolute !important;
     transform: translateY(-50%) !important; font-size: 11px !important; color: rgba(255,255,255,0.22) !important; font-weight: 400 !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 {
.jquery-tablesorter th.headerSortUp::after   { content: "▲" !important; color: #a19ce0 !important; }
    content: "▲" !important; color: #a19ce0 !important; font-size: 11px !important;
.jquery-tablesorter th.headerSortDown::after { content: "▼" !important; color: #a19ce0 !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,
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
.jquery-tablesorter th.headerSort:hover {
     background-color: rgba(25,87,255,0.25) !important;
     background-color: rgba(25,87,255,0.22) !important; transition: background-color 0.14s !important;
    transition: background-color 0.15s ease !important;
}
}


/* ============================================================
/* ============================================================ 11. АНІМАЦІЯ РЯДКІВ */
  11. АНІМАЦІЯ РЯДКІВ
.wikitable tbody tr { animation: mcc-row-in 0.28s ease both; }
  ============================================================ */
.wikitable tbody tr:nth-child(1)  { animation-delay:.03s }
.wikitable tbody tr {
.wikitable tbody tr:nth-child(2)  { animation-delay:.06s }
    animation: mcc-row-in 0.28s ease both;
.wikitable tbody tr:nth-child(3)  { animation-delay:.09s }
}
.wikitable tbody tr:nth-child(4)  { animation-delay:.12s }
.wikitable tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.wikitable tbody tr:nth-child(5)  { animation-delay:.15s }
.wikitable tbody tr:nth-child(2)  { animation-delay: 0.06s; }
.wikitable tbody tr:nth-child(6)  { animation-delay:.18s }
.wikitable tbody tr:nth-child(3)  { animation-delay: 0.09s; }
.wikitable tbody tr:nth-child(7)  { animation-delay:.21s }
.wikitable tbody tr:nth-child(4)  { animation-delay: 0.12s; }
.wikitable tbody tr:nth-child(8)  { animation-delay:.24s }
.wikitable tbody tr:nth-child(5)  { animation-delay: 0.15s; }
.wikitable tbody tr:nth-child(9)  { animation-delay:.27s }
.wikitable tbody tr:nth-child(6)  { animation-delay: 0.18s; }
.wikitable tbody tr:nth-child(10) { animation-delay:.30s }
.wikitable tbody tr:nth-child(7)  { animation-delay: 0.21s; }
.wikitable tbody tr:nth-child(n+11) { animation-delay:.33s }
.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 { 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(1)  { animation-delay:.02s }
.wikitable.mcc-sorted tbody tr:nth-child(2)  { animation-delay: 0.04s; }
.wikitable.mcc-sorted tbody tr:nth-child(2)  { animation-delay:.04s }
.wikitable.mcc-sorted tbody tr:nth-child(3)  { animation-delay: 0.06s; }
.wikitable.mcc-sorted tbody tr:nth-child(3)  { animation-delay:.06s }
.wikitable.mcc-sorted tbody tr:nth-child(4)  { animation-delay: 0.08s; }
.wikitable.mcc-sorted tbody tr:nth-child(4)  { animation-delay:.08s }
.wikitable.mcc-sorted tbody tr:nth-child(5)  { animation-delay: 0.10s; }
.wikitable.mcc-sorted tbody tr:nth-child(5)  { animation-delay:.10s }
.wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay: 0.12s; }
.wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay:.12s }
.wikitable.mcc-sorting tbody tr { animation: none; }
.wikitable.mcc-sorting tbody tr { animation: none; }


@keyframes mcc-row-in {
@keyframes mcc-row-in { from { opacity:0; transform:translateX(-4px); } to { opacity:1; transform:translateX(0); } }
    from { opacity: 0; transform: translateX(-4px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* R-box таблиці — без анімації */
/* R-box — без анімації */
.r-box .wikitable tbody tr,
.r-box .wikitable tbody tr, .tournament-box .wikitable tbody tr, .r-box-info-table tr { animation: none !important; }
.tournament-box .wikitable tbody tr,
.r-box-info-table tr { animation: none !important; }


/* ============================================================
/* ============================================================ 12. ГОРИЗОНТАЛЬНИЙ СКРОЛ */
  12. ГОРИЗОНТАЛЬНИЙ СКРОЛ — широкі таблиці
  ============================================================ */
 
/* CSS-only scroll для таблиць з класом */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width,
.content .mw-parser-output .wikitable.full-width,
.content .mw-parser-output .wikitable.mcc-wide {
.content .mw-parser-output .wikitable.mcc-wide {
     display: block !important;
     display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !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-scroll-outer { position: relative; border-radius: 6px; overflow: hidden; }
.mcc-scroll-outer::after { display: none !important; }
.mcc-scroll-outer.mcc-no-fade::after { display: none !important; }
.mcc-scroll-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(161,156,224,0.25) transparent; }
.mcc-scroll-inner::-webkit-scrollbar { height: 4px; }
.mcc-scroll-inner::-webkit-scrollbar-thumb { background: rgba(161,156,224,0.28); border-radius: 2px; }
.mcc-wide-table { min-width: 860px; }
.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,
.page-Титули .mw-parser-output, .page-Період .mw-parser-output,
.page-Фундація .mw-parser-output,
.page-Перша_статистика .mw-parser-output { overflow-x: auto !important; }
.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. ВІНРЕЙТ */
  13. ВІНРЕЙТ — кольорові класи
  ============================================================ */
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; }
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; }
.wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; }
.wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; }


/* ============================================================
/* ============================================================ 14. PLAYER TABS */
  14. PLAYER TABS
.player-tabs { display: flex !important; border-bottom: 2px solid rgba(255,255,255,0.08) !important; margin: 20px 0 22px !important; }
  ============================================================ */
.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 {
.player-tab {
     padding: 12px 24px !important;
     padding: 11px 22px !important; cursor: pointer !important; color: rgba(255,255,255,0.35) !important;
    cursor: pointer !important;
     font-size: 14.5px !important; font-weight: 500 !important; font-family: 'Manrope', sans-serif !important;
    color: rgba(255,255,255,0.35) !important;
     border-bottom: 2px solid transparent !important; margin-bottom: -2px !important;
     font-size: 14.5px !important;
     transition: color .18s, border-color .18s !important; user-select: none !important; background: transparent !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 {
.player-tab:hover { color: rgba(255,255,255,0.70) !important; background: transparent !important; }
    color: rgba(255,255,255,0.7) !important;
.player-tab.active { color: #fff !important; border-bottom-color: #a19ce0 !important; background: transparent !important; }
    background: transparent !important;
}


.player-tab.active {
.mcc-tab-cnt {
     color: #ffffff !important;
     display: inline-block; margin-left: 6px; background: rgba(161,156,224,0.12);
     border-bottom-color: #a19ce0 !important;
     border: 1px solid rgba(161,156,224,0.22); border-radius: 20px;
    background: transparent !important;
    padding: 1px 7px; font-size: 11px; color: #a19ce0; font-weight: 700; vertical-align: middle;
}
}
.player-tab.active .mcc-tab-cnt { background: rgba(161,156,224,0.18); color: #c4bfff; }


.player-tab-content { display: none !important; }
.player-tab-content { display: none !important; }
.player-tab-content.active {
.player-tab-content.active { display: block !important; animation: mcc-fade-in .24s ease both !important; }
    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 {
@keyframes mcc-fade-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
    text-align: center; padding: 40px;
    color: #888; font-size: 14px; font-family: 'Manrope', sans-serif;
}


.tab-loader::before {
.tab-loader { text-align:center; padding:40px; color:#888; font-size:14px; font-family:'Manrope',sans-serif; }
    content: ''; display: block; width: 28px; height: 28px;
.tab-loader::before { content:''; display:block; width:26px; height:26px; margin:0 auto 14px; border:2px solid rgba(161,156,224,0.2); border-top-color:#a19ce0; border-radius:50%; animation:mcc-spin .8s linear infinite; }
    margin: 0 auto 16px;
@keyframes mcc-spin { to { transform:rotate(360deg); } }
    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) {
@media (max-width: 768px) {
    .player-tabs { margin-top: 16px !important; margin-bottom: 16px !important; }
     .player-tab { padding: 9px 14px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; }
     .player-tab { padding: 10px 16px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; }
}
}


/* ============================================================
/* ============================================================ 15. GAME RECORD BTN */
  15. КНОПКА ЗАПИСУ ГРИ — роль-пілюлі
  ============================================================ */
.game-record-btn {
.game-record-btn {
     display: inline-block !important;
     display: inline-block !important; padding: 3px 9px !important;
    padding: 3px 10px !important;
     background-color: rgba(180,40,40,0.18) !important; color: #e08080 !important;
     background-color: rgba(180,40,40,0.18) !important;
     border-radius: 4px !important; font-size: 12px !important; border: 1px solid rgba(200,70,70,0.25) !important;
    color: #e08080 !important;
    transition: background-color .14s !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; }
.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; }
.game-record-btn a { color: #e08080 !important; text-decoration: none !important; }


/* Ролі в таблиці ігор (FetchData генерує inline style, перебиваємо) */
/* ============================================================ 16. PROFILE LINKS */
/* Мирний / Шер / Маф / Дон через атрибут */
.profile-links { margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(255,255,255,0.06) !important; overflow: hidden !important; }
.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-title { display: none !important; }
 
.profile-links-icons { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 0 !important; }
.profile-links-icons {
/* <p> яку вставляє MediaWiki */
    display: grid !important;
.profile-links-icons > p { display: contents !important; margin: 0 !important; padding: 0 !important; }
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
}


.profile-icon {
.profile-icon {
     display: flex !important;
     display: flex !important; align-items: center !important; justify-content: center !important;
    align-items: center !important;
     padding: 13px 4px !important; border-right: 1px solid rgba(255,255,255,0.06) !important;
    justify-content: center !important;
     background: rgba(22,20,30,0.5) !important; transition: background .14s !important;
     padding: 14px 6px !important;
     cursor: pointer !important; min-width: 0 !important; overflow: hidden !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
     float: none !important; position: static !important; width: auto !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:last-child { border-right: none !important; }
.profile-icon:hover:not(.inactive) { background: rgba(55,55,82,0.8) !important; }


.profile-icon:hover:not(.inactive) {
.profile-icon > span, .profile-icon span[typeof="mw:File"],
     background: rgba(55,55,82,0.8) !important;
.profile-icon .mw-file-description, .profile-icon > a {
     display: flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; line-height: 0 !important;
}
}


/* MediaWiki обгортки для [[File:]] */
.profile-icon img, .profile-icon .mw-file-element {
.profile-icon a,
     width: 22px !important; height: 22px !important; max-width: 22px !important;
.profile-icon span[typeof="mw:File"],
     object-fit: contain !important; display: block !important;
.profile-icon .mw-file-description {
     display: flex !important;
    align-items: center !important;
     justify-content: center !important;
    width: 100% !important;
}
}


.profile-icon img,
.profile-icon.inactive { opacity: 0.25 !important; pointer-events: none !important; }
.profile-icon .mw-file-description img,
.profile-icon.inactive img { filter: grayscale(100%) !important; }
.profile-icon .mw-file-element {
 
     width: 24px !important;
/* ============================================================ 17. ФІЛЬТРИ ІГОР */
     height: 24px !important;
.mcc-games-filters {
    max-width: 24px !important;
     display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
     object-fit: contain !important;
     padding: 14px 0 16px; margin-bottom: 6px;
    display: block !important;
     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; }
.profile-icon.inactive {
.mcc-filter-label { font-size: 10px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: #b7b4bf; opacity: .44; }
     opacity: 0.28 !important;
.mcc-filter-select {
     pointer-events: none !important;
     background: rgba(22,20,30,0.9); border: 1px solid #232b3a; color: #e0dce8;
     cursor: default !important;
    border-radius: 6px; padding: 7px 26px 7px 10px; font-size: 13px;
     font-family: 'Manrope', sans-serif; cursor: pointer; outline: none; transition: border-color .14s;
    -webkit-appearance: none; 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; }
.profile-icon.inactive img,
.mcc-duration-group { min-width: 170px; }
.profile-icon.inactive .mw-file-description img {
.mcc-slider-wrap { display: flex; align-items: center; gap: 8px; margin-top: 1px; }
     filter: grayscale(100%) !important;
.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: 110px; 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: 12px; height: 12px; border-radius: 50%; background: #a19ce0; cursor: pointer; }
.mcc-duration-range::-moz-range-thumb { width: 12px; height: 12px; border: none; border-radius: 50%; background: #a19ce0; cursor: pointer; }
.mcc-filter-count { margin-left: auto; font-size: 12px; color: #b7b4bf; opacity: .4; align-self: flex-end; padding-bottom: 2px; }


/* ============================================================
/* ============================================================ 18. ГОЛОВНА СТОРІНКА */
  17. ГОЛОВНА СТОРІНКА — БЛОКИ
  ============================================================ */
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
Рядок 956: Рядок 737:
}
}


/* ============================================================
/* ============================================================ 19. ГЕРОЇ */
  18. ГЕРОЇ
.mcc-heroes-list { padding-top: 0px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
  ============================================================ */
.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-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 { position: relative; display: block; width: 100%; overflow: hidden; background: #1a1a2e; transition: transform .2s, box-shadow .2s; }
.mcc-hero-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.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-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-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 { 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, .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-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-role { color: #ffd700; font-size: .85em; font-weight: 600; }
.mcc-hero-date { font-size: 0.85em; opacity: 0.7; }
.mcc-hero-date { font-size: .85em; opacity: 0.7; }
.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; }
.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); }
.mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,.4); }


@media (max-width: 768px) {
@media (max-width: 768px) {
     .mcc-heroes-list { gap: 12px; }
     .mcc-heroes-list { gap: 12px; }
     .mcc-heroes-list li { width: calc((100% - 12px) / 2); }
     .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; }
}
}


/* ============================================================
/* ============================================================ 20. МОБІЛЬНИЙ ПОШУК */
  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 .2s; }
  ============================================================ */
.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 { 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.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 { 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: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 { 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); }


/* ============================================================
/* ============================================================ 21. РІЗНЕ */
  20. РІЗНЕ
  ============================================================ */
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
Рядок 1008: Рядок 775:
.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; }
.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-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; } }
@media (max-width: 994px) { .harley { display: none; } }
@media (max-width: 720px) { .content table { display: table !important; } }


/* Header banner */
/* Header banner */
Рядок 1016: Рядок 783:
.header-banner__logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.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 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 > span:last-child { font-size: 24px; font-weight: 700; color: #fff !important; letter-spacing: 1px; font-family: 'Manrope', sans-serif; white-space: nowrap; }
.header-banner__logo a { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.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 { 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 { 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; }
.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; }
 
/* ── NAV overlap fix: ensure r-box below header ── */
@media screen and (min-width: 1200px) {
    .r-box, .tournament-box, .series-box {
        top: 72px !important;
    }
}
 
 
/* ── MOBILE IMPROVEMENTS ── */
@media (max-width: 999px) {
    /* Page title */
    h1.mw-first-heading {
        font-size: 26px !important;
        padding: 0 14px !important;
        margin-top: 10px !important;
    }
 
    .mcc-hero-sub {
        padding: 0 14px !important;
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
 
    /* Player tabs */
    .player-tabs {
        margin: 12px 14px 16px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 0 !important;
    }
    .player-tabs::-webkit-scrollbar { display: none !important; }
 
    .player-tab {
        padding: 9px 16px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
        flex: none !important;
    }
 
    /* Content padding */
    .content .mw-parser-output { padding: 0 14px !important; }
 
    /* Section headings */
    .content .mw-parser-output > h2 {
        font-size: 16px !important;
        margin-top: 32px !important;
    }
 
    /* Tables */
    .content .mw-parser-output .wikitable td,
    .content .mw-parser-output .wikitable th {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
 
    /* Game filters compact */
    .mcc-games-filters {
        padding: 10px 14px 12px !important;
        gap: 8px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .mcc-games-filters::-webkit-scrollbar { display: none !important; }
 
    .mcc-filter-select { font-size: 12.5px !important; padding: 6px 22px 6px 9px !important; }
    .mcc-filter-count { display: none !important; }
    .mcc-duration-range { width: 80px !important; }
 
    /* r-box on mobile */
    .r-box, .tournament-box, .series-box {
        margin: 14px 14px 20px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }
 
    /* Page actions bottom bar */
    .page-actions-menu {
        left: 0 !important; right: 0 !important;
    }
 
    .page-actions-menu .cdx-button span:not(.minerva-icon) {
        font-size: 11px !important;
    }
}
 
 
/* ════════════════════════════════════════
  SEASON PAGE — специфічні стилі
  ════════════════════════════════════════ */
 
/* Рейтинг: Σ (остання колонка) — жирний білий */
.content .mw-parser-output .wikitable tbody tr td:last-child {
    color: #ebebeb !important;
    font-weight: 700 !important;
}
 
/* Але тільки якщо це число (не посилання, не текст) */
.content .mw-parser-output .wikitable tbody tr td:last-child a {
    color: #a19ce0 !important;
    font-weight: 500 !important;
}
 
/* "Записи ігор" широка таблиця — без правого gap */
.mcc-scroll-outer {
    margin-right: 0 !important;
    overflow: hidden !important;
}
 
.mcc-scroll-inner {
    margin-right: 0 !important;
    padding-right: 0 !important;
}
 
/* Прибираємо градієнт-фейд повністю */
.mcc-scroll-outer::after {
    display: none !important;
    content: none !important;
}
 
/* Wide table — повна ширина без overflow */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
    margin-right: 0 !important;
}
 
/* Scrollbar стиль для wide tables */
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar {
    height: 3px !important;
}
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar-thumb,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.3) !important;
    border-radius: 2px !important;
}


@media (max-width: 768px) {
/* r-box-gold — виділяємо жовтим */
     .header-banner { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
.r-box-gold,
     .header-banner__search { width: 100%; }
.r-box-info-table td.r-box-gold {
    .header-banner__search input { flex: 1; width: auto; margin-right: 0; }
    color: #d4a843 !important;
     .header-banner__logo > span:last-child { font-size: 16px; }
    font-weight: 700 !important;
}
 
/* ══════════════════════════════════════════════
  TARGETED FIXES
  ══════════════════════════════════════════════ */
 
/* 1. H2 section titles — white */
.content .mw-parser-output > h2 .mw-headline,
.content .mw-parser-output > h2,
.content .section-heading .mw-headline {
    color: #ffffff !important;
}
 
/* 2. Remove external link icon */
.mw-parser-output a.external,
.mw-parser-output a[rel~="nofollow"] {
    background-image: none !important;
    padding-right: 0 !important;
}
.mw-parser-output a.external::after,
.mw-parser-output a[rel~="nofollow"]::after {
    content: none !important;
    display: none !important;
}
 
/* 3. Нагороди в MCC table — clean layout */
 
/* Date col */
.content .mw-parser-output .wikitable td[style*="width:80px"],
.content .mw-parser-output .wikitable td[style*="width: 80px"] {
    width: 96px !important;
    min-width: 82px !important;
    max-width: 110px !important;
    color: #9e9aab !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 11px 10px !important;
    white-space: nowrap !important;
}
 
/* Tournament name col — left aligned */
.content .mw-parser-output .wikitable td[style*="text-align:left"],
.content .mw-parser-output .wikitable td[style*="text-align: left"] {
    text-align: left !important;
    padding-left: 12px !important;
    font-size: 14px !important;
    color: #e8e5f0 !important;
}
 
/* Prize col — right aligned, white bold */
.content .mw-parser-output .wikitable td[style*="text-align:right"],
.content .mw-parser-output .wikitable td[style*="text-align: right"] {
    text-align: right !important;
    padding-right: 16px !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
 
/* Prize = 0 ₴ — muted */
/* JS will handle coloring, CSS gives base */
 
/* Medal icon in tournament table */
.content .mw-parser-output .wikitable td[style*="text-align:left"] img.mw-file-element {
    width: 18px !important;
    height: 18px !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
    opacity: .9 !important;
}
 
/* Remove Σ last-child override for awards table (it breaks prize col) */
/* Override only for tables with 3 cols (awards table) */
.content .mw-parser-output .wikitable:has(td[style*="width:80px"]) tbody tr td:last-child {
     color: #ebebeb !important;
    font-weight: 600 !important;
}
 
 
/* ══════════════════════════════════════════════
  SEASON RATING TABLE — targeted via JS-added class
  ══════════════════════════════════════════════ */
 
/* № column */
.mcc-rating-table td:first-child,
.mcc-rating-table th:first-child {
    width: 48px !important; min-width: 36px !important; max-width: 56px !important;
    padding: 10px 8px !important; text-align: center !important;
}
 
/* Пан/Пані column — left aligned */
.mcc-rating-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
.mcc-rating-table th:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
 
/* Σ column — white bold */
.mcc-rating-table td:nth-child(3) { color: #ffffff !important; font-weight: 700 !important; }
 
/* Medal badges */
.mcc-rank-1 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
     background: rgba(212,168,67,0.18) !important; border: 1.5px solid rgba(212,168,67,0.55) !important;
    color: #d4a843 !important; font-size: 12px !important; font-weight: 700 !important;
}
.mcc-rank-2 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(180,185,195,0.14) !important; border: 1.5px solid rgba(180,185,195,0.45) !important;
    color: #c0c4cc !important; font-size: 12px !important; font-weight: 700 !important;
}
.mcc-rank-3 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(192,112,72,0.16) !important; border: 1.5px solid rgba(192,112,72,0.45) !important;
    color: #c07048 !important; font-size: 12px !important; font-weight: 700 !important;
}
 
/* Games / WR extremes */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }
 
/* ══════════════════════════════════════════════
  SEASON FINAL TABLE — numbering
  ══════════════════════════════════════════════ */
.mcc-final-table td:first-child {
     width: 40px !important; text-align: center !important;
}
.mcc-final-table td:nth-child(2) {
    text-align: left !important; padding-left: 14px !important;
}
}


@media (max-width: 480px) { .header-banner__logo > span:last-child { display: none; } }
/* ══════════════════════════════════════════════
  FULL-WIDTH PAGES — 16px margins, no r-box/l-box offset
  Apply .page-mcc-fullwidth class via JS, or target by body class
  ══════════════════════════════════════════════ */


/* ============================================================
/* Pages that use full content width */
  21. МОБІЛЬНА АДАПТАЦІЯ загальна
.page-Ігри,
  ============================================================ */
.page-Статистика,
@media (max-width: 1200px) {
.page-Перша_статистика,
     /* При відсутності r-box — прибираємо правий відступ */
.page-Фіналіст,
     .banner-container, .content, .pre-content, .post-content {
.page-Сезони,
         margin-right: 0 !important;
.page-Гравці,
.page-Фундація,
.page-Призовий_фонд,
.page-Призові,
.page-Титули,
.page-Фіналіст,
.page-Період {
    /* Remove l-box offset these pages have no l-box/r-box */
}
 
@media screen and (min-width: 1000px) {
     .page-Ігри .banner-container,
    .page-Ігри .content, .page-Ігри .pre-content, .page-Ігри .post-content,
    .page-Статистика .banner-container,
    .page-Статистика .content, .page-Статистика .pre-content, .page-Статистика .post-content,
    .page-Перша_статистика .banner-container,
    .page-Перша_статистика .content, .page-Перша_статистика .pre-content, .page-Перша_статистика .post-content,
    .page-Фіналіст .banner-container,
    .page-Фіналіст .content, .page-Фіналіст .pre-content, .page-Фіналіст .post-content,
    .page-Сезони .banner-container,
    .page-Сезони .content, .page-Сезони .pre-content, .page-Сезони .post-content,
    .page-Гравці .banner-container,
    .page-Гравці .content, .page-Гравці .pre-content, .page-Гравці .post-content,
    .page-Фундація .banner-container,
    .page-Фундація .content, .page-Фундація .pre-content, .page-Фундація .post-content,
    .page-Призовий_фонд .banner-container,
    .page-Призовий_фонд .content, .page-Призовий_фонд .pre-content, .page-Призовий_фонд .post-content,
    .page-Призові .banner-container,
    .page-Призові .content, .page-Призові .pre-content, .page-Призові .post-content,
    .page-Титули .banner-container,
    .page-Титули .content, .page-Титули .pre-content, .page-Титули .post-content,
     .page-Період .banner-container,
    .page-Період .content, .page-Період .pre-content, .page-Період .post-content {
        margin-left: 16px !important;
         margin-right: 16px !important;
        max-width: none !important;
        width: auto !important;
     }
     }
}
}


@media screen and (max-width: 999px) {
@media screen and (max-width: 999px) {
     .banner-container, .content, .pre-content, .post-content {
     .page-Ігри .content, .page-Статистика .content,
         margin-left: 0 !important;
    .page-Перша_статистика .content, .page-Фіналіст .content,
         margin-right: 0 !important;
    .page-Сезони .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content,
    .page-Призові .content, .page-Титули .content,
    .page-Період .content {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
}
 
/* Tables on full-width pages */
.page-Ігри .wikitable,
.page-Статистика .wikitable,
.page-Перша_статистика .wikitable,
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    width: 100% !important;
    font-size: 13px !important;
}
 
.page-Ігри .wikitable td,
.page-Статистика .wikitable td,
.page-Перша_статистика .wikitable td,
.page-Фіналіст .wikitable td,
.page-Сезони .wikitable td,
.page-Гравці .wikitable td,
.page-Фундація .wikitable td,
.page-Призовий_фонд .wikitable td,
.page-Призові .wikitable td,
.page-Титули .wikitable td,
.page-Період .wikitable td {
    padding: 7px 8px !important;
    font-size: 13px !important;
}
 
/* № column on full-width pages */
.page-Фіналіст .wikitable td:first-child,
.page-Статистика .wikitable td:first-child,
.page-Гравці .wikitable td:first-child,
.page-Сезони .wikitable td:first-child,
.page-Фіналіст .wikitable th:first-child,
.page-Статистика .wikitable th:first-child {
    width: 52px !important; text-align: center !important;
}
 
.page-Фіналіст .wikitable td:nth-child(2),
.page-Статистика .wikitable td:nth-child(2),
.page-Гравці .wikitable td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}
 
/* ── Season final table ── */
.mcc-final-table td:first-child { width: 40px !important; text-align: center !important; }
.mcc-final-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
 
 
 
/* The actual wikitable inside scroll wrapper */
.page-Ігри .mcc-scroll-inner .wikitable,
.page-Статистика .mcc-scroll-inner .wikitable,
.page-Перша_статистика .mcc-scroll-inner .wikitable,
.page-Фіналіст .mcc-scroll-inner .wikitable,
.page-Сезони .mcc-scroll-inner .wikitable,
.page-Гравці .mcc-scroll-inner .wikitable,
.page-Фундація .mcc-scroll-inner .wikitable,
.page-Призовий_фонд .mcc-scroll-inner .wikitable,
.page-Призові .mcc-scroll-inner .wikitable,
.page-Титули .mcc-scroll-inner .wikitable,
.page-Період .mcc-scroll-inner .wikitable {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: auto !important;
}
 
/* Also without wrapper */
.page-Ігри .mw-parser-output .wikitable,
.page-Статистика .mw-parser-output .wikitable,
.page-Перша_статистика .mw-parser-output .wikitable,
.page-Фіналіст .mw-parser-output .wikitable,
.page-Сезони .mw-parser-output .wikitable,
.page-Гравці .mw-parser-output .wikitable,
.page-Фундація .mw-parser-output .wikitable,
.page-Призовий_фонд .mw-parser-output .wikitable,
.page-Призові .mw-parser-output .wikitable,
.page-Титули .mw-parser-output .wikitable,
.page-Період .mw-parser-output .wikitable {
    width: 100% !important;
    table-layout: auto !important;
    display: table !important;
}
 
 
 
 
 
 
 
/* ══════════════════════════════════════════════
  FULL-WIDTH PAGES — correct table width fix
  mw-content-text handles overflow-x
  table stays as display:table with width:100%
  ══════════════════════════════════════════════ */
 
/* Content area scrolls if table overflows */
.page-Ігри #mw-content-text,
.page-Статистика #mw-content-text,
.page-Перша_статистика #mw-content-text,
.page-Фіналіст #mw-content-text,
.page-Сезони #mw-content-text,
.page-Гравці #mw-content-text,
.page-Фундація #mw-content-text,
.page-Призовий_фонд #mw-content-text,
.page-Призові #mw-content-text,
.page-Титули #mw-content-text,
.page-Період #mw-content-text {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
 
/* Table fills parent as a proper TABLE (not block) */
.page-Ігри .wikitable,
.page-Статистика .wikitable,
.page-Перша_статистика .wikitable,
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    display: table !important;
    width: 100% !important;
    overflow-x: visible !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
}
 
/* Scrollbar style for full-width content overflow */
.page-Ігри #mw-content-text::-webkit-scrollbar,
.page-Статистика #mw-content-text::-webkit-scrollbar,
.page-Перша_статистика #mw-content-text::-webkit-scrollbar,
.page-Фіналіст #mw-content-text::-webkit-scrollbar,
.page-Гравці #mw-content-text::-webkit-scrollbar,
.page-Період #mw-content-text::-webkit-scrollbar {
    height: 4px;
}
.page-Ігри #mw-content-text::-webkit-scrollbar-thumb,
.page-Статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Перша_статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Фіналіст #mw-content-text::-webkit-scrollbar-thumb,
.page-Гравці #mw-content-text::-webkit-scrollbar-thumb,
.page-Період #mw-content-text::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.28);
    border-radius: 2px;
}
 
/* ══════════════════════════════════════════════
  SERIES CHAMPION BANNERS — variant colors
  ══════════════════════════════════════════════ */
 
/* Get Names series — green/teal */
.rp-champion--series {
    border: 1px solid rgba(90,170,130,0.30) !important;
    background: rgba(90,170,130,0.07) !important;
}
.rp-champion--series .rp-ch-lbl { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }
 
/* Closed Cups — purple/violet */
.rp-champion--closed {
    border: 1px solid rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
.rp-champion--closed .rp-ch-lbl { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }
 
/* ══════════════════════════════════════════════
  TABLE CLASSES — closedcups / rank / getnames
  Medals added by JS
  ══════════════════════════════════════════════ */
 
/* All three use same base — medals via JS */
.wikitable.closedcups td:nth-child(2),
.wikitable.rank td:nth-child(2),
.wikitable.getnames td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}
 
/* Get Names Σ column (last) — white bold */
.wikitable.getnames td:last-child {
    color: #ffffff !important;
    font-weight: 700 !important;
}
 
/* ══════════════════════════════════════════════
  ROLE PILLS — correct mafia game colors
  Мирний=red, Шериф=gold, Дон=grey, Мафія=dark grey
  ══════════════════════════════════════════════ */
 
/* Override previous green colors */
.mcc-pill-done[style*="rgb(125, 212"] {
    /* Мирний — was green, now red */
}
 
/* These are applied via JS applyRolePills — override the map in CSS via !important on span */
 
/* ══════════════════════════════════════════════
  R-BOX INFO TABLE FIXES
  ══════════════════════════════════════════════ */
.r-box-info-table th, .r-box table th, .tournament-box table th,
.series-box table th {
    padding: 4px 6px !important;
    font-size: 13px !important;
    opacity: 1 !important;
    width: auto !important;
    font-weight: 400 !important;
    color: #b7b4bf !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}
 
.r-box-info-table td, .r-box table td, .tournament-box table td,
.series-box table td {
    padding: 4px 6px !important;
    font-size: 13px !important;
    width: auto !important;
    text-align: right !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}
 
/* ══════════════════════════════════════════════
  CHAMPION BANNERS — all variants
  ══════════════════════════════════════════════ */
.rp-champion {
    margin: 10px 0 6px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(168,212,255,0.25);
    background: rgba(168,212,255,0.06);
}
.rp-champion .rp-ch-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a8d4ff;
    margin-bottom: 2px;
}
.rp-champion .rp-ch-name {
    font-size: 15px;
    font-weight: 700;
    color: #c8e4ff;
}
.rp-champion .rp-ch-name a,
.rp-champion .rp-ch-name a:visited { color: #c8e4ff; text-decoration: none; }
 
/* Series (Get Names) — green */
.rp-champion--series {
    border-color: rgba(90,170,130,0.30) !important;
    background: rgba(90,170,130,0.07) !important;
}
.rp-champion--series .rp-ch-lbl  { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }
 
/* Closed Cups — purple */
.rp-champion--closed {
    border-color: rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
.rp-champion--closed .rp-ch-lbl  { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }
 
/* ══════════════════════════════════════════════
  TABLE CLASSES — closedcups / rank / getnames
  ══════════════════════════════════════════════ */
.wikitable.closedcups td:nth-child(2),
.wikitable.rank      td:nth-child(2),
.wikitable.getnames  td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}
 
/* Get Names — Σ last col white bold */
.wikitable.getnames  td:last-child { color: #ffffff !important; font-weight: 700 !important; }
 
/* ══════════════════════════════════════════════
  RATING TABLE EXTREMES
  ══════════════════════════════════════════════ */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }
 
/* ══════════════════════════════════════════════
  TOURNAMENT FINAL — special prestige styling
  ══════════════════════════════════════════════ */
 
.tournament-final-box {
    border: 1px solid rgba(212,168,67,0.22) !important;
    background: linear-gradient(160deg, rgba(22,19,30,0.98) 0%, rgba(26,22,16,0.98) 100%) !important;
    box-shadow: 0 0 32px rgba(212,168,67,0.06), inset 0 0 0 1px rgba(212,168,67,0.10) !important;
}
 
/* Decorative top line */
.tournament-final-box::before {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212,168,67,0.20) 20%,
        rgba(212,168,67,0.55) 50%,
        rgba(212,168,67,0.20) 80%,
        transparent 100%);
}
 
/* Nav */
.tournament-final-box .tournament-nav .tournament-nav-name {
    color: #d4a843 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: .03em !important;
}
 
/* Prize pool — highlighted separately */
.tf-prize-block {
    margin: 10px 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(212,168,67,0.28);
    background: rgba(212,168,67,0.06);
}
.tf-prize-block .tf-prize-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(212,168,67,0.65);
    margin-bottom: 2px;
}
.tf-prize-block .tf-prize-val {
    font-size: 22px;
    font-weight: 800;
    color: #d4a843;
    letter-spacing: .02em;
    font-family: 'Manrope', sans-serif;
}
 
/* Podium — 3 place blocks */
.tf-podium {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 4px;
}
.tf-place {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid transparent;
}
.tf-place-1 {
    background: rgba(212,168,67,0.09);
    border-color: rgba(212,168,67,0.22);
}
.tf-place-2 {
    background: rgba(180,185,195,0.07);
    border-color: rgba(180,185,195,0.16);
}
.tf-place-3 {
    background: rgba(192,112,72,0.07);
    border-color: rgba(192,112,72,0.16);
}
.tf-place-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.tf-place-1 .tf-place-badge { background: rgba(212,168,67,0.18); border: 1.5px solid rgba(212,168,67,0.55); color: #d4a843; }
.tf-place-2 .tf-place-badge { background: rgba(180,185,195,0.14); border: 1.5px solid rgba(180,185,195,0.45); color: #c0c4cc; }
.tf-place-3 .tf-place-badge { background: rgba(192,112,72,0.16); border: 1.5px solid rgba(192,112,72,0.45); color: #c07048; }
 
.tf-place-name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: #e8e5f0;
}
.tf-place-name a, .tf-place-name a:visited { color: #a19ce0; text-decoration: none; }
.tf-place-1 .tf-place-name a, .tf-place-1 .tf-place-name a:visited { color: #d4a843; }
 
.tf-place-prize {
    font-size: 11px;
    color: rgba(212,168,67,0.65);
    font-weight: 500;
    white-space: nowrap;
}
.tf-place-1 .tf-place-prize { color: rgba(212,168,67,0.80); font-weight: 700; }
 
/* ══════════════════════════════════════════════
  HOME PAGE
  ══════════════════════════════════════════════ */
 
 
 
.mcc-home { padding-bottom: 40px; }
 
/* ── HERO ── */
.mcc-home-hero {
    position: relative;
    margin: -8px -16px 24px;
    padding: 28px 24px 20px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mcc-home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(161,156,224,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(212,168,67,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.mcc-home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    min-width: 80px;
}
.mcc-home-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #e8e5f0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.mcc-home-stat-lbl {
    font-size: 11px;
    color: rgba(161,156,224,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px;
}
.mcc-home-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
}
 
/* ── FEATURED LINKS ── */
.mcc-home-featured {
    display: grid;
    margin-top: 60px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 700px) { .mcc-home-featured { grid-template-columns: 1fr; } }
 
.mcc-home-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(18,16,26,0.65);
    text-decoration: none !important;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
    cursor: pointer;
}
.mcc-home-feat:hover {
    transform: translateY(-2px);
    background: rgba(30,26,42,0.85);
}
.mcc-home-feat--gold  { border-color: rgba(212,168,67,0.22); background: rgba(26,22,16,0.80); }
.mcc-home-feat--gold:hover { border-color: rgba(212,168,67,0.40); }
.mcc-home-feat--silver { border-color: rgba(180,185,195,0.18); }
.mcc-home-feat--accent { border-color: rgba(161,156,224,0.20); }
.mcc-home-feat:hover .mcc-home-feat--accent { border-color: rgba(161,156,224,0.35); }
 
.mcc-home-feat-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.mcc-home-feat-body { flex: 1; min-width: 0; }
.mcc-home-feat-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #e8e5f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mcc-home-feat--gold .mcc-home-feat-title { color: #d4a843; }
.mcc-home-feat-sub { font-size: 11.5px; color: rgba(180,178,196,0.55); margin-top: 2px; }
.mcc-home-feat-arrow { font-size: 16px; color: rgba(180,178,196,0.30); flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.mcc-home-feat:hover .mcc-home-feat-arrow { color: rgba(161,156,224,0.70); transform: translateX(3px); }
 
/* ── 3-COL GRID ── */
.mcc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 900px) { .mcc-home-grid { grid-template-columns: 1fr; } }
 
/* ── PANEL ── */
.mcc-home-panel {
    background: rgba(16,14,24,0.70);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
}
.mcc-home-panel--players { margin-bottom: 8px; }
 
.mcc-home-panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: background 0.15s;
}
.mcc-home-panel-hd:hover { background: rgba(0,0,0,0.2); }
.mcc-home-panel-title { font-size: 13px; font-weight: 600; color: #d4d2e0; }
.mcc-home-panel-toggle {
    font-size: 14px;
    color: #fff;
    transition: transform 0.22s;
    display: inline-block;
}
.mcc-home-panel-hd.collapsed .mcc-home-panel-toggle { transform: rotate(-90deg); }
 
.mcc-home-panel-bd {
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.22s;
    max-height: 99999px;
    opacity: 1;
}
.mcc-home-panel-bd.collapsed {
    max-height: 0 !important;
    opacity: 0;
}
 
/* ── CHAMP ROWS ── */
.mcc-home-champ-header {
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(180,178,196,0.40) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    pointer-events: none;
}
.mcc-home-champ-row {
    display: grid;
    grid-template-columns: 44px 1fr 1fr;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #d4d2e0;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.13s;
}
.mcc-home-champ-row:last-of-type { border-bottom: none; }
.mcc-home-champ-row:hover:not(.mcc-home-champ-header) { background: rgba(161,156,224,0.06); }
.mcc-home-champ-row a, .mcc-home-champ-row a:visited { color: #a19ce0; text-decoration: none; }
 
.mcc-season-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(161,156,224,0.10);
    font-size: 11px;
    font-weight: 700;
    color: #d4a843;
}
.mcc-champ-name { color: #e8e5f0; font-weight: 600; text-align: right; }
 
/* Get Names — 3 cols */
.mcc-home-panel:nth-child(2) .mcc-home-champ-row,
.mcc-home-panel:nth-child(2) .mcc-home-champ-header {
    grid-template-columns: 44px 1fr auto;
}
.mcc-home-panel:nth-child(2) .mcc-champ-name { text-align: right; font-size: 12px; }
 
 
 
.mcc-home-panel-footer {
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: right;
}
.mcc-home-panel-footer a { font-size: 12px; color: rgba(161,156,224,0.60); text-decoration: none; }
.mcc-home-panel-footer a:hover { color: #a19ce0; }
 
 
 
/* ══════════════════════════════════════════════
  PLAYER CARDS — smaller size, tighter grid
  ══════════════════════════════════════════════ */
.mcc-heroes-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 8px !important;
}
 
/* Player card inner image — smaller height */
.mcc-heroes-list .home__block-image,
.mcc-heroes-list li .home__block-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
}
 
/* Make the card li behave properly */
.mcc-heroes-list > li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}
 
/* Ensure inner block fills the li */
.mcc-heroes-list > li > * {
    width: 100% !important;
    height: 100% !important;
}
 
 
 
 
 
/* ══════════════════════════════════════════════
  HOME PAGE — correct layout (margin-left:265px stays,
  no r-box, content fills to 1340px from left)
  ══════════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
    .page-Головна_сторінка .content,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content {
         margin-left: 340px !important;
         margin-right: 340px !important;
        padding: 0 !important;
        max-width: none !important;
        width: auto !important;
        box-sizing: content-box !important;
     }
     }
}
}


@media (max-width: 720px) {
#players-panel {
     .r-box { float: none !important; margin-left: 0 !important; }
    max-height: none !important;
     .content table { display: table !important; }
    overflow: visible !important;
}
 
 
 
/* ── Closed Cups panel (3rd) — 3 cols ── */
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-row {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-header {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-champ-name {
     text-align: right !important;
    font-size: 12px !important;
    color: #e8e5f0; font-weight: 600;
}
 
/* ══════════════════════════════════════════════
  HOME HERO BANNER — full width, Фінал Року
  ══════════════════════════════════════════════ */
.mcc-home-hero-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    padding: 20px 28px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,140,40,0.30);
    background:
        linear-gradient(110deg,
            rgba(180,70,10,0.85) 0%,
            rgba(220,110,20,0.80) 30%,
            rgba(240,150,40,0.70) 55%,
            rgba(200,90,10,0.80) 80%,
            rgba(160,50,5,0.90) 100%);
    box-shadow: 0 4px 32px rgba(220,100,10,0.18), inset 0 1px 0 rgba(255,200,100,0.12);
    transition: filter 0.18s, transform 0.18s;
    text-decoration: none !important;
}
.mcc-home-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 70% 50%, rgba(255,180,60,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-hero-banner:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
 
.mcc-hero-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,220,140,0.75);
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,200,80,0.25);
    border-radius: 4px;
    padding: 3px 9px;
    white-space: nowrap;
    flex-shrink: 0;
}
 
.mcc-hero-prize {
    font-size: 26px;
    font-weight: 900;
    color: #ffe47a;
    letter-spacing: -0.02em;
    font-family: 'Manrope', sans-serif;
    text-shadow: 0 2px 12px rgba(255,160,30,0.40);
    white-space: nowrap;
    flex-shrink: 0;
}
 
.mcc-hero-champ {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,240,210,0.90);
}
.mcc-hero-champ a,
.mcc-hero-champ a:visited {
    color: #ffe47a !important;
    text-decoration: none !important;
    font-weight: 700;
}
 
.mcc-hero-arrow {
    font-size: 20px;
    color: rgba(255,200,80,0.50);
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}
.mcc-home-hero-banner:hover .mcc-hero-arrow {
    color: rgba(255,220,100,0.85);
    transform: translateX(4px);
}
 
/* ══════════════════════════════════════════════
  HOME PANEL HEADERS — neon blue gradient
  ══════════════════════════════════════════════ */
.mcc-home-panel-hd {
     position: relative;
    overflow: hidden;
}
.mcc-home-panel-hd::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 140% at 0% 50%, rgb(132 17 255 / 16%) 0%, transparent 60%), radial-gradient(ellipse 30% 80% at 100% 50%, rgb(255 44 96 / 8%) 0%, transparent 55%);
    pointer-events: none;
}
 
.mcc-home-panel-title {
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}
.mcc-home-panel-toggle {
    color: rgba(0,180,255,0.38) !important;
}
 
/* Champion names in Seasons panel — orange like prize money */
.mcc-home-grid .mcc-home-panel:nth-child(1) .mcc-champ-name {
    color: #e8e5f0; font-weight: 600;
}
}