/* ========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ РАСПИСАНИЯ БОЁВ
   ======================================== */

/* ========================================
   СБРОС КОНФЛИКТУЮЩИХ СТИЛЕЙ ИЗ ОСНОВНОГО CSS
   ======================================== */
body.schedule-page .fight-card {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    justify-items: initial !important;
    gap: initial !important;
    border-bottom: none !important;
}

/* Сбрасываем все стили из медиазапросов основного CSS */
@media (max-width: 700px) {
    body.schedule-page .fight-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: initial !important;
        font-size: initial !important;
        gap: initial !important;
        padding: initial !important;
    }

    body.schedule-page .fighter-col {
        min-width: initial !important;
        max-width: initial !important;
        flex: initial !important;
        padding: initial !important;
        display: initial !important;
        flex-direction: initial !important;
        align-items: initial !important;
        justify-content: initial !important;
    }

    body.schedule-page .fight-center {
        min-width: initial !important;
        max-width: initial !important;
        font-size: initial !important;
        padding: initial !important;
        margin: initial !important;
        word-break: initial !important;
        overflow-wrap: initial !important;
        white-space: initial !important;
    }
}

@media (max-width: 520px) {
    body.schedule-page .fight-center {
        min-width: initial !important;
        font-size: initial !important;
        padding: initial !important;
    }
}

/* ========================================
   СТИЛИ ДЛЯ ПЛЕЕРА ТРАНСЛЯЦИИ
   ======================================== */
body.schedule-page .player-iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: auto;
    max-height: 50vh;
    min-height: 200px;
}

body.schedule-page .player-iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* ========================================
   ОСНОВНАЯ СТРУКТУРА КАРТОЧКИ БОЯ
   ======================================== */
body.schedule-page .fight-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

body.schedule-page .fight-card {
    background: linear-gradient(135deg, #2a2f36 0%, #23272b 100%) !important;
    border: 1px solid rgba(34, 158, 217, 0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    overflow: visible !important;
    min-height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body.schedule-page .fight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(34, 158, 217, 0.3);
}

/* ========================================
   DESKTOP LAYOUT (768px и выше) - ИСПРАВЛЕНА СИММЕТРИЯ
   ======================================== */
@media (min-width: 768px) {
    body.schedule-page .fight-card {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-areas: "fighter1 center fighter2" !important;
        align-items: stretch !important;
        gap: 24px !important;
        padding: 24px !important;
        justify-items: center !important;
    }
}

/* ========================================
   MOBILE LAYOUT (до 767px) - ГОРИЗОНТАЛЬНЫЙ С ГОЛОСОВАНИЕМ ВНУТРИ
   ======================================== */
@media (max-width: 767px) {
    body.schedule-page .fight-card {
        display: flex !important;
        flex-direction: column !important;
        /* Изменено для размещения голосования */
        align-items: stretch !important;
        gap: 12px !important;
        padding: 16px 12px !important;
        min-height: 120px !important;
    }

    /* Контейнер для основной части карточки */
    body.schedule-page .fight-card-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }
}

/* На десктопе контейнер не нужен - используем grid */
@media (min-width: 768px) {
    body.schedule-page .fight-card-content {
        display: contents !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fight-card {
        gap: 8px !important;
        padding: 12px 8px !important;
        min-height: 100px !important;
    }

    body.schedule-page .fight-card-content {
        gap: 8px !important;
    }
}

/* ========================================
   СТИЛИ ДЛЯ КОЛОНОК БОЙЦОВ - ИСПРАВЛЕНО СМЕЩЕНИЕ ПРИ ВЫБОРЕ
   ======================================== */
body.schedule-page .fighter-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 16px !important;
    padding: 16px 12px !important;
    transition: all 0.3s ease !important;
    flex: none !important;
}

@media (min-width: 768px) {
    body.schedule-page .fighter-col.left {
        grid-area: fighter1 !important;
        width: 160px !important;
        justify-self: center !important;
    }

    body.schedule-page .fighter-col.right {
        grid-area: fighter2 !important;
        width: 160px !important;
        justify-self: center !important;
    }
}

@media (max-width: 767px) {
    body.schedule-page .fighter-col {
        width: 100px !important;
        padding: 12px 6px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fighter-col {
        width: 85px !important;
        padding: 8px 4px !important;
    }
}

/* Эффект при выборе бойца - БЕЗ СМЕЩЕНИЯ АВАТАРКИ */
body.schedule-page .fighter-col.selected-fighter {
    background: rgba(39, 174, 96, 0.15) !important;
    border: 2px solid #27ae60 !important;
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.3) !important;
    /* Убираем transform чтобы не было смещения */
    transform: none !important;
}

/* ========================================
   АВАТАРЫ БОЙЦОВ
   ======================================== */
body.schedule-page .avatar-wrapper {
    position: relative;
    margin-bottom: 8px;
    /* Фиксированные размеры чтобы не было смещения */
    display: flex;
    justify-content: center;
    align-items: center;
}

body.schedule-page .fighter-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #229ED9 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
    display: block !important;
    /* Убираем возможность смещения */
    position: relative;
}

@media (max-width: 767px) {
    body.schedule-page .fighter-avatar {
        width: 60px !important;
        height: 60px !important;
        border-width: 2px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fighter-avatar {
        width: 50px !important;
        height: 50px !important;
    }
}

body.schedule-page .fighter-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(34, 158, 217, 0.4);
}

/* Галочка выбора */
body.schedule-page .selected-check {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

@media (max-width: 767px) {
    body.schedule-page .selected-check {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: -4px;
        right: -4px;
    }
}

/* ========================================
   ИМЕНА И ИНФОРМАЦИЯ О БОЙЦАХ
   ======================================== */
body.schedule-page .fighter-fullname {
    color: #ffffff !important;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    body.schedule-page .fighter-fullname {
        font-size: 0.8em !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fighter-fullname {
        font-size: 0.75em !important;
    }
}

body.schedule-page .fighter-nick {
    color: #229ED9 !important;
    font-size: 0.75em !important;
    font-style: italic !important;
    margin-bottom: 4px !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    body.schedule-page .fighter-nick {
        font-size: 0.7em !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fighter-nick {
        font-size: 0.65em !important;
    }
}

body.schedule-page .fighter-record {
    color: #cccccc !important;
    font-size: 0.8em !important;
    margin-top: 4px !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    body.schedule-page .fighter-record {
        font-size: 0.7em !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fighter-record {
        font-size: 0.65em !important;
    }
}

body.schedule-page .record-win {
    color: #27ae60 !important;
}

body.schedule-page .record-loss {
    color: #e74c3c !important;
}

body.schedule-page .record-draw {
    color: #f39c12 !important;
}

body.schedule-page .flag-icon {
    display: inline-block !important;
    margin-top: 4px !important;
}

body.schedule-page .flag-icon img {
    width: 24px !important;
    height: auto !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 767px) {
    body.schedule-page .flag-icon img {
        width: 20px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .flag-icon img {
        width: 18px !important;
    }
}

/* ========================================
   ЦЕНТРАЛЬНАЯ СЕКЦИЯ БОЯ
   ======================================== */
body.schedule-page .fight-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-grow: 1 !important;
    max-width: 300px !important;
    min-width: 150px !important;
}

@media (min-width: 768px) {
    body.schedule-page .fight-center {
        grid-area: center !important;
        padding: 0 16px !important;
    }
}

@media (max-width: 767px) {
    body.schedule-page .fight-center {
        flex-grow: 1 !important;
        max-width: none !important;
        min-width: auto !important;
        padding: 0 8px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fight-center {
        padding: 0 4px !important;
    }
}

body.schedule-page .vs-label {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    color: #229ED9 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 8px !important;
    font-family: 'Russo One', sans-serif !important;
}

@media (max-width: 767px) {
    body.schedule-page .vs-label {
        font-size: 1.2em !important;
        margin-bottom: 6px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .vs-label {
        font-size: 1em !important;
        margin-bottom: 4px !important;
    }
}

body.schedule-page .fight-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

@media (max-width: 767px) {
    body.schedule-page .fight-meta {
        gap: 6px !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

body.schedule-page .fight-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.8em !important;
    color: #cccccc !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    body.schedule-page .fight-meta-item {
        font-size: 0.75em !important;
        padding: 3px 6px !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fight-meta-item {
        font-size: 0.7em !important;
        padding: 2px 4px !important;
    }
}

body.schedule-page .fight-desc {
    color: #999999 !important;
    font-size: 0.75em !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin-top: 6px !important;
}

@media (min-width: 768px) {
    body.schedule-page .fight-desc {
        font-size: 0.8em !important;
        margin-top: 8px !important;
        max-width: 200px !important;
    }
}

body.schedule-page .badge {
    font-size: 0.7em !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    margin-top: 6px !important;
}

@media (min-width: 768px) {
    body.schedule-page .badge {
        font-size: 0.75em !important;
        padding: 6px 12px !important;
        margin-top: 8px !important;
    }
}

/* ========================================
   КОЭФФИЦИЕНТЫ СТАВОК
   ======================================== */
body.schedule-page .fight-odds {
    position: absolute !important;
    top: 12px !important;
    background: linear-gradient(135deg, #229ED9 0%, #1e87c7 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 0.85em !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3) !important;
    z-index: 5 !important;
}

body.schedule-page .fight-odds:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    body.schedule-page .fight-odds-left {
        left: 12px !important;
    }

    body.schedule-page .fight-odds-right {
        right: 12px !important;
    }

    body.schedule-page .fight-odds {
        font-size: 0.9em !important;
        padding: 10px 16px !important;
    }
}

/* СКРЫВАЕМ СТАРЫЕ АБСОЛЮТНЫЕ КОЭФФИЦИЕНТЫ НА МОБИЛКЕ */
@media (max-width: 767px) {
    body.schedule-page .fight-odds {
        display: none !important;
        /* Скрываем старые абсолютные коэффициенты */
    }
}

/* ========================================
   МОБИЛЬНЫЕ ГОРИЗОНТАЛЬНЫЕ КОЭФФИЦИЕНТЫ
   ======================================== */
@media (max-width: 767px) {
    body.schedule-page .mobile-odds-row {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 8px !important;
        flex-wrap: wrap !important;
    }

    body.schedule-page .fight-odds-mobile {
        background: linear-gradient(135deg, #229ED9 0%, #1e87c7 100%) !important;
        color: white !important;
        text-decoration: none !important;
        padding: 8px 12px !important;
        border-radius: 16px !important;
        font-size: 0.75em !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3) !important;
        text-align: center !important;
        flex: 1 !important;
        max-width: 45% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.schedule-page .fight-odds-mobile:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4) !important;
        color: white !important;
        text-decoration: none !important;
    }

    /* Цветовые схемы для мобильных коэффициентов */
    body.schedule-page .fight-odds-mobile.odds-high {
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
        box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3) !important;
    }

    body.schedule-page .fight-odds-mobile.odds-high:hover {
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4) !important;
    }

    body.schedule-page .fight-odds-mobile.odds-low {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3) !important;
    }

    body.schedule-page .fight-odds-mobile.odds-low:hover {
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4) !important;
    }
}

@media (max-width: 480px) {
    body.schedule-page .fight-odds-mobile {
        font-size: 0.7em !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        max-width: 48% !important;
    }

    body.schedule-page .mobile-odds-row {
        gap: 6px !important;
        margin-top: 6px !important;
    }
}

/* НА ДЕСКТОПЕ СКРЫВАЕМ МОБИЛЬНЫЕ КОЭФФИЦИЕНТЫ */
@media (min-width: 768px) {
    body.schedule-page .mobile-odds-row {
        display: none !important;
    }
}

/* Цветовые схемы для коэффициентов */
body.schedule-page .fight-odds.odds-high {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
}

body.schedule-page .fight-odds.odds-high:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4) !important;
}

body.schedule-page .fight-odds.odds-low {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3) !important;
}

body.schedule-page .fight-odds.odds-low:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4) !important;
}

/* Анимация после голосования */
body.schedule-page .animated-odds {
    animation: pulseOdds 2s ease-in-out infinite !important;
}

body.schedule-page .fight-odds-mobile.animated-odds {
    animation: pulseMobileOdds 2s ease-in-out infinite !important;
}

@keyframes pulseOdds {

    0%,
    100% {
        transform: scale(1) translateY(-2px);
        box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4);
    }

    50% {
        transform: scale(1.05) translateY(-4px);
        box-shadow: 0 8px 25px rgba(34, 158, 217, 0.6);
    }
}

@keyframes pulseMobileOdds {

    0%,
    100% {
        transform: scale(1) translateY(-2px);
        box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
    }

    50% {
        transform: scale(1.08) translateY(-4px);
        box-shadow: 0 6px 18px rgba(34, 158, 217, 0.6);
    }
}

/* ========================================
   СИСТЕМА ГОЛОСОВАНИЯ - УЛУЧШЕННАЯ ДЛЯ МОБИЛЬНЫХ
   ======================================== */
body.schedule-page .fight-vote-row {
    margin-top: 12px !important;
    position: relative !important;
}

/* Десктопные стили голосования */
@media (min-width: 768px) {
    body.schedule-page .fight-vote-row.d-none.d-md-block {
        display: block !important;
    }

    body.schedule-page .fight-vote-inner {
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 20px !important;
        padding: 12px 16px !important;
        border: 1px solid rgba(34, 158, 217, 0.1) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Мобильные стили голосования - ВНУТРИ КАРТОЧКИ */
@media (max-width: 767px) {
    body.schedule-page .fight-vote-row.d-md-none.d-block {
        display: block !important;
        width: 100% !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    body.schedule-page .fight-vote-inner {
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 16px !important;
        padding: 10px 12px !important;
        border: 1px solid rgba(34, 158, 217, 0.1) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Скрытие после голосования */
body.schedule-page .fight-vote-inner.voted {
    display: none !important;
}

body.schedule-page .vote-option {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.schedule-page .vote-option input[type="radio"] {
    display: none !important;
}

body.schedule-page .custom-checkbox {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #666666 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

@media (min-width: 768px) {
    body.schedule-page .custom-checkbox {
        width: 24px !important;
        height: 24px !important;
        border-width: 3px !important;
    }
}

body.schedule-page .vote-option input[type="radio"]:checked+.custom-checkbox {
    background: #229ED9 !important;
    border-color: #229ED9 !important;
    box-shadow: 0 0 12px rgba(34, 158, 217, 0.5) !important;
}

body.schedule-page .vote-option input[type="radio"]:checked+.custom-checkbox:after {
    content: '✓' !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

@media (min-width: 768px) {
    body.schedule-page .vote-option input[type="radio"]:checked+.custom-checkbox:after {
        font-size: 14px !important;
    }
}

body.schedule-page .vote-question {
    font-size: 0.9em !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: center !important;
}

@media (min-width: 768px) {
    body.schedule-page .vote-question {
        font-size: 1em !important;
    }
}

/* Цветовые схемы для голосования */
body.schedule-page .vote-high .custom-checkbox {
    border-color: #27ae60 !important;
}

body.schedule-page .vote-high input[type="radio"]:checked+.custom-checkbox {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    box-shadow: 0 0 12px rgba(39, 174, 96, 0.5) !important;
}

body.schedule-page .vote-low .custom-checkbox {
    border-color: #e74c3c !important;
}

body.schedule-page .vote-low input[type="radio"]:checked+.custom-checkbox {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.5) !important;
}

/* ========================================
   СТАТИСТИЧЕСКИЕ БАРЫ ГОЛОСОВАНИЯ
   ======================================== */
body.schedule-page .vote-bar {
    display: none !important;
    height: 8px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-top: 12px !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

@media (min-width: 768px) {
    body.schedule-page .vote-bar {
        height: 10px !important;
        margin-top: 16px !important;
    }
}

body.schedule-page .vote-bar-left,
body.schedule-page .vote-bar-right {
    height: 100% !important;
    transition: all 0.6s ease !important;
    display: inline-block !important;
}

body.schedule-page .vote-bar-left {
    float: left !important;
}

body.schedule-page .vote-bar-right {
    float: right !important;
}

body.schedule-page .vote-bar-label {
    position: absolute !important;
    top: -18px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.75em !important;
    color: #999999 !important;
    font-weight: 500 !important;
}

@media (min-width: 768px) {
    body.schedule-page .vote-bar-label {
        top: -22px !important;
        font-size: 0.8em !important;
    }
}

body.schedule-page .vote-percent {
    font-size: 0.8em !important;
    margin-top: 6px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

@media (min-width: 768px) {
    body.schedule-page .vote-percent {
        font-size: 0.9em !important;
        margin-top: 8px !important;
    }
}

/* ========================================
   ОБЛАЧКА БЛАГОДАРНОСТИ УБРАНЫ
   ======================================== */
/* Облачка полностью удалены по запросу пользователя */

/* ========================================
   КНОПКА ПОДЕЛИТЬСЯ КАРДОМ
   ======================================== */
body.schedule-page #share-card-btn-wrap {
    display: inline-block;
    margin-left: 12px;
}

body.schedule-page .share-card-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

body.schedule-page .share-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    color: white;
}

@media (max-width: 767px) {
    body.schedule-page .share-card-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* ========================================
   ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ
   ======================================== */
body.schedule-page .vote-mobile-margin {
    margin-bottom: 16px !important;
}

/* Скрытие пустых строк */
body.schedule-page .empty-row {
    display: none !important;
}

/* Улучшенная загрузка */
body.schedule-page .fight-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

body.schedule-page .fight-card:nth-child(1) {
    animation-delay: 0.1s;
}

body.schedule-page .fight-card:nth-child(2) {
    animation-delay: 0.2s;
}

body.schedule-page .fight-card:nth-child(3) {
    animation-delay: 0.3s;
}

body.schedule-page .fight-card:nth-child(4) {
    animation-delay: 0.4s;
}

body.schedule-page .fight-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   СТИЛИ ДЛЯ МОБИЛЬНОГО ПЛЕЕРА
   ======================================== */
@media (max-width: 600px) {
    body.schedule-page .player-iframe-wrapper {
        max-height: 48vw;
        min-height: 180px;
        border-radius: 12px;
        margin-bottom: 24px;
    }
}