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

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 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: scroll !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: 250px !important;
         /* Права панель — відступ щоб не перекривала */
         margin-right: 300px !important;
         margin-right: 320px !important;
         max-width: none !important;
        width: auto !important;
     }
     }


    /* Головна — центрована без відступів панелей */
     .page-Головна_сторінка .banner-container,
     .page-Головна_сторінка .banner-container,
     .page-Головна_сторінка .content,
     .page-Головна_сторінка .content,
Рядок 262: Рядок 300:
     .page-Головна_сторінка .post-content {
     .page-Головна_сторінка .post-content {
         margin-left: auto !important; margin-right: auto !important;
         margin-left: auto !important; margin-right: auto !important;
         max-width: 1200px !important;
         max-width: 960px !important;
         padding-left: 20px !important; padding-right: 20px !important;
         padding-left: 20px !important; padding-right: 20px !important;
        width: auto !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: 260px !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: Рядок 329:
}
}


/* ============================================================
/* ============================================================ 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: 56px !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: 8px 12px !important; font-size: 11.5px !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; opacity: .55 !important;
     color: rgba(255,255,255,0.55) !important;
     text-align: left !important; width: 52% !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: 8px 12px !important; font-size: 11.5px !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;
     width: 48% !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: Рядок 504:
.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;
}
}


/* Парні рядки */
/* TD */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(even) > td {
    background-color: rgba(24,21,30,0.52) !important;
}
 
/* Всі td */
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > 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 .wikitable tbody tr,
.tournament-box .wikitable tbody tr,
.r-box-info-table tr { animation: none !important; }


/* ============================================================
/* R-box без анімації */
  12. ГОРИЗОНТАЛЬНИЙ СКРОЛ широкі таблиці
.r-box .wikitable tbody tr, .tournament-box .wikitable tbody tr, .r-box-info-table tr { animation: none !important; }
  ============================================================ */


/* CSS-only scroll для таблиць з класом */
/* ============================================================ 12. ГОРИЗОНТАЛЬНИЙ СКРОЛ */
.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 { position: relative; border-radius: 6px; overflow: hidden; }
.mcc-scroll-outer::after {
.mcc-scroll-outer::after {
     content: '';
     content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 32px;
    position: absolute; right: 0; top: 0; bottom: 0; width: 36px;
     background: linear-gradient(to right, transparent, rgba(15,14,22,0.88));
     background: linear-gradient(to right, transparent, rgba(15,14,22,0.88));
     pointer-events: none; transition: opacity 0.25s;
     pointer-events: none; transition: opacity 0.2s;
}
}
.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; }
.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; }
 
.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 {
.mcc-scroll-inner::-webkit-scrollbar { height: 4px; }
    overflow-x: auto;
.mcc-scroll-inner::-webkit-scrollbar-thumb { background: rgba(161,156,224,0.28); border-radius: 2px; }
    -webkit-overflow-scrolling: touch;
}
 
.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 {
    text-align: center; padding: 40px;
    color: #888; font-size: 14px; font-family: 'Manrope', sans-serif;
}


.tab-loader::before {
@keyframes mcc-fade-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
    content: ''; display: block; width: 28px; height: 28px;
    margin: 0 auto 16px;
    border: 2px solid rgba(161,156,224,0.2);
    border-top-color: #a19ce0; border-radius: 50%;
    animation: mcc-spin 0.8s linear infinite;
}


@keyframes mcc-spin { to { transform: rotate(360deg); } }
.tab-loader { text-align:center; padding:40px; color:#888; font-size:14px; font-family:'Manrope',sans-serif; }
.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; }
@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; opacity: 1 !important;
}
}
 
.game-record-btn:hover { background-color: rgba(180,40,40,0.35) !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: Рядок 750:
}
}


/* ============================================================
/* ============================================================ 19. ГЕРОЇ */
  18. ГЕРОЇ
  ============================================================ */
.mcc-heroes-list { padding-top: 20px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list { 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: Рядок 788:
.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: Рядок 796:
.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; }
 
@media (max-width: 768px) {
    .header-banner { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
    .header-banner__search { width: 100%; }
    .header-banner__search input { flex: 1; width: auto; margin-right: 0; }
    .header-banner__logo > span:last-child { font-size: 16px; }
}
 
@media (max-width: 480px) { .header-banner__logo > span:last-child { display: none; } }
 
/* ============================================================
  21. МОБІЛЬНА АДАПТАЦІЯ — загальна
  ============================================================ */
@media (max-width: 1200px) {
    /* При відсутності r-box — прибираємо правий відступ */
    .banner-container, .content, .pre-content, .post-content {
        margin-right: 0 !important;
    }
}
 
@media screen and (max-width: 999px) {
    .banner-container, .content, .pre-content, .post-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
 
@media (max-width: 720px) {
    .r-box { float: none !important; margin-left: 0 !important; }
    .content table { display: table !important; }
}
 
/* ============================================================
  ДОДАТОК — вставити в кінець Common.css
  ============================================================ */
 
/* ── ТАБЛИЦЯ — обводка навколо всієї таблиці ── */
.content .mw-parser-output .wikitable {
    box-shadow: 0 0 0 1px rgba(161,156,224,0.15), 0 2px 12px rgba(0,0,0,0.3) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
 
/* Перший th — заокруглення лівого верхнього кута */
.content .mw-parser-output .wikitable > * > tr:first-child > th:first-child {
    border-radius: 8px 0 0 0 !important;
}
 
/* Останній th — заокруглення правого верхнього кута */
.content .mw-parser-output .wikitable > * > tr:first-child > th:last-child {
    border-radius: 0 8px 0 0 !important;
}
 
/* ── РОЛІ В ТАБЛИЦІ ІГОР — замінюємо inline white color на пілюлі ── */
 
/* FetchData генерує: <span style="color:#fff;">Мир</span> */
/* Ми перебиваємо їх і додаємо pill-стиль */
 
.content .mw-parser-output .wikitable td span[style*="color:#fff"],
.content .mw-parser-output .wikitable td span[style*="color: #fff"],
.content .mw-parser-output .wikitable td span[style*="color:white"] {
    display: inline-block !important;
    padding: 2px 10px !important;
    border-radius: 4px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    font-family: 'Manrope', sans-serif !important;
}
 
/* Мирний / Шер — зелений */
.content .mw-parser-output .wikitable td span[style*="color:#fff"]:not(:empty) {
    background: rgba(76,175,125,0.12) !important;
    color: #7dd4a6 !important;
    border: 1px solid rgba(76,175,125,0.20) !important;
}
 
/* ── СТАТИСТИКА НА ФОТО В R-BOX — overlay ── */
/* Додається JS, але стилі тут */
.rp-stats-overlay {
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding: 0 10px;
    z-index: 2;
}
 
.rp-stat-box {
    background: rgba(9,9,13,0.80);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
}
 
.rp-stat-box .rp-sv {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #e4e1d8;
    font-family: 'Manrope', sans-serif;
}
 
.rp-stat-box .rp-sl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #b7b4bf;
    opacity: .55;
}
 
/* Фото позиція — треба relative для overlay */
.r-box figure { position: relative !important; }
 
/* ── ФІЛЬТРИ НАД ТАБЛИЦЕЮ ІГОР — JS додає, CSS стилізує ── */
.mcc-games-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 16px 0 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'Manrope', sans-serif;
}
 
.mcc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.mcc-filter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #b7b4bf;
    opacity: .45;
}
 
.mcc-filter-select {
    background: rgba(24,21,30,0.8);
    border: 1px solid #232b3a;
    color: #ebebeb;
    border-radius: 6px;
    padding: 7px 26px 7px 10px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
}
 
.mcc-filter-select:focus { border-color: #a19ce0; }
 
.mcc-duration-group { min-width: 180px; }
 
.mcc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
}
 
.mcc-slider-val {
    font-size: 12px;
    color: #a19ce0;
    min-width: 40px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
}
 
.mcc-duration-range {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 3px;
    background: #232b3a;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    background-image: linear-gradient(#a19ce0, #a19ce0);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
 
.mcc-duration-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: #a19ce0;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(161,156,224,0.4);
}
 
.mcc-duration-range::-moz-range-thumb {
    width: 13px; height: 13px;
    border: none; border-radius: 50%;
    background: #a19ce0; cursor: pointer;
}
 
.mcc-filter-count {
    margin-left: auto;
    font-size: 12px;
    color: #b7b4bf;
    opacity: .45;
    align-self: flex-end;
    padding-bottom: 2px;
    font-family: 'Manrope', sans-serif;
}
 
@media (max-width: 768px) {
    .mcc-games-filters { gap: 8px; }
    .mcc-duration-range { width: 90px; }
    .mcc-filter-select { font-size: 12px; }
}
 
/* ============================================================
  ФІНАЛЬНІ ФІКСИ — вставити в кінець Common.css
  ============================================================ */
 
/* ── 1. TITLE + SUBTITLE ── */
 
/* h1 заголовок сторінки */
h1.mw-first-heading,
.content h1.mw-first-heading {
    font-size: clamp(26px, 3vw, 40px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    line-height: 1.1 !important;
    padding-bottom: 8px !important;
    margin-bottom: 4px !important;
    border-bottom: none !important;
}
 
/* Перший абзац в контенті — підзаголовок гравця */
.content .mw-parser-output > p:first-of-type {
    font-size: 13.5px !important;
    color: #b7b4bf !important;
    opacity: .72 !important;
    line-height: 1.6 !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    font-family: 'Manrope', sans-serif !important;
}
 
/* Heading container */
.page-header-bar { padding-bottom: 4px !important; }
 
/* ── 2. PLAYER TABS — значок кількості ── */
 
/* JS перетворює "(42)" → span.mcc-tab-cnt */
.mcc-tab-cnt {
    display: inline-block;
    margin-left: 6px;
    background: rgba(161,156,224,0.12);
    border: 1px solid rgba(161,156,224,0.22);
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 11px;
    color: #a19ce0;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1.6;
}
 
.player-tab.active .mcc-tab-cnt {
    background: rgba(161,156,224,0.18);
    color: #c4bfff;
}
 
/* ── 3. НАВІГАЦІЯ — фікс видимості ← → ── */
 
/* Якщо стрілка порожня — ховаємо, не ламаємо layout */
.tournament-nav-prev:empty,
.tournament-nav-next:empty,
.series-nav-prev:empty,
.series-nav-next:empty,
.player-nav-prev:empty,
.player-nav-next:empty {
    visibility: hidden !important;
    pointer-events: none !important;
}
 
/* Стрілки більш помітні */
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
    color: rgba(255,255,255,0.65) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 4px 6px !important;
    border-radius: 4px !important;
    transition: all .15s !important;
}
 
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
    text-decoration: none !important;
}
 
/* ── 4. СЕЗОНИ — колір "Чемпіон" ── */
 
/* Клітинки з текстом "Чемпіон" в таблиці сезонів */
.wikitable td .mcc-champion {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: #7ab8ff;
    background: rgba(91,143,255,0.10);
    border: 1px solid rgba(91,143,255,0.22);
}
 
/* Якщо JS не встиг — ховаємо через CSS (fallback) */
/* JS додає клас через applySeasonColors() */
 
/* ── 5. PROFILE ICONS — 4 квадрати фікс ── */
 
/* Перевизначаємо жорстко */
.profile-links {
    display: block !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}
 
.profile-links-icons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 0 !important;
    width: 100% !important;
    float: none !important;
}
 
/* Кожна іконка */
.profile-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 4px !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    background: rgba(22,20,30,0.5) !important;
    transition: background .14s !important;
    cursor: pointer !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    /* Знімаємо всі float/position */
    float: none !important;
    position: static !important;
    width: auto !important;
}
 
.profile-icon:last-child { border-right: none !important; }
.profile-icon:hover:not(.inactive) { background: rgba(55,55,82,0.8) !important; }
 
/* MediaWiki обгортки [[File:]] */
.profile-icon > span,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description,
.profile-icon > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}
 
/* Зображення іконок */
.profile-icon img,
.profile-icon .mw-file-element {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    min-width: unset !important;
    object-fit: contain !important;
    display: block !important;
}
 
.profile-icon.inactive { opacity: 0.25 !important; pointer-events: none !important; }
.profile-icon.inactive img { filter: grayscale(100%) !important; }
 
/* ── 6. ВИДАЛЯЄМО ТІНЬ З ТАБЛИЦЬ ── */
.content .mw-parser-output .wikitable {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.07) !important;
}
 
/* ── 7. ЗОБРАЖЕННЯ — квадратні фото гравців та сезонів ── */
 
/* Фото в r-box — завжди cover, не розтягується */
.r-box figure img,
.r-box figure .mw-file-element,
.tournament-box figure img,
.tournament-box figure .mw-file-element,
.series-box figure img,
.series-box figure .mw-file-element {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 0 !important;
    aspect-ratio: unset !important;
}
 
/* Якщо MediaWiki додає link-обгортку */
.r-box figure a.mw-file-description,
.tournament-box figure a.mw-file-description {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    height: 200px !important;
}
 
/* ── 8. ТАБЛИЦІ — покращення відображення ── */
 
/* Zebra stripes більш помітні */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td {
    background-color: rgba(22,20,30,0.55) !important;
}
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
    background-color: rgba(14,13,22,0.70) !important;
}
 
/* Hover яскравіший */
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
    background-color: rgba(35,80,200,0.16) !important;
}
 
/* Заголовки таблиці — трохи темніші та чіткіші */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.jquery-tablesorter th.headerSort {
    background-color: rgba(12,11,20,0.92) !important;
    border-bottom: 2px solid rgba(161,156,224,0.25) !important;
    font-size: 11px !important;
    letter-spacing: .10em !important;
    color: #a9a6b8 !important;
}
 
/* Ширина r-box таблиці — менший padding */
.r-box table th, .r-box table td,
.tournament-box table th, .tournament-box table td {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
}
 
/* ── 9. СЕЗОНИ В ТАБЛИЦІ ГРАВЦЯ — колір чемпіонства ── */
/* JS додає .mcc-champion до клітинки, але CSS fallback: */
.wikitable td[style*="Чемпіон"],
.wikitable td:contains("Чемпіон") {
    color: #7ab8ff !important;
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* 1. R-BOX — навігація не ховається під header */
.r-box,
.tournament-box,
.series-box {
    padding-top: 0 !important;
}
 
/* Nav завжди першим, не ховається */
.r-box > .player-nav:first-child,
.r-box > .tournament-nav:first-child,
.r-box > .series-nav:first-child,
.tournament-box > .tournament-nav:first-child,
.series-box > .series-nav:first-child {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    margin-top: 0 !important;
}
 
/* Фіксований r-box — top рівний висоті header */
@media screen and (min-width: 1201px) {
    .r-box,
    .tournament-box,
    .series-box {
        top: 56px !important;
        bottom: 0 !important;
        max-height: calc(100vh - 56px) !important;
    }
}
 
/* 4. ШРИФТИ — прибираємо всі serif */
h1, h2, h3, h4, h5, h6,
.mw-first-heading,
h1.mw-first-heading {
    font-family: 'Manrope', sans-serif !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
 
h1.mw-first-heading {
    font-size: clamp(24px, 3vw, 38px) !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
 
/* Section h2 */
.content .mw-parser-output > h2,
.content .section-heading {
    font-family: 'Manrope', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #e8e5f0 !important;
}
 
/* blockquote — прибираємо Georgia */
blockquote {
    font-family: 'Manrope', sans-serif !important;
    font-style: normal !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
 
/* 3. SUBTITLE — перший параграф під заголовком */
.content .mw-parser-output > p:first-of-type {
    font-size: 13.5px !important;
    color: rgba(183,180,191,0.72) !important;
    line-height: 1.65 !important;
    margin-top: 5px !important;
    margin-bottom: 18px !important;
    font-family: 'Manrope', sans-serif !important;
    max-width: 820px !important;
}
 
/* 5. НАВІГАЦІЙНІ СТРІЛКИ — видимі */
.tournament-nav-prev, .tournament-nav-next,
.series-nav-prev, .series-nav-next,
.player-nav-prev, .player-nav-next,
.championship-nav-prev, .championship-nav-next {
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
 
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.06) !important;
    color: #b7b4bf !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .15s !important;
}
 
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover {
    background: rgba(255,255,255,0.14) !important;
    color: #ffffff !important;
}
 
/* 2. PROFILE ICONS — p всередині grid */
/* MediaWiki додає <p> всередині profile-links-icons */
.profile-links-icons > p {
    display: contents !important; /* p стає "прозорим" для grid */
    margin: 0 !important;
    padding: 0 !important;
}
 
/* ============================================================
  ФІНАЛЬНІ ФІКСИ — вставити в кінець Common.css
  ============================================================ */
 
/* ── 1. TITLE + SUBTITLE ── */
 
/* h1 заголовок сторінки */
h1.mw-first-heading,
.content h1.mw-first-heading {
    font-size: clamp(26px, 3vw, 40px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    line-height: 1.1 !important;
    padding-bottom: 8px !important;
    margin-bottom: 4px !important;
    border-bottom: none !important;
}
 
/* Перший абзац в контенті — підзаголовок гравця */
.content .mw-parser-output > p:first-of-type {
    font-size: 13.5px !important;
    color: #b7b4bf !important;
    opacity: .72 !important;
    line-height: 1.6 !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    font-family: 'Manrope', sans-serif !important;
}
 
/* Heading container */
.page-header-bar { padding-bottom: 4px !important; }
 
/* ── 2. PLAYER TABS — значок кількості ── */
 
/* JS перетворює "(42)" → span.mcc-tab-cnt */
.mcc-tab-cnt {
    display: inline-block;
    margin-left: 6px;
    background: rgba(161,156,224,0.12);
    border: 1px solid rgba(161,156,224,0.22);
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 11px;
    color: #a19ce0;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1.6;
}
 
.player-tab.active .mcc-tab-cnt {
    background: rgba(161,156,224,0.18);
    color: #c4bfff;
}
 
/* ── 3. НАВІГАЦІЯ — фікс видимості ← → ── */
 
/* Якщо стрілка порожня — ховаємо, не ламаємо layout */
.tournament-nav-prev:empty,
.tournament-nav-next:empty,
.series-nav-prev:empty,
.series-nav-next:empty,
.player-nav-prev:empty,
.player-nav-next:empty {
    visibility: hidden !important;
    pointer-events: none !important;
}
 
/* Стрілки більш помітні */
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
    color: rgba(255,255,255,0.65) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 4px 6px !important;
    border-radius: 4px !important;
    transition: all .15s !important;
}
 
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
    text-decoration: none !important;
}
 
/* ── 4. СЕЗОНИ — колір "Чемпіон" ── */
 
/* Клітинки з текстом "Чемпіон" в таблиці сезонів */
.wikitable td .mcc-champion {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: #7ab8ff;
    background: rgba(91,143,255,0.10);
    border: 1px solid rgba(91,143,255,0.22);
}
 
/* Якщо JS не встиг — ховаємо через CSS (fallback) */
/* JS додає клас через applySeasonColors() */
 
/* ── 5. PROFILE ICONS — 4 квадрати фікс ── */
 
/* Перевизначаємо жорстко */
.profile-links {
    display: block !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}
 
.profile-links-icons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 0 !important;
    width: 100% !important;
    float: none !important;
}
 
/* Кожна іконка */
.profile-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 4px !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    background: rgba(22,20,30,0.5) !important;
    transition: background .14s !important;
    cursor: pointer !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    /* Знімаємо всі float/position */
    float: none !important;
    position: static !important;
    width: auto !important;
}
 
.profile-icon:last-child { border-right: none !important; }
.profile-icon:hover:not(.inactive) { background: rgba(55,55,82,0.8) !important; }
 
/* MediaWiki обгортки [[File:]] */
.profile-icon > span,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description,
.profile-icon > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}
 
/* Зображення іконок */
.profile-icon img,
.profile-icon .mw-file-element {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    min-width: unset !important;
    object-fit: contain !important;
    display: block !important;
}
 
.profile-icon.inactive { opacity: 0.25 !important; pointer-events: none !important; }
.profile-icon.inactive img { filter: grayscale(100%) !important; }
 
/* ── 6. ВИДАЛЯЄМО ТІНЬ З ТАБЛИЦЬ ── */
.content .mw-parser-output .wikitable {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.07) !important;
}
 
/* ── 7. ЗОБРАЖЕННЯ — квадратні фото гравців та сезонів ── */
 
/* Фото в r-box — завжди cover, не розтягується */
.r-box figure img,
.r-box figure .mw-file-element,
.tournament-box figure img,
.tournament-box figure .mw-file-element,
.series-box figure img,
.series-box figure .mw-file-element {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 0 !important;
    aspect-ratio: unset !important;
}
 
/* Якщо MediaWiki додає link-обгортку */
.r-box figure a.mw-file-description,
.tournament-box figure a.mw-file-description {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    height: 200px !important;
}
 
/* ── 8. ТАБЛИЦІ — покращення відображення ── */
 
/* Zebra stripes більш помітні */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td {
    background-color: rgba(22,20,30,0.55) !important;
}
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
    background-color: rgba(14,13,22,0.70) !important;
}
 
/* Hover яскравіший */
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
    background-color: rgba(35,80,200,0.16) !important;
}
 
/* Заголовки таблиці — трохи темніші та чіткіші */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.jquery-tablesorter th.headerSort {
    background-color: rgba(12,11,20,0.92) !important;
    border-bottom: 2px solid rgba(161,156,224,0.25) !important;
    font-size: 11px !important;
    letter-spacing: .10em !important;
    color: #a9a6b8 !important;
}
 
/* Ширина r-box таблиці — менший padding */
.r-box table th, .r-box table td,
.tournament-box table th, .tournament-box table td {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
}
 
/* ── 9. СЕЗОНИ В ТАБЛИЦІ ГРАВЦЯ — колір чемпіонства ── */
/* JS додає .mcc-champion до клітинки, але CSS fallback: */
.wikitable td[style*="Чемпіон"],
.wikitable td:contains("Чемпіон") {
    color: #7ab8ff !important;
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* 1. TOURNAMENT NAV — <pre> всередині nav (баг шаблону) */
.tournament-nav pre,
.series-nav pre,
.player-nav pre,
.championship-nav pre {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: inherit !important;
    white-space: normal !important;
    overflow: visible !important;
}
 
/* 2. ЗОБРАЖЕННЯ — ближче до квадрату */
.r-box figure a.mw-file-description,
.tournament-box figure a.mw-file-description,
.series-box figure a.mw-file-description {
    display: block !important;
    width: 100% !important;
    height: auto !important;      /* скасовуємо 200px */
    overflow: hidden !important;
    max-height: 300px !important;
    aspect-ratio: unset !important;
}
 
.r-box figure img,
.r-box figure .mw-file-element,
.tournament-box figure img,
.tournament-box figure .mw-file-element,
.series-box figure img,
.series-box figure .mw-file-element {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 0 !important;
}
 
/* 3. SCROLLBAR — стилізація під сайт */
.mcc-scroll-inner::-webkit-scrollbar {
    height: 4px !important;
    background: transparent !important;
}
 
.mcc-scroll-inner::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 2px !important;
}
 
.mcc-scroll-inner::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.25) !important;
    border-radius: 2px !important;
}
 
.mcc-scroll-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(161,156,224,0.45) !important;
}
 
/* Firefox */
.mcc-scroll-inner {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(161,156,224,0.25) transparent !important;
}
 
/* Горизонтальний скрол самої wikitable.wide-table */
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar {
    height: 4px !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.25) !important;
    border-radius: 2px !important;
}
 
/* 4. CHAMPION BOX — синя обводка замість золотої */
.rp-champion {
    border: 1px solid rgba(91,143,255,0.28) !important;
    border-radius: 6px !important;
    background: rgba(91,143,255,0.06) !important;
    padding: 11px 14px !important;
    text-align: center !important;
    margin: 12px !important;
}
 
.rp-ch-lbl {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #7ab8ff !important;
    opacity: .75 !important;
    margin-bottom: 4px !important;
    font-family: 'Manrope', sans-serif !important;
}
 
.rp-ch-name {
    font-size: 17px !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;
}
 
/* 6. L-BOX — завжди видимий (прибираємо fadeOut при games) */
/* JS буде керувати поведінкою, CSS тримає видимість */
.l-box {
    display: block !important;  /* Override display:none від JS fadeOut */
    opacity: 1 !important;
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* ════════════════════════════════════════
  1. МОБІЛЬНА: L-BOX — ховаємо на мобільних
  (JS додає клас .l-box-open при потребі)
  ════════════════════════════════════════ */
@media (max-width: 999px) {
    .l-box {
        display: none !important;
    }
}
 
/* ════════════════════════════════════════
  2. NAV — фікс <p> всередині player-nav
  ════════════════════════════════════════ */
.player-nav > p,
.tournament-nav > p,
.series-nav > p,
.championship-nav > p {
    display: contents !important;
    margin: 0 !important; padding: 0 !important;
}
 
/* Переконуємось що nav — flex */
.player-nav,
.tournament-nav,
.series-nav,
.championship-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
}
 
.player-nav-name,
.tournament-nav-name,
.series-nav-name,
.championship-nav-name {
    flex: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
 
/* ════════════════════════════════════════
  3. МОБІЛЬНА: відступи від країв
  ════════════════════════════════════════ */
@media (max-width: 999px) {
    .content,
    .pre-content,
    .post-content,
    .mw-parser-output {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    /* Таблиці не виходять за межі */
    .mw-parser-output table,
    .mw-parser-output .wikitable {
        max-width: 100% !important;
    }
}
 
/* ════════════════════════════════════════
  5. ТАБЛИЦІ — повна ширина
  ════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
    /* Сторінки з r-box: контент між l-box і r-box */
    .banner-container,
    .content,
    .pre-content,
    .post-content {
        margin-left: 250px !important;
        margin-right: 310px !important;
        max-width: none !important;
    }
    /* Таблиці займають всю ширину блоку */
    .mw-parser-output .wikitable {
        width: 100% !important;
        max-width: 100% !important;
    }
}
 
/* ════════════════════════════════════════
  6. PAGE-ACTIONS-MENU — мінімалістичний
  ════════════════════════════════════════ */
.page-actions-menu {
    display: flex !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 0 0 0 0 !important;
    margin-top: -1px !important;
}
 
.page-actions-menu__list {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: none !important;
}
 
.page-actions-menu__list-item {
    border-bottom: none !important;
}
 
/* Кнопки в меню */
.page-actions-menu .cdx-button {
    color: rgba(255,255,255,0.35) !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    font-family: 'Manrope', sans-serif !important;
    padding: 4px 10px !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 4px !important;
    transition: color .15s, background .15s !important;
}
 
.page-actions-menu .cdx-button:hover {
    color: rgba(255,255,255,0.75) !important;
    background: rgba(255,255,255,0.06) !important;
}
 
/* Іконки — ховаємо, лишаємо тільки текст */
.page-actions-menu .minerva-icon { display: none !important; }
 
.page-actions-menu span:not(.minerva-icon) {
    display: inline !important;
    font-size: 12px !important;
}
 
/* Роздільники — прибираємо */
.page-actions-menu li::before,
.page-actions-menu li::after { display: none !important; }
 
/* "Більше" dropdown */
.toggle-list__list {
    background: rgba(20,18,28,0.97) !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.4) !important;
    padding: 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;
}
 
.toggle-list-item__anchor:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    text-decoration: none !important;
}
 
/* ════════════════════════════════════════
  7. НАГОРОДИ — вирівнювання колонок
  ════════════════════════════════════════ */
 
/* Дата — компактна */
.wikitable td.col-date,
.wikitable th.col-date {
    width: 88px !important;
    min-width: 80px !important;
    max-width: 100px !important;
    white-space: nowrap !important;
    text-align: center !important;
}
 
/* Турнір — ліве вирівнювання */
.wikitable td.td-main,
.wikitable th:nth-child(2) {
    text-align: left !important;
}
 
/* Приз — праве */
.wikitable td.col-prize,
.wikitable th.col-prize {
    text-align: right !important;
    width: 80px !important;
}
 
/* Всі th в таблиці нагород */
.wikitable thead th {
    text-align: center !important;
}
 
.wikitable thead th:nth-child(2) {
    text-align: left !important;
}
 
/* ════════════════════════════════════════
  8. R-BOX — рядки без переносу
  ════════════════════════════════════════ */
.r-box-info-table tr,
.r-box table tr {
    vertical-align: middle !important;
}
 
.r-box-info-table th {
    white-space: nowrap !important;
    font-size: 12px !important;
    width: 52% !important;
}
 
.r-box-info-table td {
    font-size: 12px !important;
    text-align: right !important;
    white-space: nowrap !important;
    width: 48% !important;
    word-break: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 130px !important;
}
 
/* Дата приєднання і % ігор — розбиваємо на два рядки красиво */
.r-box-info-table td small {
    display: block !important;
    font-size: 10.5px !important;
    opacity: .55 !important;
    font-weight: 400 !important;
}
 
/* ════════════════════════════════════════
  4. ФІЛЬТРИ ДЛЯ ЗАПИСІВ ІГОР — повний стиль
  ════════════════════════════════════════ */
.mcc-games-filters {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    padding: 14px 0 16px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    font-family: 'Manrope', sans-serif !important;
}
 
.mcc-filter-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}
 
.mcc-filter-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: #b7b4bf !important;
    opacity: .45 !important;
    font-family: 'Manrope', sans-serif !important;
}
 
.mcc-filter-select {
    background: rgba(22,20,30,0.9) !important;
    border: 1px solid #232b3a !important;
    color: #e0dce8 !important;
    border-radius: 6px !important;
    padding: 7px 26px 7px 10px !important;
    font-size: 13px !important;
    font-family: 'Manrope', sans-serif !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color .15s !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    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='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
}
 
.mcc-filter-select:focus { border-color: #a19ce0 !important; }
 
.mcc-duration-group { min-width: 175px !important; }
 
.mcc-slider-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 1px !important;
}
 
.mcc-slider-val {
    font-size: 12px !important;
    color: #a19ce0 !important;
    min-width: 42px !important;
    font-weight: 600 !important;
    font-family: 'Manrope', sans-serif !important;
}
 
.mcc-duration-range {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 115px !important;
    height: 3px !important;
    background: #232b3a !important;
    border-radius: 2px !important;
    outline: none !important;
    cursor: pointer !important;
    background-image: linear-gradient(#a19ce0, #a19ce0) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}
 
.mcc-duration-range::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 13px !important; height: 13px !important;
    border-radius: 50% !important;
    background: #a19ce0 !important;
    cursor: pointer !important;
    box-shadow: 0 0 5px rgba(161,156,224,0.4) !important;
}
 
.mcc-duration-range::-moz-range-thumb {
    width: 13px !important; height: 13px !important;
    border: none !important; border-radius: 50% !important;
    background: #a19ce0 !important; cursor: pointer !important;
}
 
.mcc-filter-count {
    margin-left: auto !important;
    font-size: 12px !important;
    color: #b7b4bf !important;
    opacity: .4 !important;
    align-self: flex-end !important;
    padding-bottom: 2px !important;
    font-family: 'Manrope', sans-serif !important;
}
 
@media (max-width: 768px) {
    .mcc-games-filters { gap: 8px !important; }
    .mcc-duration-range { width: 90px !important; }
    .mcc-filter-select { font-size: 12px !important; padding: 6px 22px 6px 8px !important; }
    .mcc-filter-count { display: none !important; }
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* ════════════════════════════════════════
  1+2. LAYOUT — таблиці не виїжджають за r-box
  Контент між l-box і r-box, без правого відступу
  ════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
    .banner-container,
    .content,
    .pre-content,
    .post-content,
    #mw-content-text,
    .overlay-header {
        margin-left: 250px !important;
        margin-right: 300px !important;
        max-width: none !important;
        width: auto !important;
    }
}
 
/* Прибираємо будь-які right-side shadows/gradients */
.mcc-scroll-outer::after {
    display: none !important;
}
 
/* ════════════════════════════════════════
  3. R-BOX NAV — не перекривається header
  top: висота header
  ════════════════════════════════════════ */
.r-box,
.tournament-box,
.series-box {
    top: 56px !important;
    bottom: 0 !important;
    height: calc(100vh - 56px) !important;
    max-height: none !important;
    overflow-y: auto !important;
}
 
/* Nav всередині r-box — sticky щоб завжди вгорі */
.r-box > .player-nav,
.r-box > .tournament-nav,
.r-box > .series-nav,
.tournament-box > .tournament-nav,
.series-box > .series-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
}
 
/* ════════════════════════════════════════
  4. BIO ПІД ЗАГОЛОВКОМ
  Перший параграф — стиль підзаголовка
  ════════════════════════════════════════ */
 
/* Приховуємо перший <p> в основному контенті,
  бо JS перемістить його під h1 */
.mcc-hero-sub {
    font-size: 13.5px !important;
    color: rgba(183,180,191,0.70) !important;
    line-height: 1.62 !important;
    margin: 5px 0 14px !important;
    font-family: 'Manrope', sans-serif !important;
    max-width: 820px !important;
    display: block !important;
}
 
/* ════════════════════════════════════════
  5. PAGE-ACTIONS-MENU — внизу сторінки
  ════════════════════════════════════════ */
.page-actions-menu {
    position: fixed !important;
    bottom: 0 !important;
    left: 250px !important;  /* після l-box */
    right: 300px !important;  /* перед r-box */
    z-index: 90 !important;
    background: rgba(12,11,18,0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-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;
    margin: 0 !important;
    height: 40px !important;
}
 
.page-actions-menu__list {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
}
 
.page-actions-menu__list-item {
    border-bottom: none !important;
}
 
.page-actions-menu .cdx-button {
    color: rgba(255,255,255,0.30) !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    font-family: 'Manrope', sans-serif !important;
    padding: 4px 12px !important;
    height: 32px !important;
    min-height: 0 !important;
    border-radius: 4px !important;
    transition: color .15s, background .15s !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
 
.page-actions-menu .cdx-button:hover {
    color: rgba(255,255,255,0.70) !important;
    background: rgba(255,255,255,0.06) !important;
}
 
/* Іконки — маленькі, видимі */
.page-actions-menu .minerva-icon {
    display: inline-flex !important;
    width: 14px !important;
    height: 14px !important;
    opacity: .5 !important;
    flex-shrink: 0 !important;
}
 
.page-actions-menu span:not(.minerva-icon) {
    font-size: 12px !important;
}
 
/* Dropdown з bottom */
.page-actions-overflow-list.toggle-list__list--drop-down {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 4px !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;
}
 
.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-bottom: none !important; }
 
/* Відступ знизу для контенту (щоб page-actions не перекривав) */
.mw-body {
    padding-bottom: 56px !important;
}
 
/* На мобільних — ховаємо або повна ширина */
@media (max-width: 999px) {
    .page-actions-menu {
        left: 0 !important;
        right: 0 !important;
    }
    .mw-body {
        padding-bottom: 50px !important;
    }
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* РЕВЕРТ fix8 layout — відновлюємо правильні відступи */
@media screen and (min-width: 1000px) {
    .banner-container,
    .content,
    .pre-content,
    .post-content,
    #mw-content-text,
    .overlay-header {
        margin-left: 250px !important;
        margin-right: 300px !important;
        max-width: none !important;
        width: auto !important;
    }
 
    /* Головна без r-box */
    .page-Головна_сторінка .content,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 1100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: auto !important;
    }
}
 
/* FIX 1890px — scrollbar-gutter забирає 30px
  Прибираємо його, scrollbar перекриватиме контент */
html {
    overflow-y: scroll !important;
    scrollbar-gutter: auto !important;  /* скасовуємо "stable" */
}
 
/* Якщо scrollbar все одно з'являється і зсуває —
  компенсуємо через overflow на body */
body {
    overflow-x: hidden !important;
}
 
/* Прибираємо правий пустий простір від r-box */
.r-box,
.tournament-box,
.series-box {
    right: 0 !important;
}
 
/* ── CSS — вставити в кінець Common.css ── */
 
/* РЕВЕРТ fix8 layout — відновлюємо правильні відступи */
@media screen and (min-width: 1000px) {
    .banner-container,
    .content,
    .pre-content,
    .post-content,
    #mw-content-text,
    .overlay-header {
        margin-left: 250px !important;
        margin-right: 300px !important;
        max-width: none !important;
        width: auto !important;
    }
 
    /* Головна без r-box */
    .page-Головна_сторінка .content,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 1100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: auto !important;
    }
}
 
/* FIX 1890px — scrollbar-gutter забирає 30px
  Прибираємо його, scrollbar перекриватиме контент */
html {
    overflow-y: scroll !important;
    scrollbar-gutter: auto !important;  /* скасовуємо "stable" */
}
 
/* Якщо scrollbar все одно з'являється і зсуває —
  компенсуємо через overflow на body */
body {
    overflow-x: hidden !important;
}
 
/* Прибираємо правий пустий простір від r-box */
.r-box,
.tournament-box,
.series-box {
    right: 0 !important;
}