Немає опису редагування
Немає опису редагування
Рядок 1361: Рядок 1361:
@media (max-width: 480px) {
@media (max-width: 480px) {
     .header-banner__logo > span:last-child { display: none; }
     .header-banner__logo > span:last-child { display: none; }
}
/* ============================================================
  ФІКС 1 — Широка таблиця "Запис ігор" горизонтальний скрол
  CSS-only підхід через display:block на таблиці
  ============================================================ */
.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;
    max-width: 100% !important;
    /* Зберігаємо thead/tbody правильним */
    white-space: nowrap !important;
}
/* Всередині wide таблиць — cells можуть переносити */
.content .mw-parser-output .wikitable.wide-table td,
.content .mw-parser-output .wikitable.full-width td {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
}
/* ============================================================
  ФІКС 2 — Profile icons: 4 в ряд
  ============================================================ */
.r-box .profile-links {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 0 !important;
    margin: 0 !important;
}
.r-box .profile-links-icons,
.profile-links-icons {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
}
.r-box .profile-icon,
.profile-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 6px !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    background: rgba(24,21,30,0.4) !important;
    transition: background 0.14s !important;
    cursor: pointer !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    flex: none !important;
}
.r-box .profile-icon:last-child,
.profile-icon:last-child {
    border-right: none !important;
}
.r-box .profile-icon:hover:not(.inactive) {
    background: #373752 !important;
}
.r-box .profile-icon img,
.profile-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    display: block !important;
    /* скидаємо MediaWiki обгортку посилання */
    max-width: 24px !important;
}
/* MediaWiki додає <a> та <span> всередині [[File:]] */
.profile-icon a,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}
.profile-icon .mw-file-description img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
}
/* Inactive — чб + 30% */
.profile-icon.inactive {
    opacity: 0.28 !important;
    pointer-events: none !important;
    cursor: default !important;
}
.profile-icon.inactive img,
.profile-icon.inactive .mw-file-description img {
    filter: grayscale(100%) !important;
}
/* ============================================================
  ФІКС 3 — Вінрейт кольори (підтримка різних форматів %)
  ============================================================ */
/* CSS-fallback для відомих діапазонів у таблицях де JS не спрацював.
  JS-функція applyWinrateColors() також запускається — це страховка. */
/* Ці класи додає JS — визначаємо чіткіше */
.wikitable td.wr-hi,
.wikitable td.wr-hi * { color: #5aaa80 !important; }
.wikitable td.wr-lo,
.wikitable td.wr-lo * { color: #c06070 !important; }
/* ============================================================
  ФІКС 4 — R-box трохи ширший (більше місця для рядків)
  ============================================================ */
.r-box,
.tournament-box,
.series-box {
    width: 310px !important;
}
.r-box-info-table th,
.r-box-info-table td {
    padding: 9px 14px !important;
    font-size: 12.5px !important;
}
/* "Мін. к-сть ігор" — текст не переносить дивно */
.r-box-info-table th {
    white-space: nowrap !important;
}
.r-box-info-table td {
    word-break: break-word !important;
    white-space: normal !important;
}
}

Версія за 15:31, 6 квітня 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. БАЗОВІ СТИЛІ
   ============================================================ */

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;
}

html {
    overflow-y: scroll !important;
    scrollbar-gutter: stable !important;
}

/* Прозорі обгортки щоб фон проглядався */
#mw-mf-viewport,
#mw-mf-page-center,
#content,
.mw-body {
    background-color: transparent !important;
}

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

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

/* Padding під фіксований header */
.mw-body {
    padding-top: 70px !important;
}

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

/* ============================================================
   2. ПОСИЛАННЯ
   ============================================================ */

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

/* ============================================================
   3. ТИПОГРАФІКА
   ============================================================ */

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

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

/* H2 секції */
.content .mw-parser-output > h2,
.content .section-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ebebeb !important;
    border-bottom: 1px solid #232b3a !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    margin-top: 48px !important;
    margin-bottom: 18px !important;
}

/* Scroll offset — щоб секція не ховалась під header при anchor */
.mw-parser-output h2,
.mw-parser-output .mw-headline {
    scroll-margin-top: 80px !important;
}

blockquote {
    border-left: 4px solid #e74c3c;
    border-bottom: 1px solid rgba(231,76,60,0.2);
    padding: 20px 24px;
    font-family: 'Linux Libertine', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    background: rgba(231,76,60,0.04);
    border-radius: 2px 12px 12px 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.content hr {
    background-color: #3a3a4a !important;
    height: 2px !important;
    border: 0 !important;
}

@media (max-width: 720px) {
    .content hr {
        display: none !important;
    }
}

/* ============================================================
   4. HEADER
   ============================================================ */

.header-container.header-chrome {
    background-color: rgba(30,30,42,0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05) !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 1000 !important;
    padding: 0 20px !important;
    margin-left: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

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

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

/* Логотип + назва */
.minerva-header .branding-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

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

.minerva-header .branding-box a::before {
    content: '' !important;
    display: block !important;
    width: 40px !important; height: 40px !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: 18px !important;
    font-weight: 600 !important;
    color: #fff !important;
    white-space: nowrap !important;
    font-family: 'Manrope', sans-serif !important;
}

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

/* Пошук */
.minerva-header .minerva-search-form {
    flex-grow: 1 !important;
    max-width: 400px !important;
    margin-left: auto !important;
}

.minerva-header .search-box { width: 100% !important; position: relative !important; }

.minerva-header .search-box .search {
    width: 100% !important;
    padding: 10px 16px 10px 40px !important;
    border-radius: 8px !important;
    background-color: #15151f !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
}

.minerva-header .search-box .search::placeholder { color: rgba(255,255,255,0.35) !important; }
.minerva-header .search-box .search:focus { border-color: #a19ce0 !important; outline: none !important; }

.minerva-header .search-box::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-user-navigation > *:last-child { display: none !important; }
.minerva-user-navigation .minerva-notifications { display: none !important; }
.minerva-header .navigation-drawer .toggle-list__toggle { display: none !important; }
.minerva-icon--menu-base20, .minerva-icon--menu {
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}

/* Ховаємо зайве */
.minerva-footer { display: none !important; }
.minerva__tab-container { display: none !important; }
.page-actions-menu { display: none !important; }
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
.image-details.is-visible { display: none !important; }
#toc, .toc { display: none !important; }

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

.page-Main_Page .mw-first-heading,
.page-Головна_сторінка .mw-first-heading { display: none !important; }

.page-Main_Page #page-secondary-actions a,
.page-Головна_сторінка #page-secondary-actions a { display: none !important; }

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

@media (max-width: 720px) {
    .minerva-header .branding-box a span { display: none !important; }
}

/* ============================================================
   5. ПОШУК — блокування overlay
   ============================================================ */

.overlay.search-overlay,
.search-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body.overlay-enabled,
body.search-enabled {
    overflow: auto !important;
    position: static !important;
    background-color: #15151f !important;
}

#searchInput { pointer-events: auto !important; cursor: text !important; }

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

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

.overlay.search-overlay .search-content .caption { padding-left: 30px !important; }
.overlay.search-overlay .results,
.overlay.search-overlay .search-feedback {
    background-color: #18151e !important;
    color: white !important;
    box-shadow: none !important;
}

/* ============================================================
   6. КОНТЕНТ — відступ від l-box
   ============================================================ */

@media screen and (min-width: 1000px) {
    .banner-container,
    .minerva-anon-talk-message,
    .page-header-bar,
    .overlay-header,
    .content,
    .overlay-content,
    .content-unstyled,
    .pre-content,
    .post-content,
    #mw-content-text > form {
        margin-left: 280px !important;
    }

    /* Головна — центрована */
    .page-Головна_сторінка .banner-container,
    .page-Головна_сторінка .minerva-anon-talk-message,
    .page-Головна_сторінка .page-header-bar,
    .page-Головна_сторінка .overlay-header,
    .page-Головна_сторінка .content,
    .page-Головна_сторінка .overlay-content,
    .page-Головна_сторінка .content-unstyled,
    .page-Головна_сторінка .pre-content,
    .page-Головна_сторінка .post-content,
    .page-Головна_сторінка #mw-content-text > form {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 1200px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Сторінки з широкими таблицями */
    .page-Ігри .content,
    .page-Статистика .content,
    .page-Гравці .content,
    .page-Фундація .content,
    .page-Призовий_фонд .content,
    .page-Призові .content,
    .page-Фіналіст .content,
    .page-Титули .content,
    .page-Період .content,
    .page-Перша_статистика .content {
        margin-left: 16px !important;
        margin-right: 16px !important;
        width: calc(100% - 32px) !important;
        max-width: none !important;
    }
}

/* Media overlay — залишаємо робочим */
.mw-mmv-overlay,
.mw-mmv-image-wrapper,
.mw-mmv-main,
.overlay.media-overlay {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    left: 0 !important;
}

/* ============================================================
   7. WIKITABLE — основні стилі
   ============================================================ */

.wikitable {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    background-color: transparent !important;
    font-family: 'Manrope', sans-serif !important;
}

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

/* Непарні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td {
    background-color: rgba(24,21,30,0.32) !important;
}

/* Парні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(even) > td {
    background-color: rgba(24,21,30,0.55) !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.05) !important;
    padding: 10px 14px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    color: #b7b4bf !important;
    vertical-align: middle !important;
}

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

/* Перший/останній рядок */
.content .mw-parser-output .wikitable > tbody > tr:first-child > td,
.content .mw-parser-output .wikitable > * > tr:first-child > td {
    border-top: none !important;
}

.content .mw-parser-output .wikitable > tbody > tr:last-child > td,
.content .mw-parser-output .wikitable > * > tr:last-child > td {
    border-bottom: none !important;
}

.content .mw-parser-output .wikitable td {
    vertical-align: middle !important;
}

/* Посилання в таблицях */
.content .mw-parser-output .wikitable td a {
    color: #a19ce0 !important;
    font-weight: 500 !important;
}

.content .mw-parser-output .wikitable td a:hover {
    color: #c4bfff !important;
    text-decoration: underline !important;
}

/* External links в таблицях — без іконки */
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }

/* ============================================================
   8. СОРТУВАННЯ
   ============================================================ */

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
    background-color: rgba(24,21,30,0.82) !important;
    color: #e8e6df !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: 11px 14px !important;
    padding-right: 24px !important;
    background-image: none !important;
    cursor: pointer !important;
    position: relative !important;
    user-select: none !important;
    white-space: nowrap !important;
    border-bottom: 2px solid rgba(161,156,224,0.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;
    font-size: 11px !important;
}

.jquery-tablesorter th.headerSortDown::after {
    content: "▼" !important;
    color: #a19ce0 !important;
    font-size: 11px !important;
}

/* Hover */
.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.28) !important;
    transition: background-color 0.15s ease !important;
}

/* ============================================================
   9. АНІМАЦІЯ РЯДКІВ
   ============================================================ */

.wikitable tbody tr {
    animation: mcc-row-in 0.30s ease both;
}

.wikitable tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.wikitable tbody tr:nth-child(2)  { animation-delay: 0.06s; }
.wikitable tbody tr:nth-child(3)  { animation-delay: 0.09s; }
.wikitable tbody tr:nth-child(4)  { animation-delay: 0.12s; }
.wikitable tbody tr:nth-child(5)  { animation-delay: 0.15s; }
.wikitable tbody tr:nth-child(6)  { animation-delay: 0.18s; }
.wikitable tbody tr:nth-child(7)  { animation-delay: 0.21s; }
.wikitable tbody tr:nth-child(8)  { animation-delay: 0.24s; }
.wikitable tbody tr:nth-child(9)  { animation-delay: 0.27s; }
.wikitable tbody tr:nth-child(10) { animation-delay: 0.30s; }
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; }

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

/* Після сортування — клас додається JS */
.wikitable.mcc-sorting tbody tr { animation: none; }
.wikitable.mcc-sorted  tbody tr { animation: mcc-row-in 0.25s ease both; }
.wikitable.mcc-sorted tbody tr:nth-child(1)  { animation-delay: 0.02s; }
.wikitable.mcc-sorted tbody tr:nth-child(2)  { animation-delay: 0.04s; }
.wikitable.mcc-sorted tbody tr:nth-child(3)  { animation-delay: 0.06s; }
.wikitable.mcc-sorted tbody tr:nth-child(4)  { animation-delay: 0.08s; }
.wikitable.mcc-sorted tbody tr:nth-child(5)  { animation-delay: 0.10s; }
.wikitable.mcc-sorted tbody tr:nth-child(6)  { animation-delay: 0.12s; }
.wikitable.mcc-sorted tbody tr:nth-child(7)  { animation-delay: 0.14s; }
.wikitable.mcc-sorted tbody tr:nth-child(8)  { animation-delay: 0.16s; }
.wikitable.mcc-sorted tbody tr:nth-child(9)  { animation-delay: 0.18s; }
.wikitable.mcc-sorted tbody tr:nth-child(10) { animation-delay: 0.20s; }
.wikitable.mcc-sorted tbody tr:nth-child(n+11) { animation-delay: 0.22s; }

/* ============================================================
   10. ШИРОКІ ТАБЛИЦІ — горизонтальний скрол
   ============================================================ */

/* Обгортка — додається JS */
.mcc-scroll-outer {
    position: relative;
}

.mcc-scroll-outer::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(21,21,31,0.90));
    pointer-events: none;
    transition: opacity 0.25s;
    border-radius: 0 6px 6px 0;
}

.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; }

.mcc-scroll-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mcc-wide-table { min-width: 860px; }

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

/* Компактний стиль для широких таблиць */
.wide-table,
.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: 12px !important;
    table-layout: auto !important;
}

/* ============================================================
   11. ВІНРЕЙТ — кольорове підсвічення
   ============================================================ */

.wr-hi { color: #5aaa80 !important; }
.wr-lo { color: #c06070 !important; }

/* ============================================================
   12. L-BOX — БІЧНЕ МЕНЮ
   ============================================================ */

.l-box {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 100;
    width: 220px;
    background: none;
    font-size: 13.5px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.l-box-item {
    display: flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-left: 3px solid transparent !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;
}

.l-box-item span:first-child { flex: 1; }

.l-box-item:hover {
    background: #373752 !important;
    border-left-color: #555 !important;
    color: #fff !important;
}

.l-box-item.active {
    background: #373752 !important;
    border-left-color: #8ab4f8 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.l-box-item-last { border-bottom: none !important; }

/* Badge — помаранчевий */
.mcc-badge {
    background: rgba(210,130,60,0.18);
    border-radius: 20px;
    padding: 1px 7px;
    font-size: 10.5px;
    color: #d4895a;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: 6px;
}

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

/* ============================================================
   13. R-BOX — ПРАВА ПАНЕЛЬ
   ============================================================ */

.r-box,
.tournament-box,
.series-box {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    z-index: 100 !important;
    width: 300px !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    padding: 0 !important;

    background: rgba(22,20,30,0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid #232b3a !important;
    border-radius: 10px !important;
}

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

.r-box figure img,
.tournament-box figure img,
.series-box figure img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Champion banner */
.rp-champion {
    border: 1px solid rgba(255,215,0,0.18);
    border-radius: 6px;
    background: rgba(255,215,0,0.05);
    padding: 12px 14px;
    text-align: center;
    margin: 12px;
}

.rp-ch-lbl {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #c8a840;
    opacity: .8;
    margin-bottom: 3px;
}

.rp-ch-name {
    font-size: 17px;
    font-weight: 800;
    color: #ffd700;
    font-family: 'Manrope', sans-serif;
}

/* Info таблиця всередині r-box */
.r-box-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: none !important;
    text-align: left !important;
}

.r-box-info-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    animation: none !important; /* без анімації в info таблиці */
}

.r-box-info-table tr:last-child { border-bottom: none !important; }

.r-box-info-table th,
.r-box-info-table td {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    font-family: 'Manrope', sans-serif !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.r-box-info-table th {
    font-weight: 500 !important;
    color: #b7b4bf !important;
    opacity: .55 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    width: 50% !important;
}

.r-box-info-table td {
    text-align: right !important;
    color: #ebebeb !important;
    font-weight: 600 !important;
    width: 50% !important;
}

.r-box-gold { color: #c8a840 !important; }

/* Навігація (стрілки) всередині r-box */
.tournament-nav,
.series-nav,
.player-nav,
.championship-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 14px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    font-family: 'Manrope', sans-serif !important;
    background: rgba(18,15,24,0.9) !important;
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 1px solid #232b3a !important;
}

.tournament-nav-prev, .tournament-nav-next,
.series-nav-prev, .series-nav-next,
.player-nav-prev, .player-nav-next,
.championship-nav-prev, .championship-nav-next {
    font-size: 18px !important;
    font-weight: bold !important;
    min-width: 28px !important;
    text-align: center !important;
}

.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.player-nav-prev a, .player-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
    color: #b7b4bf !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.player-nav-prev a:hover, .player-nav-next a:hover,
.championship-nav-prev a:hover, .championship-nav-next a:hover {
    color: #fff !important;
}

.tournament-nav-name,
.series-nav-name,
.player-nav-name,
.championship-nav-name {
    flex: 1 !important;
    text-align: center !important;
    font-weight: 700 !important;
    color: white !important;
    font-size: 15px !important;
    font-family: 'Manrope', sans-serif !important;
}

/* R-box мобільна */
@media (max-width: 1200px) {
    .r-box, .tournament-box, .series-box {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 20px 0 !important;
        top: auto !important; right: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        border-radius: 8px !important;
    }
}

/* R-box мобільна — фото */
@media (max-width: 768px) {
    .r-box figure a.mw-file-description {
        display: block;
        width: 100%;
        aspect-ratio: 3 / 2;
        overflow: hidden;
    }

    .r-box figure .mw-file-element,
    .r-box figure img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center center;
    }
}

/* ============================================================
   14. PLAYER TABS
   ============================================================ */

.player-tabs {
    display: flex;
    border-bottom: 2px solid #3a3a4a;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 0;
}

.player-tab {
    padding: 12px 24px;
    cursor: pointer;
    color: rgba(255,255,255,0.38);
    font-size: 14.5px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.18s, border-color 0.18s;
    user-select: none;
}

.player-tab:hover { color: rgba(255,255,255,0.7); background: transparent; }

.player-tab.active {
    color: #fff !important;
    border-bottom-color: #a19ce0 !important;
    background: transparent !important;
}

.player-tab-content { display: none; }

.player-tab-content.active {
    display: block;
    animation: mcc-fade-in 0.28s ease both;
}

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

.tab-loader {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
}

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

@keyframes mcc-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .player-tabs { margin-top: 16px; margin-bottom: 16px; }
    .player-tab { padding: 10px 16px; font-size: 13px; flex: 1; text-align: center; }
}

/* ============================================================
   15. STAT PILLS
   ============================================================ */

.mcc-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.mcc-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #18151e;
    border: 1px solid #232b3a;
    border-radius: 8px;
    padding: 8px 14px;
}

.mcc-stat-pill-lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b7b4bf;
    opacity: .5;
}

.mcc-stat-pill-val {
    font-size: 14px;
    font-weight: 700;
    color: #ebebeb;
}

/* ============================================================
   16. КНОПКА ЗАПИСУ ГРИ
   ============================================================ */

.game-record-btn {
    display: inline-block;
    padding: 3px 9px;
    background-color: rgba(208,47,47,0.18);
    color: #e08080;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: background-color 0.15s;
    border: 1px solid rgba(208,47,47,0.25);
}

.game-record-btn:hover { background-color: rgba(208,47,47,0.35); opacity: 1; }
.game-record-btn a { color: #e08080 !important; text-decoration: none !important; }

/* ============================================================
   17. PROFILE LINKS — 4 квадрати
   ============================================================ */

.profile-links {
    margin-top: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.profile-links-title { display: none; }

.profile-links-icons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 0 !important;
}

.profile-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 8px !important;
    border-right: 1px solid rgba(255,255,255,0.07);
    background: rgba(24,21,30,0.4);
    transition: background 0.14s;
    cursor: pointer;
}

.profile-icon:last-child { border-right: none; }
.profile-icon:hover { background: #373752; }

.profile-icon img {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
}

/* Неактивний */
.profile-icon.inactive {
    opacity: 0.28;
    pointer-events: none;
    cursor: default;
}

.profile-icon.inactive img { filter: grayscale(100%); }

/* ============================================================
   18. МОБІЛЬНИЙ ПОШУК
   ============================================================ */

.mobile-search-btn {
    display: none;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.10);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
    transition: background 0.2s;
}

.mobile-search-btn:hover { background: rgba(255,255,255,0.20); }
.mobile-search-btn svg { display: block; }

.mobile-search-overlay {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1001;
    background: rgba(21,21,31,0.98);
    padding: 12px;
    align-items: flex-start;
    gap: 10px;
}

.mobile-search-overlay.active { display: flex; }

.mobile-search-overlay input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: #23232c;
    color: white;
    outline: none;
}

.mobile-search-overlay input:focus { border-color: #a19ce0; }
.mobile-search-overlay input::placeholder { color: rgba(255,255,255,0.4); }

.mobile-search-close {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #888;
    cursor: pointer; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
}

.mobile-search-close:hover { color: white; background: rgba(255,255,255,0.10); }

/* ============================================================
   19. ГОЛОВНА СТОРІНКА — БЛОКИ
   ============================================================ */

.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; border-radius: 0;
    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-content-title { padding-bottom: 10px; }
    .home__block { width: 100%; }
    .home__block-content-inner { margin-bottom: 10px; }
}

/* ============================================================
   20. ГЕРОЇ — ГОЛОВНА СТОРІНКА
   ============================================================ */

.mcc-heroes-list {
    padding-top: 20px !important;
    display: flex; flex-wrap: wrap; gap: 8px;
    list-style: none; padding: 0; margin: 0;
}

.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }

.mcc-hero-card {
    position: relative; display: block; width: 100%;
    border-radius: 0; overflow: hidden; background: #1a1a2e;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mcc-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.mcc-hero-card .hero-image-wiki,
.mcc-hero-card .hero-image-wiki img,
.mcc-hero-card .mw-file-element,
.mcc-hero-card a.mw-file-description {
    display: block; width: 100%; height: auto;
}

.mcc-hero-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 30px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
}

.mcc-hero-nickname {
    font-weight: 700; font-size: 1.1em; font-family: 'Manrope', sans-serif;
}

.mcc-hero-nickname a,
.mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; }
.mcc-hero-nickname a:hover { text-decoration: underline; color: #fff !important; }
.mcc-hero-nickname a.external::after,
.mcc-hero-nickname a.extiw::after { content: none !important; display: none !important; }

.mcc-hero-role { color: #ffd700; font-size: 0.85em; font-weight: 600; }
.mcc-hero-date { font-size: 0.85em; opacity: 0.7; }

.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; }
.mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,0.4); }

@media (max-width: 768px) {
    .mcc-heroes-list { gap: 12px; }
    .mcc-heroes-list li { width: calc((100% - 12px) / 2); }
    .mcc-hero-info { padding: 30px 8px 8px; }
    .mcc-hero-nickname { font-size: 1em; }
    .mcc-hero-date { font-size: 0.75em; }
}

@media (max-width: 360px) {
    .mcc-heroes-list li { width: calc((100% - 8px) / 2); }
    .mcc-hero-nickname { font-size: 0.9em; }
}

/* ============================================================
   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: 0.2px solid rgba(255,255,255,0.07) !important;
}
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; }
.content kbd, .content samp, .content code, .content pre { border: none !important; }
.content pre { padding: 10px 0 !important; }
.mw-ui-icon-mf-expand { background-image: none !important; }
.mw-ui-icon-mf-expand:before {
    content: "+"; color: white; font-size: 16px; font-weight: bold;
    display: inline-block; width: 16px; height: 16px;
    line-height: 1em; text-align: center; vertical-align: middle;
}
.mf-icon, .mf-icon--small, .mf-icon--large {
    display: inline-flex; align-items: center; justify-content: center;
}
.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg) !important; }

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

@media (max-width: 720px) {
    .r-box { float: none !important; margin-left: 0 !important; }
    .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; text-shadow: 0 2px 4px rgba(0,0,0,0.5); white-space: nowrap;
    font-family: 'Manrope', sans-serif;
}

.header-banner__logo a { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }

.header-banner__search { position: relative; z-index: 1; display: flex; }

.header-banner__search input {
    width: 360px; margin-right: 16px;
    padding: 12px 16px; font-size: 14px; font-family: 'Manrope', sans-serif;
    border: none; border-radius: 6px; background: #fff; color: #333; outline: none;
}

.header-banner__search input:focus { box-shadow: 0 0 0 2px rgba(161,156,224,0.5); }

.header-banner__search button {
    padding: 12px 20px; font-size: 14px; font-weight: 600;
    font-family: 'Manrope', sans-serif;
    border: none; border-radius: 6px; background: #3b82f6; color: #fff;
    cursor: pointer; transition: background 0.2s;
}

.header-banner__search button:hover { background: #2563eb; }

@media (max-width: 768px) {
    .header-banner { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
    .header-banner__search { width: 100%; }
    .header-banner__search input { flex: 1; width: auto; margin-right: 0; }
    .header-banner__logo > span:last-child { font-size: 16px; }
}

@media (max-width: 480px) {
    .header-banner__logo > span:last-child { display: none; }
}

/* ============================================================
   ФІКС 1 — Широка таблиця "Запис ігор" горизонтальний скрол
   CSS-only підхід через display:block на таблиці
   ============================================================ */

.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;
    max-width: 100% !important;
    /* Зберігаємо thead/tbody правильним */
    white-space: nowrap !important;
}

/* Всередині wide таблиць — cells можуть переносити */
.content .mw-parser-output .wikitable.wide-table td,
.content .mw-parser-output .wikitable.full-width td {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
}

/* ============================================================
   ФІКС 2 — Profile icons: 4 в ряд
   ============================================================ */

.r-box .profile-links {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 0 !important;
    margin: 0 !important;
}

.r-box .profile-links-icons,
.profile-links-icons {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
}

.r-box .profile-icon,
.profile-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 6px !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    background: rgba(24,21,30,0.4) !important;
    transition: background 0.14s !important;
    cursor: pointer !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    flex: none !important;
}

.r-box .profile-icon:last-child,
.profile-icon:last-child {
    border-right: none !important;
}

.r-box .profile-icon:hover:not(.inactive) {
    background: #373752 !important;
}

.r-box .profile-icon img,
.profile-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    display: block !important;
    /* скидаємо MediaWiki обгортку посилання */
    max-width: 24px !important;
}

/* MediaWiki додає <a> та <span> всередині [[File:]] */
.profile-icon a,
.profile-icon span[typeof="mw:File"],
.profile-icon .mw-file-description {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.profile-icon .mw-file-description img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
}

/* Inactive — чб + 30% */
.profile-icon.inactive {
    opacity: 0.28 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.profile-icon.inactive img,
.profile-icon.inactive .mw-file-description img {
    filter: grayscale(100%) !important;
}

/* ============================================================
   ФІКС 3 — Вінрейт кольори (підтримка різних форматів %)
   ============================================================ */

/* CSS-fallback для відомих діапазонів у таблицях де JS не спрацював.
   JS-функція applyWinrateColors() також запускається — це страховка. */

/* Ці класи додає JS — визначаємо чіткіше */
.wikitable td.wr-hi,
.wikitable td.wr-hi * { color: #5aaa80 !important; }

.wikitable td.wr-lo,
.wikitable td.wr-lo * { color: #c06070 !important; }

/* ============================================================
   ФІКС 4 — R-box трохи ширший (більше місця для рядків)
   ============================================================ */

.r-box,
.tournament-box,
.series-box {
    width: 310px !important;
}

.r-box-info-table th,
.r-box-info-table td {
    padding: 9px 14px !important;
    font-size: 12.5px !important;
}

/* "Мін. к-сть ігор" — текст не переносить дивно */
.r-box-info-table th {
    white-space: nowrap !important;
}

.r-box-info-table td {
    word-break: break-word !important;
    white-space: normal !important;
}