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


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


@media (max-width: 720px) {
/* ============================================================ 1. HTML / BODY */
  .r-box { float:none !important; margin-left:0 !important; }
html {
  .content table { display:table !important; }
    overflow-y: auto !important;
    scrollbar-gutter: auto !important;
}
}


.overlay.search-overlay .search-content {
body {
     background-color: #18151e;
    background-color: #15151f !important;
     border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
    background-image: url('/images/a/a1/Background_x%402x.png') !important;
     color: #a19ce0!important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    color: #b7b4bf !important;
    overflow-x: hidden !important;
}
 
#mw-mf-viewport, #mw-mf-page-center, #content, .mw-body {
    background-color: transparent !important;
}
 
.overlay-enabled, .mw-body {
     background-color: #15151f !important;
    color: #b7b4bf !important;
     padding-bottom: 60px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
}
 
.mw-body { padding-top: 70px !important; }
 
@media (max-width: 767px) {
    .overlay-enabled, .mw-body { padding-bottom: 50px !important; }
    .mw-body { padding-top: 60px !important; }
}
 
/* ============================================================ 2. ПОСИЛАННЯ */
a        { color: #a19ce0 !important; }
a:hover  { color: #c4bfff !important; text-decoration: underline !important; }
a:visited { color: #a19ce0 !important; }
a.new, 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,
h1.mw-first-heading,
.mw-first-heading {
    font-family: 'Manrope', sans-serif !important;
}
 
h1.mw-first-heading {
    font-size: clamp(24px, 3vw, 38px) !important;
    font-weight: 800 !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 .section-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
     color: #ebebeb !important;
    border-bottom: 1px solid #232b3a !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    margin-top: 44px !important;
    margin-bottom: 16px !important;
    scroll-margin-top: 80px !important;
}
}


.page-Main_Page .mw-first-heading { display: none!important; }
.mw-parser-output h2, .mw-parser-output .mw-headline {
    scroll-margin-top: 80px !important;
}


.overlay.search-overlay .search-content .caption { padding-left: 30px!important; }
h4 {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: #b7b4bf !important;
    opacity: .45 !important;
    margin: 20px 0 8px !important;
}


.page-list li, .topic-title-list li, .site-link-list li {
blockquote {
     border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
    border-left: 4px solid #e74c3c !important;
    border-bottom: 1px solid rgba(231,76,60,0.2) !important;
    padding: 14px 20px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
     font-style: normal !important;
    background: rgba(231,76,60,0.04) !important;
    border-radius: 2px 10px 10px 2px !important;
    color: #ebebeb !important;
    margin: 12px 0 !important;
    line-height: 1.7 !important;
}
}


.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; }
.content hr { background-color: #232b3a !important; height: 1px !important; border: 0 !important; }
@media (max-width: 720px) { .content hr { display: none !important; } }
 
/* Підзаголовок під h1 (JS переміщує перший <p>) */
.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: #18151e!important;
     background-color: rgba(22,20,30,0.92) !important;
     box-shadow: none!important;
     backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 1000 !important;
    padding: 0 20px !important;
}
 
.minerva-header {
    display: flex !important; align-items: center !important;
    width: 100% !important; max-width: none !important;
    padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important;
}
}


body {
.overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; }
     background-color: #15151f!important;
 
     color: #b7b4bf!important;
.minerva-header .branding-box { display: flex !important; align-items: center !important; gap: 12px !important; flex-shrink: 0 !important; opacity: 1 !important; }
}  
 
.minerva-header .branding-box a {
     display: flex !important; align-items: center !important;
     gap: 12px !important; text-decoration: none !important; color: #b7b4bf !important;
}


.list-thumb.list-thumb-none { background-color: #18151e!important; }
.minerva-header .branding-box a::before {
    content: '' !important; display: block !important; width: 36px !important; height: 36px !important;
    background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
    background-size: contain !important; background-repeat: no-repeat !important;
    background-position: center !important; flex-shrink: 0 !important;
}


.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
.minerva-header .branding-box a span {
     background-color: #18151e!important;
     font-size: 17px !important; font-weight: 600 !important; color: #fff !important;
     color: white!important;
     white-space: nowrap !important; font-family: 'Manrope', sans-serif !important;
}
}


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


.minerva-icon--menu-base20, .minerva-icon--menu {
.minerva-header .search-box::before {
     filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
     content: '' !important; position: absolute !important; left: 12px !important; top: 50% !important;
    transform: translateY(-50%) !important; width: 16px !important; height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
    background-size: contain !important; background-repeat: no-repeat !important;
    z-index: 1 !important; pointer-events: none !important;
}
}


.overlay-enabled, .mw-body {
.minerva-header .search-box .search.minerva-icon--search { background-image: none !important; }
     background-color: #15151f!important;
.minerva-header .navigation-drawer { display: none !important; }
     color: #b7b4bf!important;
.minerva-user-navigation { display: none !important; }
     padding-top: 20px!important;
.minerva-footer { display: none !important; }
     padding-bottom: 140px!important;
.minerva__tab-container { 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 (max-width: 767px) {
@media screen and (min-width: 1000px) {
     .overlay-enabled, .mw-body {
     .page-actions-menu { left: 250px !important; right: 300px !important; }
        padding-top: 20px!important;
        padding-bottom: 80px!important;
    }
}
}


a.new { color: #ff7777!important; }
.page-actions-menu__list {
a.new:hover { color: #ff7777!important; }
    display: flex !important; align-items: center !important;
a.new:visited { color: #ff7777!important; }
    list-style: none !important; margin: 0 !important; padding: 0 !important;
    border: none !important; gap: 0 !important;
}


a { color: #a19ce0!important; }
.page-actions-menu__list-item { border: none !important; }
a:hover { color: #a19ce0!important; }
a:visited { color: #a19ce0!important; }


.minerva-footer {
.page-actions-menu .cdx-button {
     background-color: #15151f!important;
     color: rgba(255,255,255,0.28) !important; background: transparent !important;
     color: #b7b4bf!important;
    border: none !important; font-size: 12px !important;
     display: none!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;
}
}


h4 {
.page-actions-menu .cdx-button:hover {
opacity: 0.5!important;
    color: rgba(255,255,255,0.68) !important; background: rgba(255,255,255,0.06) !important;
font-weight: 400!important;
}
}


.minerva__tab-container { display:none!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;
}


#mw-mf-page-center { background-color: #15151f!important; }
.page-actions-overflow-list.toggle-list__list--drop-down { bottom: 100% !important; top: auto !important; margin-bottom: 4px !important; }


.content .mw-parser-output > h2, .content .section-heading {
.toggle-list-item__anchor {
     border-bottom: 1px solid #232b3a!important;
    color: rgba(255,255,255,0.65) !important; font-size: 13px !important;
     padding-top: 30px!important;
     font-family: 'Manrope', sans-serif !important; padding: 7px 12px !important;
     padding-bottom: 10px!important;
     border-radius: 4px !important; display: flex !important; align-items: center !important;
     gap: 8px !important; white-space: nowrap !important;
}
}


.search-box .search {
.toggle-list-item__anchor:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; text-decoration: none !important; }
     background-color: #15151f!important;
.toggle-list-item { border: none !important; }
     box-shadow: none!important;
 
     border: 1px solid #232b3a!important;
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
     color: white!important;
.image-details.is-visible { display: none !important; }
#toc, .toc { display: none !important; }
 
.content .mw-parser-output h1 .mw-editsection,
.content .mw-parser-output h2 .mw-editsection,
.content .mw-parser-output h3 .mw-editsection,
.content .mw-parser-output h4 .mw-editsection,
.content .mw-parser-output h5 .mw-editsection,
.content .mw-parser-output h6 .mw-editsection { visibility: hidden !important; display: none !important; }
 
.page-Main_Page .mw-first-heading, .page-Головна_сторінка .mw-first-heading { display: none !important; }
.page-Main_Page #page-secondary-actions a, .page-Головна_сторінка #page-secondary-actions a { display: none !important; }
.minerva-icon--menu-base20, .minerva-icon--menu { filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); }
 
/* Mobile header */
@media (max-width: 768px) {
    .mobile-search-btn { display: flex; }
    .heading-holder { padding-top: 40px !important; }
    .minerva-header .minerva-search-form { display: none !important; }
    .header-container.header-chrome { padding: 6px 12px !important; }
     .minerva-header { padding: 4px 0 !important; gap: 10px !important; }
     .minerva-header .branding-box a::before { width: 28px !important; height: 28px !important; }
     .minerva-header .branding-box a span { font-size: 14px !important; }
     .mw-body { padding-top: 52px !important; }
}
}
@media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } }
/* ============================================================ 5. ПОШУК */
.overlay.search-overlay, .search-overlay { display: none !important; visibility: hidden !important; opacity: 0 !important; }
body.overlay-enabled, body.search-enabled { overflow: auto !important; position: static !important; background-color: #15151f !important; }
#searchInput { pointer-events: auto !important; cursor: text !important; }
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { background-color: #18151e !important; color: white !important; box-shadow: none !important; }
/* ============================================================ 6. LAYOUT */
@media screen and (min-width: 1000px) {
    .banner-container, .minerva-anon-talk-message, .page-header-bar,
    .overlay-header, .content, .overlay-content, .content-unstyled,
    .pre-content, .post-content, #mw-content-text > form {
        margin-left: 265px !important;
        margin-right: 300px !important;
        max-width: none !important;
        width: auto !important;
    }
    /* home page centering handled below */


b, strong { font-weight: 400!important; color: #ebebeb!important; }  
    /* Сторінки без r-box */
    .page-Ігри .content, .page-Статистика .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content, .page-Призові .content,
    .page-Фіналіст .content, .page-Титули .content, .page-Період .content,
    .page-Перша_статистика .content {
        margin-left: 265px !important; margin-right: 20px !important;
        width: auto !important; max-width: none !important;
    }
}


.page-actions-menu {
@media (max-width: 999px) {
     box-sizing: border-box;
     .banner-container, .content, .pre-content, .post-content {
    border-top: 1px solid #232b3a!important;
        margin-left: 0 !important; margin-right: 0 !important;
    border-bottom: 1px solid #232b3a!important;
     }
     margin-top: -1px;
    .content, .pre-content, .post-content, .mw-parser-output {
    display: none!important;  
        padding-left: 14px !important; padding-right: 14px !important;
    }
}
}


.overlay.search-overlay { background: #15151f!important; }
.mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    pointer-events: auto !important; position: fixed !important; left: 0 !important;
}


.content ul { list-style-type: none!important; padding-left: 0em!important; }
/* ============================================================ 7. L-BOX */
.l-box {
    position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important;
    width: 240px !important;
    background: rgba(15,14,22,0.88) !important;
    backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    padding-top: 72px !important; font-size: 13.5px !important;
    z-index: 100 !important; overflow-y: auto !important;
}


.toc { background-color: #18151e!important; border: none!important; }
.l-box-item {
    display: flex !important; align-items: center !important;
    padding: 10px 20px !important; border-left: 3px solid transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    color: #8ab4f8 !important; cursor: pointer !important;
    transition: all 0.14s !important; font-family: 'Manrope', sans-serif !important;
    font-size: 13.5px !important; font-weight: 500 !important; user-select: none !important;
}


.content kbd, .content samp, .content code, .content pre { border: none!important; }
.l-box-item span:first-child { flex: 1 !important; }
.l-box-item:hover { background: rgba(55,55,82,0.8) !important; border-left-color: rgba(138,180,248,0.4) !important; color: #fff !important; }
.l-box-item.active { background: rgba(55,55,82,0.9) !important; border-left-color: #8ab4f8 !important; color: #fff !important; font-weight: 600 !important; }
.l-box-item-last { border-bottom: none !important; }


.content pre {
.mcc-badge {
     padding-left: 0px!important;
     background: rgba(210,130,60,0.18) !important; border-radius: 20px !important;
     padding-top: 10px!important;
     padding: 1px 7px !important; font-size: 10.5px !important; color: #d4895a !important;
     padding-right: 0px!important;
     font-weight: 700 !important; flex-shrink: 0 !important; margin-left: 6px !important;
    padding-bottom: 10px!important;
}
}


.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
@media (max-width: 999px) { .l-box { display: none !important; } }
     visibility:hidden!important;
 
    display:none!important;
/* ============================================================ 8. R-BOX */
.r-box, .tournament-box, .series-box {
    position: fixed !important; top: 72px !important; right: 0 !important; bottom: 0 !important;
    width: 290px !important; overflow-y: auto !important;
    background: rgba(15,14,22,0.88) !important;
    backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
    border-left: 1px solid rgba(255,255,255,0.07) !important;
     z-index: 100 !important; padding: 0 !important; box-sizing: border-box !important;
}
}


.page-Main_Page #page-secondary-actions a { display:none!important; }
/* Nav */
.tournament-nav, .series-nav, .player-nav, .championship-nav {
    display: flex !important; align-items: center !important; justify-content: space-between !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;
}


.mw-ui-icon-mf-expand { background-image:none!important; }
/* Розгортаємо <p> і <pre> всередині nav через CSS */
.player-nav > p, .tournament-nav > p, .series-nav > p, .championship-nav > p,
.player-nav > pre, .tournament-nav > pre, .series-nav > pre, .championship-nav > pre {
    display: contents !important; margin: 0 !important; padding: 0 !important;
    background: none !important; border: none !important;
    white-space: normal !important; font-family: inherit !important;
}


.mw-ui-icon-mf-expand:before {
.tournament-nav-prev, .tournament-nav-next, .series-nav-prev, .series-nav-next,
    content: "+";
.player-nav-prev, .player-nav-next, .championship-nav-prev, .championship-nav-next {
    color: white;
     min-width: 28px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    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; }  
.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: 26px !important; height: 26px !important; border-radius: 5px !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;
}


.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!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: #fff !important;
}


li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }
.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name {
    flex: 1 !important; text-align: center !important; font-weight: 700 !important;
    color: #fff !important; font-size: 14px !important; font-family: 'Manrope', sans-serif !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}


.image-details.is-visible { display: none!important; }
/* Фото */
.r-box figure, .tournament-box figure, .series-box figure { margin: 0 !important; display: block !important; position: relative !important; }


.content table, .content .infobox { text-align: center!important; }
.r-box figure a.mw-file-description, .tournament-box figure a.mw-file-description {
    display: block !important; width: 100% !important; overflow: hidden !important; max-height: 280px !important;
}


.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }
.r-box figure img, .r-box figure .mw-file-element,
.tournament-box figure img, .tournament-box figure .mw-file-element {
    width: 100% !important; height: auto !important; max-height: 280px !important;
    object-fit: cover !important; object-position: top center !important; display: block !important;
}


.minerva-user-navigation .minerva-notifications { display:none!important; }
/* Stats overlay */
.rp-stats-overlay {
    position: absolute; bottom: 8px; left: 0; right: 0;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 0 8px; z-index: 2;
}
.rp-stat-box {
    background: rgba(9,9,13,0.82); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 5px;
    padding: 5px 3px; text-align: center;
}
.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; }


.minerva-user-navigation > *:last-child { display: none!important; }
/* Champion banner */
.rp-champion {
    border: 1px solid rgba(91,143,255,0.25) !important; border-radius: 6px !important;
    background: rgba(91,143,255,0.06) !important; padding: 10px 12px !important;
    text-align: center !important; margin: 10px !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; }


/* ==================================================== */
/* Info таблиця */
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ LIQUIPEDIA */
.r-box-info-table { width: 100% !important; border-collapse: collapse !important; background: none !important; }
/* ==================================================== */
.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; }
.r-box-info-table tr:last-child { border-bottom: none !important; }


/* Основні стилі таблиці */
.r-box-info-table th, .r-box table th, .tournament-box table th {
.wikitable {
     padding: 4px 6px !important; font-size: 13px !important; font-family: 'Manrope', sans-serif !important;
     border: none !important;
    background: none !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-collapse: separate !important;
     font-weight: 400 !important; color: #b7b4bf !important;
     border-spacing: 0 !important;
     text-align: left !important; white-space: nowrap !important;
     width: 100%;
     animation: none !important;
     background-color: transparent !important;
}
}


/* Видаляємо іконку зовнішнього посилання в таблиці ігор */
.r-box-info-table td, .r-box table td, .tournament-box table td {
.wikitable .external {
    padding: 4px 6px !important; font-size: 13px !important; font-family: 'Manrope', sans-serif !important;
     background: none !important;
     background: none !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
     padding-right: 0 !important;
     text-align: right !important; color: #ebebeb !important; font-weight: 600 !important;
    animation: none !important;
}
}


.wikitable a.external::after {
.r-box-info-table td small { display: block !important; font-size: 10px !important; opacity: .55 !important; font-weight: 400 !important; }
     content: '' !important;
.r-box-gold { color: #c8a840 !important; }
     display: none !important;
 
/* Мобільний r-box */
@media (max-width: 1199px) {
     .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;
    }
}
}


/* Комірки таблиці - БЕЗ вертикальних бордерів */
/* ============================================================ 9. WIKITABLE */
.wikitable > tr > th,
.content .mw-parser-output .wikitable {
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
     border: none !important;
     border: none !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
     border-radius: 6px !important;
     padding: 8px 12px !important;
    border-collapse: separate !important; border-spacing: 0 !important;
     background: none;
    background: rgba(18,16,26,0.65) !important;
    overflow: hidden !important;
    font-family: 'Manrope', sans-serif !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) !important;
     width: 100% !important;
     /* НЕ задаємо table-layout — таблиця займає ширину контейнера природньо */
}
}


/* Заголовки */
/* Заголовки */
.wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > thead > tr > th,
.wikitable > * > tr:first-child > th {
.content .mw-parser-output .wikitable > * > tr:first-child > th,
     background-color: rgba(24, 21, 30, 0.6) !important;
.content .mw-parser-output .wikitable > tr:first-child > th {
     border-bottom: 2px solid rgba(161, 156, 224, 0.3) !important;
     background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
     font-weight: 500 !important;
     font-family: 'Manrope', sans-serif !important; font-size: 11px !important;
    text-transform: uppercase;
     font-weight: 700 !important; letter-spacing: .09em !important; text-transform: uppercase !important;
     font-size: 12px;
     padding: 11px 13px !important; border: none !important;
     letter-spacing: 0.5px;
     border-bottom: 2px solid rgba(161,156,224,0.22) !important;
     padding: 10px 12px !important;
     white-space: nowrap !important; text-align: center !important;
}
}


/* Парні та непарні рядки */
/* TD */
.wikitable > tbody > tr:nth-child(odd) > td,
.content .mw-parser-output .wikitable > tbody > tr > td,
.wikitable > * > tr:nth-child(odd) > td {
.content .mw-parser-output .wikitable > * > tr > td {
     background-color: rgba(24, 21, 30, 0.3) !important;
     border: none !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    padding: 10px 13px !important; font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important; color: #b7b4bf !important; vertical-align: middle !important;
    text-align: center !important;
}
}


.wikitable > tbody > tr:nth-child(even) > td,
/* Zebra */
.wikitable > * > tr:nth-child(even) > td {
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td { background-color: rgba(22,20,30,0.45) !important; }
     background-color: rgba(24, 21, 30, 0.5) !important;
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td { background-color: rgba(14,13,22,0.62) !important; }
 
/* Hover */
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
     background-color: rgba(25,87,255,0.13) !important; transition: background-color 0.11s !important;
}
}


/* Ховер ефект для рядків */
/* Останній рядок */
.wikitable > tbody > tr:hover > td,
.content .mw-parser-output .wikitable > tbody > tr:last-child > td { border-bottom: none !important; }
.wikitable > * > tr:hover > td {
    background-color: rgba(25, 87, 255, 0.15) !important;
    transition: background-color 0.2s ease;
}


/* ==================================================== */
/* Посилання */
/* SORTABLE СТРІЛОЧКИ У СТИЛІ LIQUIPEDIA */
.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 a.external::after { content: '' !important; display: none !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(24, 21, 30, 0.6) !important;
     background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
    color: white !important;
     font-family: 'Manrope', sans-serif !important; font-weight: 700 !important;
     font-weight: 500 !important;
     font-size: 11px !important; letter-spacing: .09em !important; text-transform: uppercase !important;
     padding: 10px 12px !important;
     padding: 11px 13px 11px 13px !important; padding-right: 24px !important;
     padding-right: 24px !important;
     background-image: none !important; cursor: pointer !important; position: relative !important;
     background-image: none !important;
     user-select: none !important; white-space: nowrap !important;
    cursor: pointer;
    border-bottom: 2px solid rgba(161,156,224,0.22) !important;
    position: relative;
     user-select: none;
}
}


/* Стрілочка за замовчуванням (обидві) */
.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: "⇅";
     content: "⇅" !important; position: absolute !important; right: 7px !important; top: 50% !important;
    position: absolute;
     transform: translateY(-50%) !important; font-size: 11px !important; color: rgba(255,255,255,0.22) !important; font-weight: 400 !important;
    right: 8px;
}
    top: 50%;
 
     transform: translateY(-50%);
.jquery-tablesorter th.headerSortUp::after  { content: "▲" !important; color: #a19ce0 !important; }
     font-size: 14px;
.jquery-tablesorter th.headerSortDown::after { content: "▼" !important; color: #a19ce0 !important; }
     color: rgba(255, 255, 255, 0.3);
 
     font-weight: normal;
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
    background-color: rgba(25,87,255,0.22) !important; transition: background-color 0.14s !important;
}
 
/* ============================================================ 11. АНІМАЦІЯ РЯДКІВ */
.wikitable tbody tr { animation: mcc-row-in 0.28s ease both; }
.wikitable tbody tr:nth-child(1)  { animation-delay:.03s }
.wikitable tbody tr:nth-child(2)  { animation-delay:.06s }
.wikitable tbody tr:nth-child(3)  { animation-delay:.09s }
.wikitable tbody tr:nth-child(4)  { animation-delay:.12s }
.wikitable tbody tr:nth-child(5)  { animation-delay:.15s }
.wikitable tbody tr:nth-child(6)  { animation-delay:.18s }
.wikitable tbody tr:nth-child(7)  { animation-delay:.21s }
.wikitable tbody tr:nth-child(8)  { animation-delay:.24s }
.wikitable tbody tr:nth-child(9)  { animation-delay:.27s }
.wikitable tbody tr:nth-child(10) { animation-delay:.30s }
.wikitable tbody tr:nth-child(n+11) { animation-delay:.33s }
 
.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.22s ease both; }
.wikitable.mcc-sorted tbody tr:nth-child(1)  { animation-delay:.02s }
.wikitable.mcc-sorted tbody tr:nth-child(2)  { animation-delay:.04s }
.wikitable.mcc-sorted tbody tr:nth-child(3)  { animation-delay:.06s }
.wikitable.mcc-sorted tbody tr:nth-child(4)  { animation-delay:.08s }
.wikitable.mcc-sorted tbody tr:nth-child(5)  { animation-delay:.10s }
.wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay:.12s }
.wikitable.mcc-sorting tbody tr { animation: none; }
 
@keyframes mcc-row-in { from { opacity:0; transform:translateX(-4px); } to { opacity:1; transform:translateX(0); } }
 
/* R-box — без анімації */
.r-box .wikitable tbody tr, .tournament-box .wikitable tbody tr, .r-box-info-table tr { animation: none !important; }
 
/* ============================================================ 12. ГОРИЗОНТАЛЬНИЙ СКРОЛ */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width,
.content .mw-parser-output .wikitable.mcc-wide {
    display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
}
 
.mcc-scroll-outer { position: relative; border-radius: 6px; overflow: hidden; }
.mcc-scroll-outer::after { display: none !important; }
.mcc-scroll-outer.mcc-no-fade::after { display: none !important; }
.mcc-scroll-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(161,156,224,0.25) transparent; }
.mcc-scroll-inner::-webkit-scrollbar { height: 4px; }
.mcc-scroll-inner::-webkit-scrollbar-thumb { background: rgba(161,156,224,0.28); border-radius: 2px; }
.mcc-wide-table { min-width: 860px; }
 
.page-Ігри .mw-parser-output, .page-Статистика .mw-parser-output, .page-Гравці .mw-parser-output,
.page-Фундація .mw-parser-output, .page-Призовий_фонд .mw-parser-output,
.page-Призові .mw-parser-output, .page-Фіналіст .mw-parser-output,
.page-Титули .mw-parser-output, .page-Період .mw-parser-output,
.page-Перша_статистика .mw-parser-output { overflow-x: auto !important; }
 
/* ============================================================ 13. ВІНРЕЙТ */
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; }
.wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; }
 
/* ============================================================ 14. PLAYER TABS */
.player-tabs { display: flex !important; border-bottom: 2px solid rgba(255,255,255,0.08) !important; margin: 20px 0 22px !important; }
 
.player-tab {
    padding: 11px 22px !important; cursor: pointer !important; color: rgba(255,255,255,0.35) !important;
     font-size: 14.5px !important; font-weight: 500 !important; font-family: 'Manrope', sans-serif !important;
    border-bottom: 2px solid transparent !important; margin-bottom: -2px !important;
     transition: color .18s, border-color .18s !important; user-select: none !important; background: transparent !important;
}
 
.player-tab:hover { color: rgba(255,255,255,0.70) !important; background: transparent !important; }
.player-tab.active { color: #fff !important; border-bottom-color: #a19ce0 !important; background: transparent !important; }
 
.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 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.active { display: block !important; animation: mcc-fade-in .24s ease both !important; }
 
@keyframes mcc-fade-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
 
.tab-loader { text-align:center; padding:40px; color:#888; font-size:14px; font-family:'Manrope',sans-serif; }
.tab-loader::before { content:''; display:block; width: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) {
    .player-tab { padding: 9px 14px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; }
}
}


/* Сортування по зростанню */
/* ============================================================ 15. GAME RECORD BTN */
.jquery-tablesorter th.headerSortUp::after {
.game-record-btn {
     content: "▲";
     display: inline-block !important; padding: 3px 9px !important;
     color: #a19ce0 !important;
     background-color: rgba(180,40,40,0.18) !important; color: #e08080 !important;
     font-size: 12px;
     border-radius: 4px !important; font-size: 12px !important; border: 1px solid rgba(200,70,70,0.25) !important;
    transition: background-color .14s !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; }


/* Сортування по спаданню */
/* ============================================================ 16. PROFILE LINKS */
.jquery-tablesorter th.headerSortDown::after {
.profile-links { margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(255,255,255,0.06) !important; overflow: hidden !important; }
     content: "▼";
.profile-links-title { display: none !important; }
     color: #a19ce0 !important;
.profile-links-icons { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 0 !important; }
     font-size: 12px;
/* <p> яку вставляє MediaWiki */
.profile-links-icons > p { display: contents !important; margin: 0 !important; padding: 0 !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; overflow: hidden !important;
    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; }


/* Ховер для заголовків */
.profile-icon > span, .profile-icon span[typeof="mw:File"],
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,  
.profile-icon .mw-file-description, .profile-icon > a {
.jquery-tablesorter th.headerSort:hover {
     display: flex !important; align-items: center !important; justify-content: center !important;
     background-color: rgba(25, 87, 255, 0.4) !important;
     width: 100% !important; line-height: 0 !important;
     transition: background-color 0.2s ease;
}
}


/* Перший та останній рядок */
.profile-icon img, .profile-icon .mw-file-element {
.wikitable > tbody > tr:first-child > td,
    width: 22px !important; height: 22px !important; max-width: 22px !important;
.wikitable > * > tr:first-child > td {
     object-fit: contain !important; display: block !important;
     border-top: none !important;
}
}


.wikitable > tbody > tr:last-child > td,
.profile-icon.inactive { opacity: 0.25 !important; pointer-events: none !important; }
.wikitable > * > tr:last-child > td {
.profile-icon.inactive img { filter: grayscale(100%) !important; }
     border-bottom: none !important;
 
/* ============================================================ 17. ФІЛЬТРИ ІГОР */
.mcc-games-filters {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    padding: 14px 0 16px; margin-bottom: 6px;
    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: .44; }
.mcc-filter-select {
    background: rgba(22,20,30,0.9); border: 1px solid #232b3a; color: #e0dce8;
    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; }
.mcc-duration-group { min-width: 170px; }
.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: 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. ГОЛОВНА СТОРІНКА */
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
.home__block { align-items: stretch; width: 33.3333%; flex-direction: column; }
.home__block-inner { align-items: stretch; gap: 0; flex-direction: column; flex-grow: 0; border: 1px solid rgba(255,255,255,0.10); }
.home__block-image-block { flex-direction: column; background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); background-size: cover; }
.home__block-image { text-align: center; padding-top: 20px; }
.home__block-icon { width: 96px; height: 96px; display: inline-block; background-position: center; background-size: contain; background-repeat: no-repeat; }
.home__block-icon-1 { background-image: url(https://mafiacc.site/images/d/dc/Block_01.png); }
.home__block-icon-2 { background-image: url(https://mafiacc.site/images/5/5f/Block_02.png); }
.home__block-icon-3 { background-image: url(https://mafiacc.site/images/0/00/Block_03.png); }
.home__block-content { flex-grow: 0; flex-direction: column; align-items: stretch; }
.home__block-content-inner { border-radius: 0; background: none; padding: 20px 20px 0; flex-grow: 0; }
.home__block-content-title { line-height: 1; padding-bottom: 10px; }
.home__block-content-inner pre { font-family: 'Manrope', sans-serif !important; padding: 0 !important; display: block !important; }
.home__block-content-title .content p { margin: 0 !important; }
.home__block-tournament-winner { border-bottom: 1px solid rgba(255,255,255,0.10); padding: 15px 20px; background: rgba(0,0,0,0.5); }
.home__block-tournament-winner span:first-child { font-weight: 500; color: #fff; }


/* Вирівнювання тексту */
@media (max-width: 768px) {
.wikitable td {
    .home__blocks { display: block; padding-top: 10px; }
     vertical-align: middle !important;
     .home__block { width: 100%; }
    .home__block-content-inner { margin-bottom: 10px; }
}
}


/* Компактні таблиці для мобільних */
/* ============================================================ 19. ГЕРОЇ */
.mcc-heroes-list { padding-top: 0px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }
.mcc-hero-card { position: relative; display: block; width: 100%; 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 .mw-file-element, .mcc-hero-card a.mw-file-description { display: block; width: 100%; height: auto; }
.mcc-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 12px 12px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); color: #fff; }
.mcc-hero-nickname { font-weight: 700; font-size: 1.1em; font-family: 'Manrope', sans-serif; }
.mcc-hero-nickname a, .mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; }
.mcc-hero-nickname a.external::after, .mcc-hero-nickname a.extiw::after { content: none !important; display: none !important; }
.mcc-hero-role { color: #ffd700; font-size: .85em; font-weight: 600; }
.mcc-hero-date { font-size: .85em; opacity: 0.7; }
.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; }
.mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,.4); }
 
@media (max-width: 768px) {
@media (max-width: 768px) {
     .wikitable > tr > th,  
     .mcc-heroes-list { gap: 12px; }
     .wikitable > tr > td,  
    .mcc-heroes-list li { width: calc((100% - 12px) / 2); }
     .wikitable > * > tr > th,  
}
     .wikitable > * > tr > td {
 
         padding: 6px 8px !important;
/* ============================================================ 20. МОБІЛЬНИЙ ПОШУК */
         font-size: 13px;
.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-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1001; background: rgba(21,21,31,0.98); padding: 12px; align-items: flex-start; gap: 10px; }
.mobile-search-overlay.active { display: flex; }
.mobile-search-overlay input { flex: 1; padding: 14px 16px; font-size: 16px; font-family: 'Manrope', sans-serif; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; background: #23232c; color: white; outline: none; }
.mobile-search-overlay input:focus { border-color: #a19ce0; }
.mobile-search-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); }
 
/* ============================================================ 21. РІЗНЕ */
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
.page-list li, .topic-title-list li, .site-link-list li { border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; }
.content kbd, .content samp, .content code, .content pre { border: none !important; }
.content pre { padding: 10px 0 !important; }
.mw-ui-icon-mf-expand { background-image: none !important; }
.mw-ui-icon-mf-expand:before { content: "+"; color: white; font-size: 16px; font-weight: bold; display: inline-block; width: 16px; height: 16px; line-height: 1em; text-align: center; vertical-align: middle; }
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 994px) { .harley { display: none; } }
@media (max-width: 720px) { .content table { display: table !important; } }
 
/* Header banner */
.header-banner { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; margin-bottom: 20px; background-image: url('/images/4/44/Searchbackground.png'); background-size: cover; background-position: center; border-radius: 8px; position: relative; min-height: 80px; }
.header-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%); border-radius: 8px; pointer-events: none; }
.header-banner__logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.header-banner__logo img { width: 50px; height: 50px; object-fit: contain; }
.header-banner__logo > span:last-child { font-size: 24px; font-weight: 700; color: #fff !important; letter-spacing: 1px; 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__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 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; }
 
 
/* ── NAV overlap fix: ensure r-box below header ── */
@media screen and (min-width: 1200px) {
     .r-box, .tournament-box, .series-box {
        top: 72px !important;
    }
}
 
 
/* ── MOBILE IMPROVEMENTS ── */
@media (max-width: 999px) {
    /* Page title */
     h1.mw-first-heading {
        font-size: 26px !important;
        padding: 0 14px !important;
        margin-top: 10px !important;
    }
 
    .mcc-hero-sub {
        padding: 0 14px !important;
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
 
    /* Player tabs */
    .player-tabs {
        margin: 12px 14px 16px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 0 !important;
    }
    .player-tabs::-webkit-scrollbar { display: none !important; }
 
    .player-tab {
        padding: 9px 16px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
        flex: none !important;
    }
 
    /* Content padding */
    .content .mw-parser-output { padding: 0 14px !important; }
 
    /* Section headings */
    .content .mw-parser-output > h2 {
        font-size: 16px !important;
        margin-top: 32px !important;
    }
 
    /* Tables */
    .content .mw-parser-output .wikitable td,
     .content .mw-parser-output .wikitable th {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
 
    /* Game filters compact */
    .mcc-games-filters {
         padding: 10px 14px 12px !important;
        gap: 8px !important;
         overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .mcc-games-filters::-webkit-scrollbar { display: none !important; }
 
    .mcc-filter-select { font-size: 12.5px !important; padding: 6px 22px 6px 9px !important; }
    .mcc-filter-count { display: none !important; }
    .mcc-duration-range { width: 80px !important; }
 
    /* r-box on mobile */
    .r-box, .tournament-box, .series-box {
        margin: 14px 14px 20px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
     }
     }
   
 
     .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
     /* Page actions bottom bar */
     .jquery-tablesorter th.headerSort {
     .page-actions-menu {
         padding: 8px 8px !important;
         left: 0 !important; right: 0 !important;
        padding-right: 20px !important;
    }
         font-size: 11px;
 
    .page-actions-menu .cdx-button span:not(.minerva-icon) {
         font-size: 11px !important;
     }
     }
}
}


/* ==================================================== */
/* HOME PAGE BLOCKS */
/* ==================================================== */


.flex__block {
/* ════════════════════════════════════════
    display: -moz-flex;
  SEASON PAGE — специфічні стилі
    display: -ms-flex;
  ════════════════════════════════════════ */
    display: -o-flex;
 
    display: -webkit-box;
/* Рейтинг: Σ (остання колонка) — жирний білий */
     display: -moz-box;
.content .mw-parser-output .wikitable tbody tr td:last-child {
     display: -ms-flexbox;
     color: #ebebeb !important;
    display: -webkit-flex;
     font-weight: 700 !important;
    display: flex;
}
    -webkit-box-pack: justify;
 
    -ms-flex-pack: justify;
/* Але тільки якщо це число (не посилання, не текст) */
    -webkit-justify-content: space-between;
.content .mw-parser-output .wikitable tbody tr td:last-child a {
     justify-content: space-between;
     color: #a19ce0 !important;
     align-items: center
     font-weight: 500 !important;
}
}


.home__blocks {
/* "Записи ігор" широка таблиця — без правого gap */
     gap: 20px;
.mcc-scroll-outer {
     align-items: stretch
     margin-right: 0 !important;
     overflow: hidden !important;
}
}


.home__block {
.mcc-scroll-inner {
     align-items: stretch;
     margin-right: 0 !important;
     width: 33.3333%;
     padding-right: 0 !important;
    flex-direction: column
}
}


.home__block-inner {
/* Прибираємо градієнт-фейд повністю */
     align-items: stretch;
.mcc-scroll-outer::after {
     gap: 0px;
     display: none !important;
     flex-direction: column;
    content: none !important;
     flex-grow: 0;
}
     border: 1px solid rgba(255, 255, 255, 0.1);
 
/* Wide table — повна ширина без overflow */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width {
     display: block !important;
     overflow-x: auto !important;
     width: 100% !important;
     margin-right: 0 !important;
}
}


.home__block-image-block {
/* Scrollbar стиль для wide tables */
     flex-direction: column;
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar,
    border-radius: 0px;
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar {
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     height: 3px !important;
     background-image: url(https://mafiacc.site/images/d/df/Bg_03.png);
}
    background-size: cover;
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar-thumb,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar-thumb {
     background: rgba(161,156,224,0.3) !important;
     border-radius: 2px !important;
}
}


.home_block-image-block::before {
/* r-box-gold — виділяємо жовтим */
    content: "";
.r-box-gold,
    position: absolute;
.r-box-info-table td.r-box-gold {
    top: 0;
     color: #d4a843 !important;
    left: 0;
     font-weight: 700 !important;
    right: 0;
    bottom: 0;
    background-image: url(https://mafiacc.site/images/b/b1/Nic_01.png);
    background-size: cover;
     opacity: 0.5;
     z-index: -1;
}
}


.home__block-image {
/* ══════════════════════════════════════════════
    text-align: center;
  TARGETED FIXES
     padding-top: 20px;
  ══════════════════════════════════════════════ */
 
/* 1. H2 section titles — white */
.content .mw-parser-output > h2 .mw-headline,
.content .mw-parser-output > h2,
.content .section-heading .mw-headline {
     color: #ffffff !important;
}
}


.home__block-icon {
/* 2. Remove external link icon */
     width: 96px;
.mw-parser-output a.external,
     height: 96px;
.mw-parser-output a[rel~="nofollow"] {
    display: inline-block;
     background-image: none !important;
    background-position: center center;
     padding-right: 0 !important;
     background-size: contain;
}
     background-repeat: no-repeat;
.mw-parser-output a.external::after,
.mw-parser-output a[rel~="nofollow"]::after {
     content: none !important;
     display: none !important;
}
}


.home__block-icon-1 {
/* 3. Нагороди в MCC table — clean layout */
     background-image: url(https://mafiacc.site/images/d/dc/Block_01.png)
 
/* Date col */
.content .mw-parser-output .wikitable td[style*="width:80px"],
.content .mw-parser-output .wikitable td[style*="width: 80px"] {
     width: 96px !important;
    min-width: 82px !important;
    max-width: 110px !important;
    color: #9e9aab !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 11px 10px !important;
    white-space: nowrap !important;
}
}


.home__block-icon-2 {
/* Tournament name col — left aligned */
     background-image: url(https://mafiacc.site/images/5/5f/Block_02.png)
.content .mw-parser-output .wikitable td[style*="text-align:left"],
.content .mw-parser-output .wikitable td[style*="text-align: left"] {
     text-align: left !important;
    padding-left: 12px !important;
    font-size: 14px !important;
    color: #e8e5f0 !important;
}
}


.home__block-icon-3 {
/* Prize col — right aligned, white bold */
     background-image: url(https://mafiacc.site/images/0/00/Block_03.png)
.content .mw-parser-output .wikitable td[style*="text-align:right"],
.content .mw-parser-output .wikitable td[style*="text-align: right"] {
     text-align: right !important;
    padding-right: 16px !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
}


.home__block-content {
/* Prize = 0 ₴ — muted */
     flex-grow: 0;
/* JS will handle coloring, CSS gives base */
     flex-direction: column;
 
     align-items: stretch
/* Medal icon in tournament table */
.content .mw-parser-output .wikitable td[style*="text-align:left"] img.mw-file-element {
     width: 18px !important;
    height: 18px !important;
    vertical-align: middle !important;
     margin-right: 5px !important;
     opacity: .9 !important;
}
}


.home__block-content-inner {
/* Remove Σ last-child override for awards table (it breaks prize col) */
    border-radius: 0px;
/* Override only for tables with 3 cols (awards table) */
    background: none;
.content .mw-parser-output .wikitable:has(td[style*="width:80px"]) tbody tr td:last-child {
    padding-left: 20px;
     color: #ebebeb !important;
    padding-top: 20px;
     font-weight: 600 !important;
    padding-right: 20px;
     padding-bottom: 0px;
     flex-grow: 0;
}
}


.home__block-content-title {
 
     line-height: 1;
/* ══════════════════════════════════════════════
     padding-bottom: 10px;
  SEASON RATING TABLE — targeted via JS-added class
  ══════════════════════════════════════════════ */
 
/* № column */
.mcc-rating-table td:first-child,
.mcc-rating-table th:first-child {
     width: 48px !important; min-width: 36px !important; max-width: 56px !important;
     padding: 10px 8px !important; text-align: center !important;
}
}


.home__block-content-inner pre {
/* Пан/Пані column — left aligned */
     font-family: 'Helvetica'!important;
.mcc-rating-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
     padding: 0!important;
.mcc-rating-table th:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
     display: block!important;
 
/* Σ column — white bold */
.mcc-rating-table td:nth-child(3) { color: #ffffff !important; font-weight: 700 !important; }
 
/* Medal badges */
.mcc-rank-1 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(212,168,67,0.18) !important; border: 1.5px solid rgba(212,168,67,0.55) !important;
    color: #d4a843 !important; font-size: 12px !important; font-weight: 700 !important;
}
.mcc-rank-2 {
     display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
     background: rgba(180,185,195,0.14) !important; border: 1.5px solid rgba(180,185,195,0.45) !important;
     color: #c0c4cc !important; font-size: 12px !important; font-weight: 700 !important;
}
}
.mcc-rank-3 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(192,112,72,0.16) !important; border: 1.5px solid rgba(192,112,72,0.45) !important;
    color: #c07048 !important; font-size: 12px !important; font-weight: 700 !important;
}
/* Games / WR extremes */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }


.home__block-content-title .content p {
/* ══════════════════════════════════════════════
     margin: 0!important;
  SEASON FINAL TABLE — numbering
  ══════════════════════════════════════════════ */
.mcc-final-table td:first-child {
    width: 40px !important; text-align: center !important;
}
.mcc-final-table td:nth-child(2) {
     text-align: left !important; padding-left: 14px !important;
}
}


@media (max-width: 768px) {
/* ══════════════════════════════════════════════
    .home__blocks {
  FULL-WIDTH PAGES — 16px margins, no r-box/l-box offset
        display:block;
  Apply .page-mcc-fullwidth class via JS, or target by body class
        padding-top: 10px;
  ══════════════════════════════════════════════ */
     }
 
/* Pages that use full content width */
.page-Ігри,
.page-Статистика,
.page-Перша_статистика,
.page-Фіналіст,
.page-Сезони,
.page-Гравці,
.page-Фундація,
.page-Призовий_фонд,
.page-Призові,
.page-Титули,
.page-Фіналіст,
.page-Період {
     /* Remove l-box offset — these pages have no l-box/r-box */
}


     .home__block-content-title {
@media screen and (min-width: 1000px) {
         padding-bottom: 10px;
    .page-Ігри .banner-container,
    .page-Ігри .content, .page-Ігри .pre-content, .page-Ігри .post-content,
    .page-Статистика .banner-container,
    .page-Статистика .content, .page-Статистика .pre-content, .page-Статистика .post-content,
    .page-Перша_статистика .banner-container,
    .page-Перша_статистика .content, .page-Перша_статистика .pre-content, .page-Перша_статистика .post-content,
    .page-Фіналіст .banner-container,
     .page-Фіналіст .content, .page-Фіналіст .pre-content, .page-Фіналіст .post-content,
    .page-Сезони .banner-container,
    .page-Сезони .content, .page-Сезони .pre-content, .page-Сезони .post-content,
    .page-Гравці .banner-container,
    .page-Гравці .content, .page-Гравці .pre-content, .page-Гравці .post-content,
    .page-Фундація .banner-container,
    .page-Фундація .content, .page-Фундація .pre-content, .page-Фундація .post-content,
    .page-Призовий_фонд .banner-container,
    .page-Призовий_фонд .content, .page-Призовий_фонд .pre-content, .page-Призовий_фонд .post-content,
    .page-Призові .banner-container,
    .page-Призові .content, .page-Призові .pre-content, .page-Призові .post-content,
    .page-Титули .banner-container,
    .page-Титули .content, .page-Титули .pre-content, .page-Титули .post-content,
    .page-Період .banner-container,
    .page-Період .content, .page-Період .pre-content, .page-Період .post-content {
         margin-left: 16px !important;
        margin-right: 16px !important;
        max-width: none !important;
        width: auto !important;
     }
     }
}


     .home__block {
@media screen and (max-width: 999px) {
         width:100%;
    .page-Ігри .content, .page-Статистика .content,
    .page-Перша_статистика .content, .page-Фіналіст .content,
     .page-Сезони .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content,
    .page-Призові .content, .page-Титули .content,
    .page-Період .content {
         margin-left: 8px !important;
        margin-right: 8px !important;
     }
     }
}


    .home__block-content-inner {  
/* Tables on full-width pages */
        margin-bottom: 10px;
.page-Ігри .wikitable,
     }
.page-Статистика .wikitable,
.page-Перша_статистика .wikitable,
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    width: 100% !important;
     font-size: 13px !important;
}
}


/* ==================================================== */
.page-Ігри .wikitable td,
/* BACKGROUND */
.page-Статистика .wikitable td,
/* ==================================================== */
.page-Перша_статистика .wikitable td,
.page-Фіналіст .wikitable td,
.page-Сезони .wikitable td,
.page-Гравці .wikitable td,
.page-Фундація .wikitable td,
.page-Призовий_фонд .wikitable td,
.page-Призові .wikitable td,
.page-Титули .wikitable td,
.page-Період .wikitable td {
    padding: 7px 8px !important;
    font-size: 13px !important;
}


#mw-mf-viewport, #content, .header-container, .mw-body {
/* № column on full-width pages */
    background-image: url('/images/f/f1/Main_bg%402x.png') !important;
.page-Фіналіст .wikitable td:first-child,
    background-size: cover !important;
.page-Статистика .wikitable td:first-child,
    background-repeat: no-repeat !important;
.page-Гравці .wikitable td:first-child,
     background-position: center center !important;
.page-Сезони .wikitable td:first-child,
    background-attachment: fixed !important;
.page-Фіналіст .wikitable th:first-child,
.page-Статистика .wikitable th:first-child {
     width: 52px !important; text-align: center !important;
}
}


@media (max-width: 994px) {
.page-Фіналіст .wikitable td:nth-child(2),
  .harley {
.page-Статистика .wikitable td:nth-child(2),
     display:none
.page-Гравці .wikitable td:nth-child(2) {
  }
     text-align: left !important;
    padding-left: 14px !important;
}
}


/* Список героїв - 5 в рядок */
/* ── Season final table ── */
.mcc-heroes-list {
.mcc-final-table td:first-child { width: 40px !important; text-align: center !important; }
  padding-top: 20px!important;
.mcc-final-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
  display: flex;
 
  flex-wrap: wrap;
 
  gap: 8px;
 
  list-style: none;
/* The actual wikitable inside scroll wrapper */
  padding: 0;
.page-Ігри .mcc-scroll-inner .wikitable,
  margin: 0;
.page-Статистика .mcc-scroll-inner .wikitable,
.page-Перша_статистика .mcc-scroll-inner .wikitable,
.page-Фіналіст .mcc-scroll-inner .wikitable,
.page-Сезони .mcc-scroll-inner .wikitable,
.page-Гравці .mcc-scroll-inner .wikitable,
.page-Фундація .mcc-scroll-inner .wikitable,
.page-Призовий_фонд .mcc-scroll-inner .wikitable,
.page-Призові .mcc-scroll-inner .wikitable,
.page-Титули .mcc-scroll-inner .wikitable,
.page-Період .mcc-scroll-inner .wikitable {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: auto !important;
}
}


.mcc-heroes-list li {
/* Also without wrapper */
  margin: 0;
.page-Ігри .mw-parser-output .wikitable,
  padding: 0;
.page-Статистика .mw-parser-output .wikitable,
  /* 5 карток: (100% - 4 gaps по 8px) / 5 */
.page-Перша_статистика .mw-parser-output .wikitable,
  width: calc((100% - 32px) / 5);
.page-Фіналіст .mw-parser-output .wikitable,
.page-Сезони .mw-parser-output .wikitable,
.page-Гравці .mw-parser-output .wikitable,
.page-Фундація .mw-parser-output .wikitable,
.page-Призовий_фонд .mw-parser-output .wikitable,
.page-Призові .mw-parser-output .wikitable,
.page-Титули .mw-parser-output .wikitable,
.page-Період .mw-parser-output .wikitable {
    width: 100% !important;
    table-layout: auto !important;
    display: table !important;
}
}


/* Картка героя */
 
.mcc-hero-card {
 
  position: relative;
 
  display: block;
 
  width: 100%;
 
  border-radius: 0;
 
  overflow: hidden;
/* ══════════════════════════════════════════════
  background: #1a1a2e;
  FULL-WIDTH PAGES — correct table width fix
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  mw-content-text handles overflow-x
  table stays as display:table with width:100%
  ══════════════════════════════════════════════ */
 
/* Content area scrolls if table overflows */
.page-Ігри #mw-content-text,
.page-Статистика #mw-content-text,
.page-Перша_статистика #mw-content-text,
.page-Фіналіст #mw-content-text,
.page-Сезони #mw-content-text,
.page-Гравці #mw-content-text,
.page-Фундація #mw-content-text,
.page-Призовий_фонд #mw-content-text,
.page-Призові #mw-content-text,
.page-Титули #mw-content-text,
.page-Період #mw-content-text {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
}


/* Hover анімація */
/* Table fills parent as a proper TABLE (not block) */
.mcc-hero-card:hover {
.page-Ігри .wikitable,
  transform: translateY(-4px);
.page-Статистика .wikitable,
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
.page-Перша_статистика .wikitable,
 
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    display: table !important;
    width: 100% !important;
    overflow-x: visible !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
}
}


.mcc-hero-card .hero-image-wiki,
/* Scrollbar style for full-width content overflow */
.mcc-hero-card .hero-image-wiki img,
.page-Ігри #mw-content-text::-webkit-scrollbar,
.mcc-hero-card .mw-file-element,
.page-Статистика #mw-content-text::-webkit-scrollbar,
.mcc-hero-card a.mw-file-description {
.page-Перша_статистика #mw-content-text::-webkit-scrollbar,
  display: block;
.page-Фіналіст #mw-content-text::-webkit-scrollbar,
  width: 100%;
.page-Гравці #mw-content-text::-webkit-scrollbar,
  height: auto;
.page-Період #mw-content-text::-webkit-scrollbar {
    height: 4px;
}
.page-Ігри #mw-content-text::-webkit-scrollbar-thumb,
.page-Статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Перша_статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Фіналіст #mw-content-text::-webkit-scrollbar-thumb,
.page-Гравці #mw-content-text::-webkit-scrollbar-thumb,
.page-Період #mw-content-text::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.28);
    border-radius: 2px;
}
}


/* ══════════════════════════════════════════════
  SERIES CHAMPION BANNERS — variant colors
  ══════════════════════════════════════════════ */


.mcc-hero-info {
/* Get Names series — green/teal */
  position: absolute;
.rp-champion--series {
  bottom: 0;
    border: 1px solid rgba(90,170,130,0.30) !important;
  left: 0;
    background: rgba(90,170,130,0.07) !important;
  right: 0;
  padding: 0px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
}
}
.rp-champion--series .rp-ch-lbl { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }


.mcc-hero-nickname {
/* Closed Cups — purple/violet */
  font-weight: 700;
.rp-champion--closed {
  font-size: 1.1em;
    border: 1px solid rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
}
.rp-champion--closed .rp-ch-lbl { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }
/* ══════════════════════════════════════════════
  TABLE CLASSES — closedcups / rank / getnames
  Medals added by JS
  ══════════════════════════════════════════════ */


/* Білий колір посилання без іконки */
/* All three use same base — medals via JS */
.mcc-hero-nickname a,
.wikitable.closedcups td:nth-child(2),
.mcc-hero-nickname a:visited {
.wikitable.rank td:nth-child(2),
  color: #fff !important;
.wikitable.getnames td:nth-child(2) {
  text-decoration: none;
    text-align: left !important;
  background: none !important;
    padding-left: 14px !important;
  padding-right: 0 !important;
}
}


.mcc-hero-nickname a:hover {
/* Get Names Σ column (last) — white bold */
  text-decoration: underline;
.wikitable.getnames td:last-child {
  color: #fff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
}


/* Прибираємо іконку зовнішнього посилання */
/* ══════════════════════════════════════════════
.mcc-hero-nickname a.external,
  ROLE PILLS — correct mafia game colors
.mcc-hero-nickname a.external:after,
  Мирний=red, Шериф=gold, Дон=grey, Мафія=dark grey
.mcc-hero-nickname a.extiw,
  ══════════════════════════════════════════════ */
.mcc-hero-nickname a.extiw:after {
 
  background-image: none !important;
/* Override previous green colors */
  padding-right: 0 !important;
.mcc-pill-done[style*="rgb(125, 212"] {
    /* Мирний — was green, now red */
}
}


.mcc-hero-nickname a.external::after,
/* These are applied via JS applyRolePills — override the map in CSS via !important on span */
.mcc-hero-nickname a.extiw::after {
 
  content: none !important;
/* ══════════════════════════════════════════════
  display: none !important;
  R-BOX INFO TABLE FIXES
  ══════════════════════════════════════════════ */
.r-box-info-table th, .r-box table th, .tournament-box table th,
.series-box table th {
    padding: 4px 6px !important;
    font-size: 13px !important;
    opacity: 1 !important;
    width: auto !important;
    font-weight: 400 !important;
    color: #b7b4bf !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}
}


.mcc-hero-role {
.r-box-info-table td, .r-box table td, .tournament-box table td,
  color: #ffd700;
.series-box table td {
  font-size: 0.85em;
    padding: 4px 6px !important;
  font-weight: 600;
    font-size: 13px !important;
    width: auto !important;
    text-align: right !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}
}


.mcc-hero-date {
/* ══════════════════════════════════════════════
  font-size: 0.85em;
  CHAMPION BANNERS — all variants
  opacity: 0.7;
  ══════════════════════════════════════════════ */
.rp-champion {
    margin: 10px 0 6px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(168,212,255,0.25);
    background: rgba(168,212,255,0.06);
}
}
.rp-champion .rp-ch-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a8d4ff;
    margin-bottom: 2px;
}
.rp-champion .rp-ch-name {
    font-size: 15px;
    font-weight: 700;
    color: #c8e4ff;
}
.rp-champion .rp-ch-name a,
.rp-champion .rp-ch-name a:visited { color: #c8e4ff; text-decoration: none; }


/* Чемпіон - золота рамка */
/* Series (Get Names) — green */
.mcc-champion-card {
.rp-champion--series {
  box-shadow: 0 0 0 0.5px orange;
    border-color: rgba(90,170,130,0.30) !important;
    background: rgba(90,170,130,0.07) !important;
}
}
.rp-champion--series .rp-ch-lbl  { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }


.mcc-champion-card:hover {
/* Closed Cups — purple */
  box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0, 0, 0, 0.4);
.rp-champion--closed {
    border-color: rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
}
.rp-champion--closed .rp-ch-lbl  { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }


/* ===== MOBILE: 2 картки в рядок ===== */
/* ══════════════════════════════════════════════
@media (max-width: 768px) {
  TABLE CLASSES — closedcups / rank / getnames
  .mcc-heroes-list {
  ══════════════════════════════════════════════ */
    padding: 0 16px;
.wikitable.closedcups td:nth-child(2),
    gap: 12px;
.wikitable.rank      td:nth-child(2),
  }
.wikitable.getnames   td:nth-child(2) {
 
     text-align: left !important;
  .mcc-heroes-list li {
     padding-left: 14px !important;
    /* 2 картки: (100% - 1 gap 12px) / 2 */
    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;
  }
}
}


/* Дуже малі екрани */
/* Get Names — Σ last col white bold */
@media (max-width: 360px) {
.wikitable.getnames  td:last-child { color: #ffffff !important; font-weight: 700 !important; }
  .mcc-heroes-list {
 
    padding: 0 12px;
/* ══════════════════════════════════════════════
    gap: 8px;
  RATING TABLE EXTREMES
  }
  ══════════════════════════════════════════════ */
 
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
  .mcc-heroes-list li {
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
     width: calc((100% - 8px) / 2);
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
  }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }
 
 
  .mcc-hero-nickname {
/* ══════════════════════════════════════════════
     font-size: 0.9em;
  TOURNAMENT FINAL — special prestige styling
  }
  ══════════════════════════════════════════════ */
 
.tournament-final-box {
     border: 1px solid rgba(212,168,67,0.22) !important;
    background: linear-gradient(160deg, rgba(22,19,30,0.98) 0%, rgba(26,22,16,0.98) 100%) !important;
     box-shadow: 0 0 32px rgba(212,168,67,0.06), inset 0 0 0 1px rgba(212,168,67,0.10) !important;
}
}


/* Decorative top line */
.tournament-final-box::before {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212,168,67,0.20) 20%,
        rgba(212,168,67,0.55) 50%,
        rgba(212,168,67,0.20) 80%,
        transparent 100%);
}


/* Nav */
.tournament-final-box .tournament-nav .tournament-nav-name {
    color: #d4a843 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: .03em !important;
}


/* Prize pool — highlighted separately */
.tf-prize-block {
    margin: 10px 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(212,168,67,0.28);
    background: rgba(212,168,67,0.06);
}
.tf-prize-block .tf-prize-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(212,168,67,0.65);
    margin-bottom: 2px;
}
.tf-prize-block .tf-prize-val {
    font-size: 22px;
    font-weight: 800;
    color: #d4a843;
    letter-spacing: .02em;
    font-family: 'Manrope', sans-serif;
}


/* Стилізація кнопки запису гри */
/* Podium — 3 place blocks */
.game-record-btn {
.tf-podium {
     display: inline-block;
    display: flex;
     padding: 4px 8px;
    flex-direction: column;
     background-color: #d02f2f;
    gap: 4px;
     color: white;
    margin: 8px 0 4px;
     border-radius: 4px;
}
     font-size: 13px;
.tf-place {
     cursor: pointer;
     display: flex;
     transition: opacity 0.2s;
    align-items: center;
    gap: 8px;
     padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid transparent;
}
.tf-place-1 {
    background: rgba(212,168,67,0.09);
    border-color: rgba(212,168,67,0.22);
}
.tf-place-2 {
     background: rgba(180,185,195,0.07);
    border-color: rgba(180,185,195,0.16);
}
.tf-place-3 {
     background: rgba(192,112,72,0.07);
    border-color: rgba(192,112,72,0.16);
}
.tf-place-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
     border-radius: 50%;
     font-size: 11px;
     font-weight: 700;
     flex-shrink: 0;
}
}
.tf-place-1 .tf-place-badge { background: rgba(212,168,67,0.18); border: 1.5px solid rgba(212,168,67,0.55); color: #d4a843; }
.tf-place-2 .tf-place-badge { background: rgba(180,185,195,0.14); border: 1.5px solid rgba(180,185,195,0.45); color: #c0c4cc; }
.tf-place-3 .tf-place-badge { background: rgba(192,112,72,0.16); border: 1.5px solid rgba(192,112,72,0.45); color: #c07048; }


.game-record-btn:hover {
.tf-place-name {
     opacity: 0.7;
    flex: 1;
     font-size: 13.5px;
    font-weight: 600;
    color: #e8e5f0;
}
}
.tf-place-name a, .tf-place-name a:visited { color: #a19ce0; text-decoration: none; }
.tf-place-1 .tf-place-name a, .tf-place-1 .tf-place-name a:visited { color: #d4a843; }


.game-record-btn a {
.tf-place-prize {
     color: white !important;
    font-size: 11px;
     text-decoration: none !important;
     color: rgba(212,168,67,0.65);
    font-weight: 500;
     white-space: nowrap;
}
}
.tf-place-1 .tf-place-prize { color: rgba(212,168,67,0.80); font-weight: 700; }
/* ══════════════════════════════════════════════
  HOME PAGE
  ══════════════════════════════════════════════ */


/* Мобільна версія для карточок */
 
@media (max-width: 1200px) {
 
     .r-box, .tournament-box {
.mcc-home { padding-bottom: 40px; }
        position: static !important;
 
         width: calc(100% - 32px) !important;
/* ── HERO ── */
        max-width: none !important;
.mcc-home-hero {
        margin: 0 16px 20px 16px !important;
    position: relative;
        top: auto !important;
    margin: -8px -16px 24px;
        right: auto !important;
    padding: 28px 24px 20px;
        max-height: none !important;
    overflow: hidden;
        overflow-y: visible !important;
     border-bottom: 1px solid rgba(255,255,255,0.06);
     }
}
.mcc-home-hero-bg {
    position: absolute;
    inset: 0;
    background:
         radial-gradient(ellipse 60% 80% at 20% 50%, rgba(161,156,224,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(212,168,67,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.mcc-home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    min-width: 80px;
}
.mcc-home-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #e8e5f0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.mcc-home-stat-lbl {
    font-size: 11px;
    color: rgba(161,156,224,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
     margin-top: 3px;
}
.mcc-home-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
}
}


/* Мобільна версія для всіх карточок */
/* ── FEATURED LINKS ── */
@media (max-width: 1200px) {
.mcc-home-featured {
    .r-box, .tournament-box, .series-box {
    display: grid;
        position: static !important;
    margin-top: 60px;
        width: calc(100% - 32px) !important;
    grid-template-columns: repeat(3, 1fr);
        max-width: none !important;
    gap: 10px;
        margin: 0 16px 20px 16px !important;
    margin-bottom: 20px;
        top: auto !important;
        right: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}
}
@media (max-width: 700px) { .mcc-home-featured { grid-template-columns: 1fr; } }


/* Навігація для гравців */
.mcc-home-feat {
.player-nav {
     display: flex;
     display: flex;
    justify-content: space-between;
     align-items: center;
     align-items: center;
     padding: 10px;
    gap: 12px;
     margin-bottom: 10px;
     padding: 14px 16px;
     font-size: 14px;
     border-radius: 8px;
     background-color: #18151e;
     border: 1px solid rgba(255,255,255,0.07);
     border-radius: 10px;
     background: rgba(18,16,26,0.65);
    text-decoration: none !important;
     transition: background 0.18s, border-color 0.18s, transform 0.18s;
    cursor: pointer;
}
}
 
.mcc-home-feat:hover {
.player-nav-prev,
     transform: translateY(-2px);
.player-nav-next {
     background: rgba(30,26,42,0.85);
     font-size: 20px;
    font-weight: bold;
    min-width: 30px;
     text-align: center;
}
}
.mcc-home-feat--gold  { border-color: rgba(212,168,67,0.22); background: rgba(26,22,16,0.80); }
.mcc-home-feat--gold:hover { border-color: rgba(212,168,67,0.40); }
.mcc-home-feat--silver { border-color: rgba(180,185,195,0.18); }
.mcc-home-feat--accent { border-color: rgba(161,156,224,0.20); }
.mcc-home-feat:hover .mcc-home-feat--accent { border-color: rgba(161,156,224,0.35); }


.player-nav-prev a,
.mcc-home-feat-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.player-nav-next a {
.mcc-home-feat-body { flex: 1; min-width: 0; }
     color: yellow;
.mcc-home-feat-title {
     text-decoration: none;
    font-size: 13.5px;
     transition: opacity 0.2s;
    font-weight: 700;
     color: #e8e5f0;
     white-space: nowrap;
     overflow: hidden;
    text-overflow: ellipsis;
}
}
.mcc-home-feat--gold .mcc-home-feat-title { color: #d4a843; }
.mcc-home-feat-sub { font-size: 11.5px; color: rgba(180,178,196,0.55); margin-top: 2px; }
.mcc-home-feat-arrow { font-size: 16px; color: rgba(180,178,196,0.30); flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.mcc-home-feat:hover .mcc-home-feat-arrow { color: rgba(161,156,224,0.70); transform: translateX(3px); }


.player-nav-prev a:hover,
/* ── 3-COL GRID ── */
.player-nav-next a:hover {
.mcc-home-grid {
     opacity: 0.7;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
     margin-bottom: 16px;
}
}
@media (max-width: 900px) { .mcc-home-grid { grid-template-columns: 1fr; } }


.player-nav-name {
/* ── PANEL ── */
     flex: 1;
.mcc-home-panel {
     text-align: center;
     background: rgba(16,14,24,0.70);
     font-weight: bold;
     border: 1px solid rgba(255,255,255,0.07);
     color: white;
     border-radius: 8px;
    font-size: 16px;
     overflow: hidden;
}
}
.mcc-home-panel--players { margin-bottom: 8px; }


/* Навігація для турнірів */
.mcc-home-panel-hd {
.tournament-nav {
     display: flex;
     display: flex;
    align-items: center;
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     padding: 11px 14px;
     padding: 10px;
    cursor: pointer;
     margin-bottom: 10px;
    user-select: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
     background: rgba(255,255,255,0.02);
     transition: background 0.15s;
}
.mcc-home-panel-hd:hover { background: rgba(0,0,0,0.2); }
.mcc-home-panel-title { font-size: 13px; font-weight: 600; color: #d4d2e0; }
.mcc-home-panel-toggle {
     font-size: 14px;
     font-size: 14px;
     background-color: #18151e;
     color: #fff;
     border-radius: 10px;
     transition: transform 0.22s;
    display: inline-block;
}
}
.mcc-home-panel-hd.collapsed .mcc-home-panel-toggle { transform: rotate(-90deg); }


.tournament-nav-prev,
.mcc-home-panel-bd {
.tournament-nav-next {
    overflow: hidden;
     font-size: 20px;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.22s;
     font-weight: bold;
     max-height: 99999px;
     min-width: 30px;
     opacity: 1;
     text-align: center;
}
.mcc-home-panel-bd.collapsed {
     max-height: 0 !important;
     opacity: 0;
}
}


.tournament-nav-prev a,
/* ── CHAMP ROWS ── */
.tournament-nav-next a {
.mcc-home-champ-header {
     color: yellow;
    font-size: 10px !important;
     text-decoration: none;
    text-transform: uppercase;
     transition: opacity 0.2s;
    letter-spacing: .07em;
    color: rgba(180,178,196,0.40) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    pointer-events: none;
}
.mcc-home-champ-row {
    display: grid;
    grid-template-columns: 44px 1fr 1fr;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
     color: #d4d2e0;
     text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
     transition: background 0.13s;
}
}
.mcc-home-champ-row:last-of-type { border-bottom: none; }
.mcc-home-champ-row:hover:not(.mcc-home-champ-header) { background: rgba(161,156,224,0.06); }
.mcc-home-champ-row a, .mcc-home-champ-row a:visited { color: #a19ce0; text-decoration: none; }


.tournament-nav-prev a:hover,
.mcc-season-num {
.tournament-nav-next a:hover {
    display: inline-flex;
     opacity: 0.7;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
     background: rgba(161,156,224,0.10);
    font-size: 11px;
    font-weight: 700;
    color: #d4a843;
}
}
.mcc-champ-name { color: #e8e5f0; font-weight: 600; text-align: right; }


.tournament-nav-name {
/* Get Names — 3 cols */
    flex: 1;
.mcc-home-panel:nth-child(2) .mcc-home-champ-row,
    text-align: center;
.mcc-home-panel:nth-child(2) .mcc-home-champ-header {
     font-weight: bold;
     grid-template-columns: 44px 1fr auto;
    color: white;
    font-size: 16px;
}
}
.mcc-home-panel:nth-child(2) .mcc-champ-name { text-align: right; font-size: 12px; }


/* Навігація для серій */
.mcc-home-panel-footer {
.series-nav {
     padding: 8px 14px;
    display: flex;
     border-top: 1px solid rgba(255,255,255,0.05);
    justify-content: space-between;
     text-align: right;
    align-items: center;
     padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
     background-color: #18151e;
     border-radius: 10px;
}
}
.mcc-home-panel-footer a { font-size: 12px; color: rgba(161,156,224,0.60); text-decoration: none; }
.mcc-home-panel-footer a:hover { color: #a19ce0; }


.series-nav-prev,
 
.series-nav-next {
 
     font-size: 20px;
/* ══════════════════════════════════════════════
     font-weight: bold;
  PLAYER CARDS — smaller size, tighter grid
     min-width: 30px;
  ══════════════════════════════════════════════ */
     text-align: center;
.mcc-heroes-list {
     list-style: none !important;
    margin: 0 !important;
    padding: 0px !important;
     display: grid !important;
     grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
     gap: 8px !important;
}
}


.series-nav-prev a,
/* Player card inner image — smaller height */
.series-nav-next a {
.mcc-heroes-list .home__block-image,
     color: yellow;
.mcc-heroes-list li .home__block-image {
     text-decoration: none;
     height: 180px !important;
     transition: opacity 0.2s;
     min-height: 180px !important;
     max-height: 180px !important;
}
}


.series-nav-prev a:hover,
/* Make the card li behave properly */
.series-nav-next a:hover {
.mcc-heroes-list > li {
     opacity: 0.7;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
     width: 100% !important;
}
}


.series-nav-name {
/* Ensure inner block fills the li */
     flex: 1;
.mcc-heroes-list > li > * {
    text-align: center;
     width: 100% !important;
    font-weight: bold;
     height: 100% !important;
    color: white;
     font-size: 16px;
}
}


/* Мобільна версія для всіх карточок */
 
@media (max-width: 1200px) {
 
     .r-box, .tournament-box, .series-box {
 
         position: static !important;
 
         width: calc(100% - 32px) !important;
/* ══════════════════════════════════════════════
  HOME PAGE — correct layout (margin-left:265px stays,
  no r-box, content fills to 1340px from left)
  ══════════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
     .page-Головна_сторінка .content,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content {
         margin-left: 340px !important;
        margin-right: 340px !important;
         padding: 0 !important;
         max-width: none !important;
         max-width: none !important;
         margin: 0 16px 20px 16px !important;
         width: auto !important;
        top: auto !important;
         box-sizing: content-box !important;
         right: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
     }
     }
}
}


/* Сховати таблицю змісту */
#players-panel {
#toc, .toc {
     max-height: none !important;
     display: none !important;
    overflow: visible !important;
}
}


/* Сховати тільки на сторінках з r-box (гравці, турніри) */
 
.r-box ~ * #toc,
 
.r-box ~ * .toc {
/* ── Closed Cups panel (3rd) — 3 cols ── */
     display: none !important;
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-row {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-header {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-champ-name {
     text-align: right !important;
    font-size: 12px !important;
    color: #e8e5f0; font-weight: 600;
}
}


/* Навігація для чемпіонатів */
/* ══════════════════════════════════════════════
.championship-nav {
  HOME HERO BANNER — full width, Фінал Року
  ══════════════════════════════════════════════ */
.mcc-home-hero-banner {
     display: flex;
     display: flex;
    justify-content: space-between;
     align-items: center;
     align-items: center;
     padding: 10px;
     gap: 20px;
     margin-bottom: 10px;
     margin-bottom: 16px;
     font-size: 14px;
     padding: 20px 28px;
    background-color: #18151e;
     border-radius: 10px;
     border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,140,40,0.30);
    background:
        linear-gradient(110deg,
            rgba(180,70,10,0.85) 0%,
            rgba(220,110,20,0.80) 30%,
            rgba(240,150,40,0.70) 55%,
            rgba(200,90,10,0.80) 80%,
            rgba(160,50,5,0.90) 100%);
    box-shadow: 0 4px 32px rgba(220,100,10,0.18), inset 0 1px 0 rgba(255,200,100,0.12);
    transition: filter 0.18s, transform 0.18s;
    text-decoration: none !important;
}
.mcc-home-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 70% 50%, rgba(255,180,60,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-hero-banner:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.mcc-hero-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,220,140,0.75);
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,200,80,0.25);
    border-radius: 4px;
    padding: 3px 9px;
    white-space: nowrap;
    flex-shrink: 0;
}
.mcc-hero-prize {
    font-size: 26px;
    font-weight: 900;
    color: #ffe47a;
    letter-spacing: -0.02em;
    font-family: 'Manrope', sans-serif;
    text-shadow: 0 2px 12px rgba(255,160,30,0.40);
    white-space: nowrap;
    flex-shrink: 0;
}
}


.championship-nav-prev,
.mcc-hero-champ {
.championship-nav-next {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,240,210,0.90);
}
.mcc-hero-champ a,
.mcc-hero-champ a:visited {
    color: #ffe47a !important;
    text-decoration: none !important;
    font-weight: 700;
}
 
.mcc-hero-arrow {
     font-size: 20px;
     font-size: 20px;
     font-weight: bold;
     color: rgba(255,200,80,0.50);
     min-width: 30px;
    flex-shrink: 0;
     text-align: center;
     transition: color 0.15s, transform 0.15s;
}
.mcc-home-hero-banner:hover .mcc-hero-arrow {
    color: rgba(255,220,100,0.85);
     transform: translateX(4px);
}
}


.championship-nav-prev a,
/* ══════════════════════════════════════════════
.championship-nav-next a {
  HOME PANEL HEADERS — neon blue gradient
     color: yellow;
  ══════════════════════════════════════════════ */
     text-decoration: none;
.mcc-home-panel-hd {
     transition: opacity 0.2s;
    position: relative;
    overflow: hidden;
}
.mcc-home-panel-hd::before {
     content: '';
    position: absolute;
     inset: 0;
     background:
        radial-gradient(ellipse 55% 140% at 0% 50%, rgb(132 17 255 / 16%) 0%, transparent 60%), radial-gradient(ellipse 30% 80% at 100% 50%, rgb(255 44 96 / 8%) 0%, transparent 55%);
    pointer-events: none;
}
}


.championship-nav-prev a:hover,
.mcc-home-panel-title {
.championship-nav-next a:hover {
    color: #fff !important;
     opacity: 0.7;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
     text-transform: uppercase !important;
}
}
 
.mcc-home-panel-toggle {
.championship-nav-name {
     color: rgba(0,180,255,0.38) !important;
    flex: 1;
    text-align: center;
    font-weight: bold;
     color: white;
    font-size: 16px;
}
}


.player-nav-prev a, .player-nav-next a {
/* Champion names in Seasons panel — orange like prize money */
color: white!important;
.mcc-home-grid .mcc-home-panel:nth-child(1) .mcc-champ-name {
    color: #e8e5f0; font-weight: 600;
}
}

Поточна версія на 12:03, 11 квітня 2026

/** MediaWiki:Common.css — Mafia Closed Circle — ФІНАЛЬНА ВЕРСІЯ
    Замінює весь попередній файл повністю
    ============================================================ */

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

/* ============================================================ 1. HTML / BODY */
html {
    overflow-y: auto !important;
    scrollbar-gutter: auto !important;
}

body {
    background-color: #15151f !important;
    background-image: url('/images/a/a1/Background_x%402x.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    color: #b7b4bf !important;
    overflow-x: hidden !important;
}

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

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

.mw-body { padding-top: 70px !important; }

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

/* ============================================================ 2. ПОСИЛАННЯ */
a         { color: #a19ce0 !important; }
a:hover   { color: #c4bfff !important; text-decoration: underline !important; }
a:visited { color: #a19ce0 !important; }
a.new, 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,
h1.mw-first-heading,
.mw-first-heading {
    font-family: 'Manrope', sans-serif !important;
}

h1.mw-first-heading {
    font-size: clamp(24px, 3vw, 38px) !important;
    font-weight: 800 !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 .section-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ebebeb !important;
    border-bottom: 1px solid #232b3a !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    margin-top: 44px !important;
    margin-bottom: 16px !important;
    scroll-margin-top: 80px !important;
}

.mw-parser-output h2, .mw-parser-output .mw-headline {
    scroll-margin-top: 80px !important;
}

h4 {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: #b7b4bf !important;
    opacity: .45 !important;
    margin: 20px 0 8px !important;
}

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

.content hr { background-color: #232b3a !important; height: 1px !important; border: 0 !important; }
@media (max-width: 720px) { .content hr { display: none !important; } }

/* Підзаголовок під h1 (JS переміщує перший <p>) */
.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 {
    background-color: rgba(22,20,30,0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 1000 !important;
    padding: 0 20px !important;
}

.minerva-header {
    display: flex !important; align-items: center !important;
    width: 100% !important; max-width: none !important;
    padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important;
}

.overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; }

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

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

.minerva-header .branding-box a::before {
    content: '' !important; display: block !important; width: 36px !important; height: 36px !important;
    background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
    background-size: contain !important; background-repeat: no-repeat !important;
    background-position: center !important; flex-shrink: 0 !important;
}

.minerva-header .branding-box a span {
    font-size: 17px !important; font-weight: 600 !important; color: #fff !important;
    white-space: nowrap !important; font-family: 'Manrope', sans-serif !important;
}

.minerva-header .minerva-search-form { flex-grow: 1 !important; max-width: 380px !important; margin-left: auto !important; }
.minerva-header .search-box { width: 100% !important; position: relative !important; }

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

.search-box .search { background-color: rgba(24,21,30,0.8) !important; box-shadow: none !important; border: 1px solid #232b3a !important; color: white !important; }

.minerva-header .search-box::before {
    content: '' !important; position: absolute !important; left: 12px !important; top: 50% !important;
    transform: translateY(-50%) !important; width: 16px !important; height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
    background-size: contain !important; background-repeat: no-repeat !important;
    z-index: 1 !important; pointer-events: none !important;
}

.minerva-header .search-box .search.minerva-icon--search { background-image: none !important; }
.minerva-header .navigation-drawer { display: none !important; }
.minerva-user-navigation { display: none !important; }
.minerva-footer { display: none !important; }
.minerva__tab-container { display: none !important; }

/* Page actions — мінімалістична панель внизу */
.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; }
.image-details.is-visible { display: none !important; }
#toc, .toc { display: none !important; }

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

.page-Main_Page .mw-first-heading, .page-Головна_сторінка .mw-first-heading { display: none !important; }
.page-Main_Page #page-secondary-actions a, .page-Головна_сторінка #page-secondary-actions a { display: none !important; }
.minerva-icon--menu-base20, .minerva-icon--menu { filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); }

/* Mobile header */
@media (max-width: 768px) {
    .mobile-search-btn { display: flex; }
    .heading-holder { padding-top: 40px !important; }
    .minerva-header .minerva-search-form { display: none !important; }
    .header-container.header-chrome { padding: 6px 12px !important; }
    .minerva-header { padding: 4px 0 !important; gap: 10px !important; }
    .minerva-header .branding-box a::before { width: 28px !important; height: 28px !important; }
    .minerva-header .branding-box a span { font-size: 14px !important; }
    .mw-body { padding-top: 52px !important; }
}
@media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } }

/* ============================================================ 5. ПОШУК */
.overlay.search-overlay, .search-overlay { display: none !important; visibility: hidden !important; opacity: 0 !important; }
body.overlay-enabled, body.search-enabled { overflow: auto !important; position: static !important; background-color: #15151f !important; }
#searchInput { pointer-events: auto !important; cursor: text !important; }
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { background-color: #18151e !important; color: white !important; box-shadow: none !important; }

/* ============================================================ 6. LAYOUT */
@media screen and (min-width: 1000px) {
    .banner-container, .minerva-anon-talk-message, .page-header-bar,
    .overlay-header, .content, .overlay-content, .content-unstyled,
    .pre-content, .post-content, #mw-content-text > form {
        margin-left: 265px !important;
        margin-right: 300px !important;
        max-width: none !important;
        width: auto !important;
    }

    /* home page centering handled below */

    /* Сторінки без r-box */
    .page-Ігри .content, .page-Статистика .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content, .page-Призові .content,
    .page-Фіналіст .content, .page-Титули .content, .page-Період .content,
    .page-Перша_статистика .content {
        margin-left: 265px !important; margin-right: 20px !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;
    }
}

.mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    pointer-events: auto !important; position: fixed !important; left: 0 !important;
}

/* ============================================================ 7. L-BOX */
.l-box {
    position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important;
    width: 240px !important;
    background: rgba(15,14,22,0.88) !important;
    backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    padding-top: 72px !important; font-size: 13.5px !important;
    z-index: 100 !important; overflow-y: auto !important;
}

.l-box-item {
    display: flex !important; align-items: center !important;
    padding: 10px 20px !important; border-left: 3px solid transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    color: #8ab4f8 !important; cursor: pointer !important;
    transition: all 0.14s !important; font-family: 'Manrope', sans-serif !important;
    font-size: 13.5px !important; font-weight: 500 !important; user-select: none !important;
}

.l-box-item span:first-child { flex: 1 !important; }
.l-box-item:hover { background: rgba(55,55,82,0.8) !important; border-left-color: rgba(138,180,248,0.4) !important; color: #fff !important; }
.l-box-item.active { background: rgba(55,55,82,0.9) !important; border-left-color: #8ab4f8 !important; color: #fff !important; font-weight: 600 !important; }
.l-box-item-last { border-bottom: none !important; }

.mcc-badge {
    background: rgba(210,130,60,0.18) !important; border-radius: 20px !important;
    padding: 1px 7px !important; font-size: 10.5px !important; color: #d4895a !important;
    font-weight: 700 !important; flex-shrink: 0 !important; margin-left: 6px !important;
}

@media (max-width: 999px) { .l-box { display: none !important; } }

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

/* Nav */
.tournament-nav, .series-nav, .player-nav, .championship-nav {
    display: flex !important; align-items: center !important; justify-content: space-between !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;
}

/* Розгортаємо <p> і <pre> всередині nav через CSS */
.player-nav > p, .tournament-nav > p, .series-nav > p, .championship-nav > p,
.player-nav > pre, .tournament-nav > pre, .series-nav > pre, .championship-nav > pre {
    display: contents !important; margin: 0 !important; padding: 0 !important;
    background: none !important; border: none !important;
    white-space: normal !important; font-family: inherit !important;
}

.tournament-nav-prev, .tournament-nav-next, .series-nav-prev, .series-nav-next,
.player-nav-prev, .player-nav-next, .championship-nav-prev, .championship-nav-next {
    min-width: 28px !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: 26px !important; height: 26px !important; border-radius: 5px !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;
}

.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: #fff !important;
}

.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name {
    flex: 1 !important; text-align: center !important; font-weight: 700 !important;
    color: #fff !important; font-size: 14px !important; font-family: 'Manrope', sans-serif !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}

/* Фото */
.r-box figure, .tournament-box figure, .series-box figure { margin: 0 !important; display: block !important; position: relative !important; }

.r-box figure a.mw-file-description, .tournament-box figure a.mw-file-description {
    display: block !important; width: 100% !important; overflow: hidden !important; max-height: 280px !important;
}

.r-box figure img, .r-box figure .mw-file-element,
.tournament-box figure img, .tournament-box figure .mw-file-element {
    width: 100% !important; height: auto !important; max-height: 280px !important;
    object-fit: cover !important; object-position: top center !important; display: block !important;
}

/* Stats overlay */
.rp-stats-overlay {
    position: absolute; bottom: 8px; left: 0; right: 0;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 0 8px; z-index: 2;
}
.rp-stat-box {
    background: rgba(9,9,13,0.82); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 5px;
    padding: 5px 3px; text-align: center;
}
.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; }

/* Champion banner */
.rp-champion {
    border: 1px solid rgba(91,143,255,0.25) !important; border-radius: 6px !important;
    background: rgba(91,143,255,0.06) !important; padding: 10px 12px !important;
    text-align: center !important; margin: 10px !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; }

/* Info таблиця */
.r-box-info-table { width: 100% !important; border-collapse: collapse !important; background: none !important; }
.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; }
.r-box-info-table tr:last-child { border-bottom: none !important; }

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

.r-box-info-table td, .r-box table td, .tournament-box table td {
    padding: 4px 6px !important; font-size: 13px !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: right !important; color: #ebebeb !important; font-weight: 600 !important;
    animation: none !important;
}

.r-box-info-table td small { display: block !important; font-size: 10px !important; opacity: .55 !important; font-weight: 400 !important; }
.r-box-gold { color: #c8a840 !important; }

/* Мобільний r-box */
@media (max-width: 1199px) {
    .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;
    }
}

/* ============================================================ 9. WIKITABLE */
.content .mw-parser-output .wikitable {
    border: none !important;
    border-radius: 6px !important;
    border-collapse: separate !important; border-spacing: 0 !important;
    background: rgba(18,16,26,0.65) !important;
    overflow: hidden !important;
    font-family: 'Manrope', sans-serif !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) !important;
    width: 100% !important;
    /* НЕ задаємо table-layout — таблиця займає ширину контейнера природньо */
}

/* Заголовки */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th,
.content .mw-parser-output .wikitable > tr:first-child > th {
    background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
    font-family: 'Manrope', sans-serif !important; font-size: 11px !important;
    font-weight: 700 !important; letter-spacing: .09em !important; text-transform: uppercase !important;
    padding: 11px 13px !important; border: none !important;
    border-bottom: 2px solid rgba(161,156,224,0.22) !important;
    white-space: nowrap !important; text-align: center !important;
}

/* TD */
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > * > tr > td {
    border: none !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    padding: 10px 13px !important; font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important; color: #b7b4bf !important; vertical-align: middle !important;
    text-align: center !important;
}

/* Zebra */
.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 > tbody > tr:nth-child(even) > td { background-color: rgba(14,13,22,0.62) !important; }

/* Hover */
.content .mw-parser-output .wikitable > tbody > tr:hover > td {
    background-color: rgba(25,87,255,0.13) !important; transition: background-color 0.11s !important;
}

/* Останній рядок */
.content .mw-parser-output .wikitable > tbody > tr:last-child > td { border-bottom: none !important; }

/* Посилання */
.content .mw-parser-output .wikitable td a { color: #a19ce0 !important; font-weight: 500 !important; }
.content .mw-parser-output .wikitable td a:hover { color: #c4bfff !important; text-decoration: underline !important; }
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }

/* ============================================================ 10. СОРТУВАННЯ */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
    background-color: rgba(12,11,20,0.92) !important; color: #a9a6b8 !important;
    font-family: 'Manrope', sans-serif !important; font-weight: 700 !important;
    font-size: 11px !important; letter-spacing: .09em !important; text-transform: uppercase !important;
    padding: 11px 13px 11px 13px !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.22) !important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
    content: "⇅" !important; position: absolute !important; right: 7px !important; top: 50% !important;
    transform: translateY(-50%) !important; font-size: 11px !important; color: rgba(255,255,255,0.22) !important; font-weight: 400 !important;
}

.jquery-tablesorter th.headerSortUp::after   { content: "▲" !important; color: #a19ce0 !important; }
.jquery-tablesorter th.headerSortDown::after { content: "▼" !important; color: #a19ce0 !important; }

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
    background-color: rgba(25,87,255,0.22) !important; transition: background-color 0.14s !important;
}

/* ============================================================ 11. АНІМАЦІЯ РЯДКІВ */
.wikitable tbody tr { animation: mcc-row-in 0.28s ease both; }
.wikitable tbody tr:nth-child(1)  { animation-delay:.03s }
.wikitable tbody tr:nth-child(2)  { animation-delay:.06s }
.wikitable tbody tr:nth-child(3)  { animation-delay:.09s }
.wikitable tbody tr:nth-child(4)  { animation-delay:.12s }
.wikitable tbody tr:nth-child(5)  { animation-delay:.15s }
.wikitable tbody tr:nth-child(6)  { animation-delay:.18s }
.wikitable tbody tr:nth-child(7)  { animation-delay:.21s }
.wikitable tbody tr:nth-child(8)  { animation-delay:.24s }
.wikitable tbody tr:nth-child(9)  { animation-delay:.27s }
.wikitable tbody tr:nth-child(10) { animation-delay:.30s }
.wikitable tbody tr:nth-child(n+11) { animation-delay:.33s }

.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.22s ease both; }
.wikitable.mcc-sorted tbody tr:nth-child(1)  { animation-delay:.02s }
.wikitable.mcc-sorted tbody tr:nth-child(2)  { animation-delay:.04s }
.wikitable.mcc-sorted tbody tr:nth-child(3)  { animation-delay:.06s }
.wikitable.mcc-sorted tbody tr:nth-child(4)  { animation-delay:.08s }
.wikitable.mcc-sorted tbody tr:nth-child(5)  { animation-delay:.10s }
.wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay:.12s }
.wikitable.mcc-sorting tbody tr { animation: none; }

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

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

/* ============================================================ 12. ГОРИЗОНТАЛЬНИЙ СКРОЛ */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width,
.content .mw-parser-output .wikitable.mcc-wide {
    display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
}

.mcc-scroll-outer { position: relative; border-radius: 6px; overflow: hidden; }
.mcc-scroll-outer::after { display: none !important; }
.mcc-scroll-outer.mcc-no-fade::after { display: none !important; }
.mcc-scroll-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(161,156,224,0.25) transparent; }
.mcc-scroll-inner::-webkit-scrollbar { height: 4px; }
.mcc-scroll-inner::-webkit-scrollbar-thumb { background: rgba(161,156,224,0.28); border-radius: 2px; }
.mcc-wide-table { min-width: 860px; }

.page-Ігри .mw-parser-output, .page-Статистика .mw-parser-output, .page-Гравці .mw-parser-output,
.page-Фундація .mw-parser-output, .page-Призовий_фонд .mw-parser-output,
.page-Призові .mw-parser-output, .page-Фіналіст .mw-parser-output,
.page-Титули .mw-parser-output, .page-Період .mw-parser-output,
.page-Перша_статистика .mw-parser-output { overflow-x: auto !important; }

/* ============================================================ 13. ВІНРЕЙТ */
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; }
.wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; }

/* ============================================================ 14. PLAYER TABS */
.player-tabs { display: flex !important; border-bottom: 2px solid rgba(255,255,255,0.08) !important; margin: 20px 0 22px !important; }

.player-tab {
    padding: 11px 22px !important; cursor: pointer !important; color: rgba(255,255,255,0.35) !important;
    font-size: 14.5px !important; font-weight: 500 !important; font-family: 'Manrope', sans-serif !important;
    border-bottom: 2px solid transparent !important; margin-bottom: -2px !important;
    transition: color .18s, border-color .18s !important; user-select: none !important; background: transparent !important;
}

.player-tab:hover { color: rgba(255,255,255,0.70) !important; background: transparent !important; }
.player-tab.active { color: #fff !important; border-bottom-color: #a19ce0 !important; background: transparent !important; }

.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 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.active { display: block !important; animation: mcc-fade-in .24s ease both !important; }

@keyframes mcc-fade-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }

.tab-loader { text-align:center; padding:40px; color:#888; font-size:14px; font-family:'Manrope',sans-serif; }
.tab-loader::before { content:''; display:block; width: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) {
    .player-tab { padding: 9px 14px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; }
}

/* ============================================================ 15. GAME RECORD BTN */
.game-record-btn {
    display: inline-block !important; padding: 3px 9px !important;
    background-color: rgba(180,40,40,0.18) !important; color: #e08080 !important;
    border-radius: 4px !important; font-size: 12px !important; border: 1px solid rgba(200,70,70,0.25) !important;
    transition: background-color .14s !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; }

/* ============================================================ 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; }
.profile-links-title { display: none !important; }
.profile-links-icons { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 0 !important; }
/* <p> яку вставляє MediaWiki */
.profile-links-icons > p { display: contents !important; margin: 0 !important; padding: 0 !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; overflow: hidden !important;
    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; }

.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; line-height: 0 !important;
}

.profile-icon img, .profile-icon .mw-file-element {
    width: 22px !important; height: 22px !important; max-width: 22px !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; }

/* ============================================================ 17. ФІЛЬТРИ ІГОР */
.mcc-games-filters {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    padding: 14px 0 16px; margin-bottom: 6px;
    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: .44; }
.mcc-filter-select {
    background: rgba(22,20,30,0.9); border: 1px solid #232b3a; color: #e0dce8;
    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; }
.mcc-duration-group { min-width: 170px; }
.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: 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. ГОЛОВНА СТОРІНКА */
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
.home__block { align-items: stretch; width: 33.3333%; flex-direction: column; }
.home__block-inner { align-items: stretch; gap: 0; flex-direction: column; flex-grow: 0; border: 1px solid rgba(255,255,255,0.10); }
.home__block-image-block { flex-direction: column; background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); background-size: cover; }
.home__block-image { text-align: center; padding-top: 20px; }
.home__block-icon { width: 96px; height: 96px; display: inline-block; background-position: center; background-size: contain; background-repeat: no-repeat; }
.home__block-icon-1 { background-image: url(https://mafiacc.site/images/d/dc/Block_01.png); }
.home__block-icon-2 { background-image: url(https://mafiacc.site/images/5/5f/Block_02.png); }
.home__block-icon-3 { background-image: url(https://mafiacc.site/images/0/00/Block_03.png); }
.home__block-content { flex-grow: 0; flex-direction: column; align-items: stretch; }
.home__block-content-inner { border-radius: 0; background: none; padding: 20px 20px 0; flex-grow: 0; }
.home__block-content-title { line-height: 1; padding-bottom: 10px; }
.home__block-content-inner pre { font-family: 'Manrope', sans-serif !important; padding: 0 !important; display: block !important; }
.home__block-content-title .content p { margin: 0 !important; }
.home__block-tournament-winner { border-bottom: 1px solid rgba(255,255,255,0.10); padding: 15px 20px; background: rgba(0,0,0,0.5); }
.home__block-tournament-winner span:first-child { font-weight: 500; color: #fff; }

@media (max-width: 768px) {
    .home__blocks { display: block; padding-top: 10px; }
    .home__block { width: 100%; }
    .home__block-content-inner { margin-bottom: 10px; }
}

/* ============================================================ 19. ГЕРОЇ */
.mcc-heroes-list { padding-top: 0px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }
.mcc-hero-card { position: relative; display: block; width: 100%; 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 .mw-file-element, .mcc-hero-card a.mw-file-description { display: block; width: 100%; height: auto; }
.mcc-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 12px 12px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); color: #fff; }
.mcc-hero-nickname { font-weight: 700; font-size: 1.1em; font-family: 'Manrope', sans-serif; }
.mcc-hero-nickname a, .mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; }
.mcc-hero-nickname a.external::after, .mcc-hero-nickname a.extiw::after { content: none !important; display: none !important; }
.mcc-hero-role { color: #ffd700; font-size: .85em; font-weight: 600; }
.mcc-hero-date { font-size: .85em; opacity: 0.7; }
.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; }
.mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,.4); }

@media (max-width: 768px) {
    .mcc-heroes-list { gap: 12px; }
    .mcc-heroes-list li { width: calc((100% - 12px) / 2); }
}

/* ============================================================ 20. МОБІЛЬНИЙ ПОШУК */
.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-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1001; background: rgba(21,21,31,0.98); padding: 12px; align-items: flex-start; gap: 10px; }
.mobile-search-overlay.active { display: flex; }
.mobile-search-overlay input { flex: 1; padding: 14px 16px; font-size: 16px; font-family: 'Manrope', sans-serif; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; background: #23232c; color: white; outline: none; }
.mobile-search-overlay input:focus { border-color: #a19ce0; }
.mobile-search-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); }

/* ============================================================ 21. РІЗНЕ */
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
.page-list li, .topic-title-list li, .site-link-list li { border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; }
.content kbd, .content samp, .content code, .content pre { border: none !important; }
.content pre { padding: 10px 0 !important; }
.mw-ui-icon-mf-expand { background-image: none !important; }
.mw-ui-icon-mf-expand:before { content: "+"; color: white; font-size: 16px; font-weight: bold; display: inline-block; width: 16px; height: 16px; line-height: 1em; text-align: center; vertical-align: middle; }
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 994px) { .harley { display: none; } }
@media (max-width: 720px) { .content table { display: table !important; } }

/* Header banner */
.header-banner { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; margin-bottom: 20px; background-image: url('/images/4/44/Searchbackground.png'); background-size: cover; background-position: center; border-radius: 8px; position: relative; min-height: 80px; }
.header-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%); border-radius: 8px; pointer-events: none; }
.header-banner__logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.header-banner__logo img { width: 50px; height: 50px; object-fit: contain; }
.header-banner__logo > span:last-child { font-size: 24px; font-weight: 700; color: #fff !important; letter-spacing: 1px; 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__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 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; }


/* ── NAV overlap fix: ensure r-box below header ── */
@media screen and (min-width: 1200px) {
    .r-box, .tournament-box, .series-box {
        top: 72px !important;
    }
}


/* ── MOBILE IMPROVEMENTS ── */
@media (max-width: 999px) {
    /* Page title */
    h1.mw-first-heading {
        font-size: 26px !important;
        padding: 0 14px !important;
        margin-top: 10px !important;
    }

    .mcc-hero-sub {
        padding: 0 14px !important;
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }

    /* Player tabs */
    .player-tabs {
        margin: 12px 14px 16px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 0 !important;
    }
    .player-tabs::-webkit-scrollbar { display: none !important; }

    .player-tab {
        padding: 9px 16px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
        flex: none !important;
    }

    /* Content padding */
    .content .mw-parser-output { padding: 0 14px !important; }

    /* Section headings */
    .content .mw-parser-output > h2 {
        font-size: 16px !important;
        margin-top: 32px !important;
    }

    /* Tables */
    .content .mw-parser-output .wikitable td,
    .content .mw-parser-output .wikitable th {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    /* Game filters compact */
    .mcc-games-filters {
        padding: 10px 14px 12px !important;
        gap: 8px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .mcc-games-filters::-webkit-scrollbar { display: none !important; }

    .mcc-filter-select { font-size: 12.5px !important; padding: 6px 22px 6px 9px !important; }
    .mcc-filter-count { display: none !important; }
    .mcc-duration-range { width: 80px !important; }

    /* r-box on mobile */
    .r-box, .tournament-box, .series-box {
        margin: 14px 14px 20px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }

    /* Page actions bottom bar */
    .page-actions-menu {
        left: 0 !important; right: 0 !important;
    }

    .page-actions-menu .cdx-button span:not(.minerva-icon) {
        font-size: 11px !important;
    }
}


/* ════════════════════════════════════════
   SEASON PAGE — специфічні стилі
   ════════════════════════════════════════ */

/* Рейтинг: Σ (остання колонка) — жирний білий */
.content .mw-parser-output .wikitable tbody tr td:last-child {
    color: #ebebeb !important;
    font-weight: 700 !important;
}

/* Але тільки якщо це число (не посилання, не текст) */
.content .mw-parser-output .wikitable tbody tr td:last-child a {
    color: #a19ce0 !important;
    font-weight: 500 !important;
}

/* "Записи ігор" широка таблиця — без правого gap */
.mcc-scroll-outer {
    margin-right: 0 !important;
    overflow: hidden !important;
}

.mcc-scroll-inner {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* Прибираємо градієнт-фейд повністю */
.mcc-scroll-outer::after {
    display: none !important;
    content: none !important;
}

/* Wide table — повна ширина без overflow */
.content .mw-parser-output .wikitable.wide-table,
.content .mw-parser-output .wikitable.full-width {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
    margin-right: 0 !important;
}

/* Scrollbar стиль для wide tables */
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar {
    height: 3px !important;
}
.content .mw-parser-output .wikitable.wide-table::-webkit-scrollbar-thumb,
.content .mw-parser-output .wikitable.full-width::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.3) !important;
    border-radius: 2px !important;
}

/* r-box-gold — виділяємо жовтим */
.r-box-gold,
.r-box-info-table td.r-box-gold {
    color: #d4a843 !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════
   TARGETED FIXES
   ══════════════════════════════════════════════ */

/* 1. H2 section titles — white */
.content .mw-parser-output > h2 .mw-headline,
.content .mw-parser-output > h2,
.content .section-heading .mw-headline {
    color: #ffffff !important;
}

/* 2. Remove external link icon */
.mw-parser-output a.external,
.mw-parser-output a[rel~="nofollow"] {
    background-image: none !important;
    padding-right: 0 !important;
}
.mw-parser-output a.external::after,
.mw-parser-output a[rel~="nofollow"]::after {
    content: none !important;
    display: none !important;
}

/* 3. Нагороди в MCC table — clean layout */

/* Date col */
.content .mw-parser-output .wikitable td[style*="width:80px"],
.content .mw-parser-output .wikitable td[style*="width: 80px"] {
    width: 96px !important;
    min-width: 82px !important;
    max-width: 110px !important;
    color: #9e9aab !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 11px 10px !important;
    white-space: nowrap !important;
}

/* Tournament name col — left aligned */
.content .mw-parser-output .wikitable td[style*="text-align:left"],
.content .mw-parser-output .wikitable td[style*="text-align: left"] {
    text-align: left !important;
    padding-left: 12px !important;
    font-size: 14px !important;
    color: #e8e5f0 !important;
}

/* Prize col — right aligned, white bold */
.content .mw-parser-output .wikitable td[style*="text-align:right"],
.content .mw-parser-output .wikitable td[style*="text-align: right"] {
    text-align: right !important;
    padding-right: 16px !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* Prize = 0 ₴ — muted */
/* JS will handle coloring, CSS gives base */

/* Medal icon in tournament table */
.content .mw-parser-output .wikitable td[style*="text-align:left"] img.mw-file-element {
    width: 18px !important;
    height: 18px !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
    opacity: .9 !important;
}

/* Remove Σ last-child override for awards table (it breaks prize col) */
/* Override only for tables with 3 cols (awards table) */
.content .mw-parser-output .wikitable:has(td[style*="width:80px"]) tbody tr td:last-child {
    color: #ebebeb !important;
    font-weight: 600 !important;
}


/* ══════════════════════════════════════════════
   SEASON RATING TABLE — targeted via JS-added class
   ══════════════════════════════════════════════ */

/* № column */
.mcc-rating-table td:first-child,
.mcc-rating-table th:first-child {
    width: 48px !important; min-width: 36px !important; max-width: 56px !important;
    padding: 10px 8px !important; text-align: center !important;
}

/* Пан/Пані column — left aligned */
.mcc-rating-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
.mcc-rating-table th:nth-child(2) { text-align: left !important; padding-left: 14px !important; }

/* Σ column — white bold */
.mcc-rating-table td:nth-child(3) { color: #ffffff !important; font-weight: 700 !important; }

/* Medal badges */
.mcc-rank-1 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(212,168,67,0.18) !important; border: 1.5px solid rgba(212,168,67,0.55) !important;
    color: #d4a843 !important; font-size: 12px !important; font-weight: 700 !important;
}
.mcc-rank-2 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(180,185,195,0.14) !important; border: 1.5px solid rgba(180,185,195,0.45) !important;
    color: #c0c4cc !important; font-size: 12px !important; font-weight: 700 !important;
}
.mcc-rank-3 {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    background: rgba(192,112,72,0.16) !important; border: 1.5px solid rgba(192,112,72,0.45) !important;
    color: #c07048 !important; font-size: 12px !important; font-weight: 700 !important;
}

/* Games / WR extremes */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }

/* ══════════════════════════════════════════════
   SEASON FINAL TABLE — numbering
   ══════════════════════════════════════════════ */
.mcc-final-table td:first-child {
    width: 40px !important; text-align: center !important;
}
.mcc-final-table td:nth-child(2) {
    text-align: left !important; padding-left: 14px !important;
}

/* ══════════════════════════════════════════════
   FULL-WIDTH PAGES — 16px margins, no r-box/l-box offset
   Apply .page-mcc-fullwidth class via JS, or target by body class
   ══════════════════════════════════════════════ */

/* Pages that use full content width */
.page-Ігри,
.page-Статистика,
.page-Перша_статистика,
.page-Фіналіст,
.page-Сезони,
.page-Гравці,
.page-Фундація,
.page-Призовий_фонд,
.page-Призові,
.page-Титули,
.page-Фіналіст,
.page-Період {
    /* Remove l-box offset — these pages have no l-box/r-box */
}

@media screen and (min-width: 1000px) {
    .page-Ігри .banner-container,
    .page-Ігри .content, .page-Ігри .pre-content, .page-Ігри .post-content,
    .page-Статистика .banner-container,
    .page-Статистика .content, .page-Статистика .pre-content, .page-Статистика .post-content,
    .page-Перша_статистика .banner-container,
    .page-Перша_статистика .content, .page-Перша_статистика .pre-content, .page-Перша_статистика .post-content,
    .page-Фіналіст .banner-container,
    .page-Фіналіст .content, .page-Фіналіст .pre-content, .page-Фіналіст .post-content,
    .page-Сезони .banner-container,
    .page-Сезони .content, .page-Сезони .pre-content, .page-Сезони .post-content,
    .page-Гравці .banner-container,
    .page-Гравці .content, .page-Гравці .pre-content, .page-Гравці .post-content,
    .page-Фундація .banner-container,
    .page-Фундація .content, .page-Фундація .pre-content, .page-Фундація .post-content,
    .page-Призовий_фонд .banner-container,
    .page-Призовий_фонд .content, .page-Призовий_фонд .pre-content, .page-Призовий_фонд .post-content,
    .page-Призові .banner-container,
    .page-Призові .content, .page-Призові .pre-content, .page-Призові .post-content,
    .page-Титули .banner-container,
    .page-Титули .content, .page-Титули .pre-content, .page-Титули .post-content,
    .page-Період .banner-container,
    .page-Період .content, .page-Період .pre-content, .page-Період .post-content {
        margin-left: 16px !important;
        margin-right: 16px !important;
        max-width: none !important;
        width: auto !important;
    }
}

@media screen and (max-width: 999px) {
    .page-Ігри .content, .page-Статистика .content,
    .page-Перша_статистика .content, .page-Фіналіст .content,
    .page-Сезони .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content,
    .page-Призові .content, .page-Титули .content,
    .page-Період .content {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
}

/* Tables on full-width pages */
.page-Ігри .wikitable,
.page-Статистика .wikitable,
.page-Перша_статистика .wikitable,
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    width: 100% !important;
    font-size: 13px !important;
}

.page-Ігри .wikitable td,
.page-Статистика .wikitable td,
.page-Перша_статистика .wikitable td,
.page-Фіналіст .wikitable td,
.page-Сезони .wikitable td,
.page-Гравці .wikitable td,
.page-Фундація .wikitable td,
.page-Призовий_фонд .wikitable td,
.page-Призові .wikitable td,
.page-Титули .wikitable td,
.page-Період .wikitable td {
    padding: 7px 8px !important;
    font-size: 13px !important;
}

/* № column on full-width pages */
.page-Фіналіст .wikitable td:first-child,
.page-Статистика .wikitable td:first-child,
.page-Гравці .wikitable td:first-child,
.page-Сезони .wikitable td:first-child,
.page-Фіналіст .wikitable th:first-child,
.page-Статистика .wikitable th:first-child {
    width: 52px !important; text-align: center !important;
}

.page-Фіналіст .wikitable td:nth-child(2),
.page-Статистика .wikitable td:nth-child(2),
.page-Гравці .wikitable td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}

/* ── Season final table ── */
.mcc-final-table td:first-child { width: 40px !important; text-align: center !important; }
.mcc-final-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }



/* The actual wikitable inside scroll wrapper */
.page-Ігри .mcc-scroll-inner .wikitable,
.page-Статистика .mcc-scroll-inner .wikitable,
.page-Перша_статистика .mcc-scroll-inner .wikitable,
.page-Фіналіст .mcc-scroll-inner .wikitable,
.page-Сезони .mcc-scroll-inner .wikitable,
.page-Гравці .mcc-scroll-inner .wikitable,
.page-Фундація .mcc-scroll-inner .wikitable,
.page-Призовий_фонд .mcc-scroll-inner .wikitable,
.page-Призові .mcc-scroll-inner .wikitable,
.page-Титули .mcc-scroll-inner .wikitable,
.page-Період .mcc-scroll-inner .wikitable {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: auto !important;
}

/* Also without wrapper */
.page-Ігри .mw-parser-output .wikitable,
.page-Статистика .mw-parser-output .wikitable,
.page-Перша_статистика .mw-parser-output .wikitable,
.page-Фіналіст .mw-parser-output .wikitable,
.page-Сезони .mw-parser-output .wikitable,
.page-Гравці .mw-parser-output .wikitable,
.page-Фундація .mw-parser-output .wikitable,
.page-Призовий_фонд .mw-parser-output .wikitable,
.page-Призові .mw-parser-output .wikitable,
.page-Титули .mw-parser-output .wikitable,
.page-Період .mw-parser-output .wikitable {
    width: 100% !important;
    table-layout: auto !important;
    display: table !important;
}







/* ══════════════════════════════════════════════
   FULL-WIDTH PAGES — correct table width fix
   mw-content-text handles overflow-x
   table stays as display:table with width:100%
   ══════════════════════════════════════════════ */

/* Content area scrolls if table overflows */
.page-Ігри #mw-content-text,
.page-Статистика #mw-content-text,
.page-Перша_статистика #mw-content-text,
.page-Фіналіст #mw-content-text,
.page-Сезони #mw-content-text,
.page-Гравці #mw-content-text,
.page-Фундація #mw-content-text,
.page-Призовий_фонд #mw-content-text,
.page-Призові #mw-content-text,
.page-Титули #mw-content-text,
.page-Період #mw-content-text {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Table fills parent as a proper TABLE (not block) */
.page-Ігри .wikitable,
.page-Статистика .wikitable,
.page-Перша_статистика .wikitable,
.page-Фіналіст .wikitable,
.page-Сезони .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable {
    display: table !important;
    width: 100% !important;
    overflow-x: visible !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
}

/* Scrollbar style for full-width content overflow */
.page-Ігри #mw-content-text::-webkit-scrollbar,
.page-Статистика #mw-content-text::-webkit-scrollbar,
.page-Перша_статистика #mw-content-text::-webkit-scrollbar,
.page-Фіналіст #mw-content-text::-webkit-scrollbar,
.page-Гравці #mw-content-text::-webkit-scrollbar,
.page-Період #mw-content-text::-webkit-scrollbar {
    height: 4px;
}
.page-Ігри #mw-content-text::-webkit-scrollbar-thumb,
.page-Статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Перша_статистика #mw-content-text::-webkit-scrollbar-thumb,
.page-Фіналіст #mw-content-text::-webkit-scrollbar-thumb,
.page-Гравці #mw-content-text::-webkit-scrollbar-thumb,
.page-Період #mw-content-text::-webkit-scrollbar-thumb {
    background: rgba(161,156,224,0.28);
    border-radius: 2px;
}

/* ══════════════════════════════════════════════
   SERIES CHAMPION BANNERS — variant colors
   ══════════════════════════════════════════════ */

/* Get Names series — green/teal */
.rp-champion--series {
    border: 1px solid rgba(90,170,130,0.30) !important;
    background: rgba(90,170,130,0.07) !important;
}
.rp-champion--series .rp-ch-lbl { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }

/* Closed Cups — purple/violet */
.rp-champion--closed {
    border: 1px solid rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
.rp-champion--closed .rp-ch-lbl { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }

/* ══════════════════════════════════════════════
   TABLE CLASSES — closedcups / rank / getnames
   Medals added by JS
   ══════════════════════════════════════════════ */

/* All three use same base — medals via JS */
.wikitable.closedcups td:nth-child(2),
.wikitable.rank td:nth-child(2),
.wikitable.getnames td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}

/* Get Names Σ column (last) — white bold */
.wikitable.getnames td:last-child {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════
   ROLE PILLS — correct mafia game colors
   Мирний=red, Шериф=gold, Дон=grey, Мафія=dark grey
   ══════════════════════════════════════════════ */

/* Override previous green colors */
.mcc-pill-done[style*="rgb(125, 212"] {
    /* Мирний — was green, now red */
}

/* These are applied via JS applyRolePills — override the map in CSS via !important on span */

/* ══════════════════════════════════════════════
   R-BOX INFO TABLE FIXES
   ══════════════════════════════════════════════ */
.r-box-info-table th, .r-box table th, .tournament-box table th,
.series-box table th {
    padding: 4px 6px !important;
    font-size: 13px !important;
    opacity: 1 !important;
    width: auto !important;
    font-weight: 400 !important;
    color: #b7b4bf !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}

.r-box-info-table td, .r-box table td, .tournament-box table td,
.series-box table td {
    padding: 4px 6px !important;
    font-size: 13px !important;
    width: auto !important;
    text-align: right !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important;
}

/* ══════════════════════════════════════════════
   CHAMPION BANNERS — all variants
   ══════════════════════════════════════════════ */
.rp-champion {
    margin: 10px 0 6px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(168,212,255,0.25);
    background: rgba(168,212,255,0.06);
}
.rp-champion .rp-ch-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a8d4ff;
    margin-bottom: 2px;
}
.rp-champion .rp-ch-name {
    font-size: 15px;
    font-weight: 700;
    color: #c8e4ff;
}
.rp-champion .rp-ch-name a,
.rp-champion .rp-ch-name a:visited { color: #c8e4ff; text-decoration: none; }

/* Series (Get Names) — green */
.rp-champion--series {
    border-color: rgba(90,170,130,0.30) !important;
    background: rgba(90,170,130,0.07) !important;
}
.rp-champion--series .rp-ch-lbl  { color: #5aaa82 !important; }
.rp-champion--series .rp-ch-name { color: #8de0b8 !important; }
.rp-champion--series .rp-ch-name a,
.rp-champion--series .rp-ch-name a:visited { color: #8de0b8 !important; }

/* Closed Cups — purple */
.rp-champion--closed {
    border-color: rgba(161,156,224,0.30) !important;
    background: rgba(161,156,224,0.07) !important;
}
.rp-champion--closed .rp-ch-lbl  { color: #a19ce0 !important; }
.rp-champion--closed .rp-ch-name { color: #c4bfff !important; }
.rp-champion--closed .rp-ch-name a,
.rp-champion--closed .rp-ch-name a:visited { color: #c4bfff !important; }

/* ══════════════════════════════════════════════
   TABLE CLASSES — closedcups / rank / getnames
   ══════════════════════════════════════════════ */
.wikitable.closedcups td:nth-child(2),
.wikitable.rank       td:nth-child(2),
.wikitable.getnames   td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}

/* Get Names — Σ last col white bold */
.wikitable.getnames   td:last-child { color: #ffffff !important; font-weight: 700 !important; }

/* ══════════════════════════════════════════════
   RATING TABLE EXTREMES
   ══════════════════════════════════════════════ */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi    { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo    { color: #ff7575 !important; font-weight: 600 !important; }

/* ══════════════════════════════════════════════
   TOURNAMENT FINAL — special prestige styling
   ══════════════════════════════════════════════ */

.tournament-final-box {
    border: 1px solid rgba(212,168,67,0.22) !important;
    background: linear-gradient(160deg, rgba(22,19,30,0.98) 0%, rgba(26,22,16,0.98) 100%) !important;
    box-shadow: 0 0 32px rgba(212,168,67,0.06), inset 0 0 0 1px rgba(212,168,67,0.10) !important;
}

/* Decorative top line */
.tournament-final-box::before {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212,168,67,0.20) 20%,
        rgba(212,168,67,0.55) 50%,
        rgba(212,168,67,0.20) 80%,
        transparent 100%);
}

/* Nav */
.tournament-final-box .tournament-nav .tournament-nav-name {
    color: #d4a843 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: .03em !important;
}

/* Prize pool — highlighted separately */
.tf-prize-block {
    margin: 10px 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(212,168,67,0.28);
    background: rgba(212,168,67,0.06);
}
.tf-prize-block .tf-prize-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(212,168,67,0.65);
    margin-bottom: 2px;
}
.tf-prize-block .tf-prize-val {
    font-size: 22px;
    font-weight: 800;
    color: #d4a843;
    letter-spacing: .02em;
    font-family: 'Manrope', sans-serif;
}

/* Podium — 3 place blocks */
.tf-podium {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 4px;
}
.tf-place {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid transparent;
}
.tf-place-1 {
    background: rgba(212,168,67,0.09);
    border-color: rgba(212,168,67,0.22);
}
.tf-place-2 {
    background: rgba(180,185,195,0.07);
    border-color: rgba(180,185,195,0.16);
}
.tf-place-3 {
    background: rgba(192,112,72,0.07);
    border-color: rgba(192,112,72,0.16);
}
.tf-place-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.tf-place-1 .tf-place-badge { background: rgba(212,168,67,0.18); border: 1.5px solid rgba(212,168,67,0.55); color: #d4a843; }
.tf-place-2 .tf-place-badge { background: rgba(180,185,195,0.14); border: 1.5px solid rgba(180,185,195,0.45); color: #c0c4cc; }
.tf-place-3 .tf-place-badge { background: rgba(192,112,72,0.16); border: 1.5px solid rgba(192,112,72,0.45); color: #c07048; }

.tf-place-name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: #e8e5f0;
}
.tf-place-name a, .tf-place-name a:visited { color: #a19ce0; text-decoration: none; }
.tf-place-1 .tf-place-name a, .tf-place-1 .tf-place-name a:visited { color: #d4a843; }

.tf-place-prize {
    font-size: 11px;
    color: rgba(212,168,67,0.65);
    font-weight: 500;
    white-space: nowrap;
}
.tf-place-1 .tf-place-prize { color: rgba(212,168,67,0.80); font-weight: 700; }

/* ══════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════ */



.mcc-home { padding-bottom: 40px; }

/* ── HERO ── */
.mcc-home-hero {
    position: relative;
    margin: -8px -16px 24px;
    padding: 28px 24px 20px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mcc-home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(161,156,224,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(212,168,67,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.mcc-home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    min-width: 80px;
}
.mcc-home-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #e8e5f0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.mcc-home-stat-lbl {
    font-size: 11px;
    color: rgba(161,156,224,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px;
}
.mcc-home-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
}

/* ── FEATURED LINKS ── */
.mcc-home-featured {
    display: grid;
    margin-top: 60px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 700px) { .mcc-home-featured { grid-template-columns: 1fr; } }

.mcc-home-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(18,16,26,0.65);
    text-decoration: none !important;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
    cursor: pointer;
}
.mcc-home-feat:hover {
    transform: translateY(-2px);
    background: rgba(30,26,42,0.85);
}
.mcc-home-feat--gold  { border-color: rgba(212,168,67,0.22); background: rgba(26,22,16,0.80); }
.mcc-home-feat--gold:hover { border-color: rgba(212,168,67,0.40); }
.mcc-home-feat--silver { border-color: rgba(180,185,195,0.18); }
.mcc-home-feat--accent { border-color: rgba(161,156,224,0.20); }
.mcc-home-feat:hover .mcc-home-feat--accent { border-color: rgba(161,156,224,0.35); }

.mcc-home-feat-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.mcc-home-feat-body { flex: 1; min-width: 0; }
.mcc-home-feat-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #e8e5f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mcc-home-feat--gold .mcc-home-feat-title { color: #d4a843; }
.mcc-home-feat-sub { font-size: 11.5px; color: rgba(180,178,196,0.55); margin-top: 2px; }
.mcc-home-feat-arrow { font-size: 16px; color: rgba(180,178,196,0.30); flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.mcc-home-feat:hover .mcc-home-feat-arrow { color: rgba(161,156,224,0.70); transform: translateX(3px); }

/* ── 3-COL GRID ── */
.mcc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 900px) { .mcc-home-grid { grid-template-columns: 1fr; } }

/* ── PANEL ── */
.mcc-home-panel {
    background: rgba(16,14,24,0.70);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
}
.mcc-home-panel--players { margin-bottom: 8px; }

.mcc-home-panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: background 0.15s;
}
.mcc-home-panel-hd:hover { background: rgba(0,0,0,0.2); }
.mcc-home-panel-title { font-size: 13px; font-weight: 600; color: #d4d2e0; }
.mcc-home-panel-toggle {
    font-size: 14px;
    color: #fff;
    transition: transform 0.22s;
    display: inline-block;
}
.mcc-home-panel-hd.collapsed .mcc-home-panel-toggle { transform: rotate(-90deg); }

.mcc-home-panel-bd {
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.22s;
    max-height: 99999px;
    opacity: 1;
}
.mcc-home-panel-bd.collapsed {
    max-height: 0 !important;
    opacity: 0;
}

/* ── CHAMP ROWS ── */
.mcc-home-champ-header {
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(180,178,196,0.40) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    pointer-events: none;
}
.mcc-home-champ-row {
    display: grid;
    grid-template-columns: 44px 1fr 1fr;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #d4d2e0;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.13s;
}
.mcc-home-champ-row:last-of-type { border-bottom: none; }
.mcc-home-champ-row:hover:not(.mcc-home-champ-header) { background: rgba(161,156,224,0.06); }
.mcc-home-champ-row a, .mcc-home-champ-row a:visited { color: #a19ce0; text-decoration: none; }

.mcc-season-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(161,156,224,0.10);
    font-size: 11px;
    font-weight: 700;
    color: #d4a843;
}
.mcc-champ-name { color: #e8e5f0; font-weight: 600; text-align: right; }

/* Get Names — 3 cols */
.mcc-home-panel:nth-child(2) .mcc-home-champ-row,
.mcc-home-panel:nth-child(2) .mcc-home-champ-header {
    grid-template-columns: 44px 1fr auto;
}
.mcc-home-panel:nth-child(2) .mcc-champ-name { text-align: right; font-size: 12px; }



.mcc-home-panel-footer {
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: right;
}
.mcc-home-panel-footer a { font-size: 12px; color: rgba(161,156,224,0.60); text-decoration: none; }
.mcc-home-panel-footer a:hover { color: #a19ce0; }



/* ══════════════════════════════════════════════
   PLAYER CARDS — smaller size, tighter grid
   ══════════════════════════════════════════════ */
.mcc-heroes-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 8px !important;
}

/* Player card inner image — smaller height */
.mcc-heroes-list .home__block-image,
.mcc-heroes-list li .home__block-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
}

/* Make the card li behave properly */
.mcc-heroes-list > li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Ensure inner block fills the li */
.mcc-heroes-list > li > * {
    width: 100% !important;
    height: 100% !important;
}





/* ══════════════════════════════════════════════
   HOME PAGE — correct layout (margin-left:265px stays,
   no r-box, content fills to 1340px from left)
   ══════════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
    .page-Головна_сторінка .content,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content {
        margin-left: 340px !important;
        margin-right: 340px !important;
        padding: 0 !important;
        max-width: none !important;
        width: auto !important;
        box-sizing: content-box !important;
    }
}

#players-panel {
    max-height: none !important;
    overflow: visible !important;
}



/* ── Closed Cups panel (3rd) — 3 cols ── */
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-row {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-home-champ-header {
    grid-template-columns: 40px 1fr auto !important;
}
.mcc-home-grid .mcc-home-panel:nth-child(3) .mcc-champ-name {
    text-align: right !important;
    font-size: 12px !important;
    color: #e8e5f0; font-weight: 600;
}

/* ══════════════════════════════════════════════
   HOME HERO BANNER — full width, Фінал Року
   ══════════════════════════════════════════════ */
.mcc-home-hero-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    padding: 20px 28px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,140,40,0.30);
    background:
        linear-gradient(110deg,
            rgba(180,70,10,0.85) 0%,
            rgba(220,110,20,0.80) 30%,
            rgba(240,150,40,0.70) 55%,
            rgba(200,90,10,0.80) 80%,
            rgba(160,50,5,0.90) 100%);
    box-shadow: 0 4px 32px rgba(220,100,10,0.18), inset 0 1px 0 rgba(255,200,100,0.12);
    transition: filter 0.18s, transform 0.18s;
    text-decoration: none !important;
}
.mcc-home-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 70% 50%, rgba(255,180,60,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mcc-home-hero-banner:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.mcc-hero-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,220,140,0.75);
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,200,80,0.25);
    border-radius: 4px;
    padding: 3px 9px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mcc-hero-prize {
    font-size: 26px;
    font-weight: 900;
    color: #ffe47a;
    letter-spacing: -0.02em;
    font-family: 'Manrope', sans-serif;
    text-shadow: 0 2px 12px rgba(255,160,30,0.40);
    white-space: nowrap;
    flex-shrink: 0;
}

.mcc-hero-champ {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,240,210,0.90);
}
.mcc-hero-champ a,
.mcc-hero-champ a:visited {
    color: #ffe47a !important;
    text-decoration: none !important;
    font-weight: 700;
}

.mcc-hero-arrow {
    font-size: 20px;
    color: rgba(255,200,80,0.50);
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}
.mcc-home-hero-banner:hover .mcc-hero-arrow {
    color: rgba(255,220,100,0.85);
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════
   HOME PANEL HEADERS — neon blue gradient
   ══════════════════════════════════════════════ */
.mcc-home-panel-hd {
    position: relative;
    overflow: hidden;
}
.mcc-home-panel-hd::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 140% at 0% 50%, rgb(132 17 255 / 16%) 0%, transparent 60%), radial-gradient(ellipse 30% 80% at 100% 50%, rgb(255 44 96 / 8%) 0%, transparent 55%);
    pointer-events: none;
}

.mcc-home-panel-title {
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}
.mcc-home-panel-toggle {
    color: rgba(0,180,255,0.38) !important;
}

/* Champion names in Seasons panel — orange like prize money */
.mcc-home-grid .mcc-home-panel:nth-child(1) .mcc-champ-name {
    color: #e8e5f0; font-weight: 600;
}