/* ОБЩИЕ СТИЛИ */
body {
    background-color: #202020;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden; /* Сам body не скроллится, скроллятся колонки внутри */
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #333; }
::-webkit-scrollbar-thumb { background: #555; }

/* --- ЛЕВАЯ И ПРАВАЯ КОЛОНКИ (САЙДБАРЫ) --- */
.side-column {
    width: 320px;
    background: #3b3b3b;
    padding: 20px;
    overflow-y: auto; /* Разрешаем скролл по вертикали */
    
    /* ИСПРАВЛЕНИЕ: Включаем взаимодействие с мышью, чтобы работал скролл */
    pointer-events: auto; 
    
    user-select: none; /* Текст все еще нельзя выделять (красивее для UI) */
    z-index: 10;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.col-left {
    border-right: 4px solid #000;
}

.col-right {
    border-left: 4px solid #000;
}

/* Состояния переключателей */
.btn-action.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.btn-action.inactive {
    opacity: 0.3;
    filter: grayscale(80%);
    transform: scale(0.95);
    border-color: #000;
}

/* Большая кнопка DonationAlerts */
.btn-da {
    background: #f39c12;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border: 4px solid #000;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.btn-da:hover {
    background: #e67e22;
    border-color: #fff;
    transform: scale(1.02);
}

.btn-da:active {
    background: #fff;
    color: #000;
}

/* ЗАГОЛОВКИ РЕЙТИНГОВ */
.rating-header {
    text-align: center; 
    margin-bottom: 20px;
    text-shadow: 2px 2px #000;
    border-bottom: 2px solid #555;
    padding-bottom: 15px;
    line-height: 1.5;
}

.rating-title { font-size: 16px; display: block; margin-bottom: 10px; }
.total-score { font-size: 10px; color: #aaa; display: block; }
.total-val { color: #fff; }

.w-color { color: #ff9f43; } 
.m-color { color: #54a0ff; }

/* СПИСОК ИГРОКОВ */
.player-row {
    background: #555;
    padding: 10px;
    margin-bottom: 8px;
    border: 4px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    position: relative;
    transition: transform 0.1s;
}

.mini-head { 
    width: 24px;
    height: 24px; margin-right: 10px; border: 2px solid #000;
    image-rendering: pixelated; background-repeat: no-repeat;
    background-size: 192px; background-position: -24px -24px; background-color: #222;
}

.rank-0 { border-color: #ffd700; color: #ffd700; }
.rank-1 { border-color: #c0c0c0; color: #c0c0c0; }
.rank-2 { border-color: #cd7f32; color: #cd7f32; }
.rank-worst { border-color: #ff0000; background: #4a0000; color: #ff5555; }


/* --- ЦЕНТРАЛЬНАЯ КОЛОНКА --- */
.col-center {
    flex-grow: 1;
    background-image: linear-gradient(#202020 1px, transparent 1px), linear-gradient(90deg, #202020 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: #2a2a2a;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}


/* --- OVERLAY (Анимация) --- */
#success-overlay {
    display: none; position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95); z-index: 9999;
    flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
#anim-skin-container { width: 300px; height: 400px; margin-bottom: 30px; position: relative; z-index: 10001; }
#success-title { font-size: 30px; text-align: center; line-height: 1.5;
text-shadow: 4px 4px #000; margin-bottom: 20px; z-index: 10001; animation: popIn 0.5s; }
#success-subtext { color: #aaa; font-size: 14px; margin-bottom: 40px;
z-index: 10001; }
.close-anim-btn { background: transparent; border: 2px solid #fff; color: #fff; padding: 10px 30px; font-family: inherit; cursor: pointer;
z-index: 10001; transition: 0.2s; }
.close-anim-btn:hover { background: #fff; color: #000; }

.particle { position: absolute; font-size: 24px; font-weight: bold; pointer-events: none;
z-index: 10000; }
@keyframes floatUp { 0% { transform: translateY(100vh) scale(0.5); opacity: 0; } 50% { opacity: 1;
} 100% { transform: translateY(-10vh) scale(1.5); opacity: 0; } }
@keyframes fallDown { 0% { transform: translateY(-10vh) rotate(0deg); opacity: 1;
} 100% { transform: translateY(110vh) rotate(360deg); opacity: 0; } }
@keyframes popIn { 0% { transform: scale(0);
} 100% { transform: scale(1); } }
.fire-bg { background: radial-gradient(circle, rgba(100,0,0,0.8) 0%, rgba(20,0,0,1) 100%); box-shadow: inset 0 0 100px #ff0000;
}
.gold-bg { background: radial-gradient(circle, rgba(0,100,0,0.8) 0%, rgba(0,20,0,1) 100%); box-shadow: inset 0 0 100px #00ff00;
}

@keyframes moveToPlace {
    0% { transform: translateY(var(--start-y)); z-index: 100; box-shadow: 0 0 20px currentColor; background-color: var(--highlight-color);
}
    100% { transform: translateY(0); z-index: 1; box-shadow: none; background-color: #555;
}
}
.anim-move { animation: moveToPlace 2s cubic-bezier(0.25, 1, 0.5, 1) forwards; position: relative;
}


/* --- ИНТЕРФЕЙС ВЫБОРА --- */
#selection-screen { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%;
}

.grid-section-title {
    width: 100%; max-width: 900px; text-align: left; 
    margin: 20px 0 10px 0; font-size: 12px; color: #aaa;
    border-bottom: 2px solid #444; padding-bottom: 5px;
}

.heads-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 15px;
    width: 100%; max-width: 900px; padding: 10px; margin-bottom: 20px;
}
.grid-item { background: #444; border: 4px solid #000; padding: 15px; display: flex;
flex-direction: column; align-items: center; cursor: pointer; transition: 0.1s; }
.grid-item:hover { transform: scale(1.05); background: #666; border-color: #fff;
}

.grid-head { 
    width: 64px; height: 64px; margin-bottom: 15px;
    image-rendering: pixelated; background-repeat: no-repeat;
    background-size: 512px;
    background-position: -64px -64px; background-color: #222;
}
.grid-name { font-size: 10px; text-align: center; line-height: 1.5;
word-break: break-all;}


/* --- ИНТЕРФЕЙС ГОЛОСОВАНИЯ --- */
#voting-screen { display: none; align-items: flex-start; gap: 40px; justify-content: center; margin-top: 50px;
}
#skin-container { width: 300px; height: 400px; border: 4px solid #000; background: rgba(0,0,0,0.3); margin-bottom: 20px; }
.btn { font-family: inherit;
border: 4px solid #000; padding: 15px 20px; font-size: 12px; cursor: pointer; text-transform: uppercase; margin: 5px; }
.btn-up { background: #2ecc71;
} .btn-down { background: #e74c3c; } .btn-back { background: #7f8c8d; color: white; margin-bottom: 10px; }

.controls-box { background: #2b2b2b; padding: 20px;
border: 4px solid #000; display: flex; flex-direction: column; align-items: center; width: 300px; }
.panel-title { color: #fff; margin-bottom: 20px; font-size: 14px;
text-transform: uppercase; text-align: center; }
.input-wrapper { position: relative; width: 100%; margin-bottom: 10px; }
.currency-symbol { position: absolute; left: 15px; top: 50%;
transform: translateY(-50%); color: #ffd700; font-size: 16px; z-index: 2; }
.input-amount { background: #111; border: 2px solid #000; color: #ffd700;
font-family: 'Press Start 2P'; font-size: 16px; height: 50px; width: 100%; padding-left: 35px; box-sizing: border-box; outline: none; }
.input-amount:focus { background: #000;
border-color: #fff; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buttons-row { display: flex; gap: 10px; width: 100%;
}
.btn-action { flex: 1; height: 50px; font-family: inherit; font-size: 12px; font-weight: bold; cursor: pointer; border: 2px solid #000; color: #fff;
box-shadow: none; transform: none; transition: 0.2s; display: flex; align-items: center; justify-content: center; padding: 0; text-transform: uppercase; }
.btn-up:hover { background: #27ae60;
border-color: #fff; } .btn-down:hover { background: #c0392b; border-color: #fff; } .btn-action:active { background: #fff; color: #000; }
.rate-info { font-size: 8px;
color: #777; margin-top: 15px; text-align: center; }
@keyframes blink { 50% { opacity: 0.5; } }
.wait-msg { color: #ffd700; font-size: 12px;
margin-top: 20px; display: none; text-align: center; line-height: 1.5; animation: blink 1s infinite; }


#copy-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    border: 3px solid #000;
    font-size: 12px;
    z-index: 20000;
    display: none; /* Скрыто по умолчанию */
    box-shadow: 4px 4px 0 #000;
    animation: popIn 0.2s;
}

/* ЭФФЕКТ НАВЕДЕНИЯ НА ТЕКСТ КОПИРОВАНИЯ */
#action-instruction:hover {
    background: #222 !important;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
#action-instruction:active {
    transform: scale(0.98);
    background: #444 !important;
}

/* МОДАЛЬНОЕ ОКНО */
#warning-modal {
    display: none; /* Скрыто */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 15000;
    align-items: center;
    justify-content: center;
}

.warning-box {
    background: #202020;
    border: 4px solid #ff5555;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 85, 85, 0.3);
    animation: popIn 0.3s;
}


/* НОВЫЙ СТИЛЬ ДЛЯ КОПИРОВАНИЯ */
.copy-btn-wrapper {
    background: #111;
    border: 2px dashed #555;
    /* Пунктир намекает на "вырезку/копирование" */
    border-radius: 8px;
    padding: 15px 10px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.copy-btn-wrapper:hover {
    background: #222;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.copy-btn-wrapper:active {
    transform: translateY(0);
    background: #000;
}

/* Сам текст (Ник) */
.copy-text {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #000;
}

/* Подсказка "Нажми..." */
.copy-label {
    font-size: 8px;
    color: #777;
    background: #2b2b2b;
    padding: 4px 8px;
    border-radius: 4px;
}
.copy-btn-wrapper:hover .copy-label {
    color: #fff;
    background: #444;
}

/* КНОПКА КРИПТЫ (Tourniquet) */
.btn-crypto {
    background: #8e44ad; /* Фиолетовый цвет */
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border: 4px solid #000;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px; /* Отступ от кнопки DALink */
}

.btn-crypto:hover {
    background: #9b59b6;
    border-color: #fff;
    transform: scale(1.02);
}

.btn-crypto:active {
    background: #fff;
    color: #000;
}

.hidden {
    display: none !important;
}

/* [static/style.css] - В САМЫЙ НИЗ */

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (ИСПРАВЛЕННАЯ) --- */
#mobile-menu { display: none; }
#mobile-back-btn { display: none; }

/* [static/style.css] - В САМЫЙ НИЗ, ЗАМЕНИТЬ ПРОШЛЫЙ БЛОК */

/* [static/style.css] - ФИНАЛЬНАЯ ВЕРСИЯ (Кнопка внизу, Текст под скином) */

/* [static/style.css] - ВСТАВИТЬ ВМЕСТО СТАРОГО БЛОКА @MEDIA В САМОМ НИЗУ */

@media only screen and (max-width: 768px) {
    
    body {
        flex-direction: column;
        height: auto;
        overflow-x: hidden;
        background: #202020;
    }

    /* --- 1. СКРЫТИЕ И ПОКАЗ СЕКЦИЙ --- */
    .side-column, .col-center {
        display: none !important; 
        width: 100vw !important;
        height: 100vh !important;
        border: none !important;
        position: fixed !important;
        top: 0; left: 0;
        z-index: 50;
        padding-top: 60px !important; 
        box-sizing: border-box !important;
        background: #202020 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    div.side-column.active-mobile, 
    div.col-center.active-mobile,
    .active-mobile {
        display: flex !important;
        flex-direction: column !important; /* FIX: Выстраиваем контент в колонку */
        align-items: center !important;     /* FIX: Центруем контент */
        z-index: 100 !important;
        overflow-y: auto !important;
        opacity: 1 !important;
    }

    /* --- 2. МЕНЮ --- */
    #mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        background-color: #202020;
        z-index: 9000;
        position: fixed;
        top: 0; left: 0;
        gap: 20px;
    }

    .mobile-title {
        font-size: 20px;
        color: #ffd700;
        text-shadow: 4px 4px #000;
        margin-bottom: 30px;
        text-align: center;
        font-family: 'Press Start 2P', cursive;
    }

    .minecraft-btn {
        width: 80%;
        max-width: 300px;
        padding: 15px;
        font-family: 'Press Start 2P', cursive;
        font-size: 12px;
        color: #fff;
        background: #7f8c8d;
        border: 4px solid #000;
        box-shadow: inset -4px -4px rgba(0,0,0,0.5), inset 4px 4px rgba(255,255,255,0.2);
        cursor: pointer;
        text-transform: uppercase;
        margin-bottom: 15px;
        text-align: center;
    }

    #mobile-back-btn {
        position: fixed;
        top: 15px; left: 15px;
        z-index: 9999;
        background: #e74c3c;
        color: white;
        border: 2px solid #000;
        font-family: 'Press Start 2P';
        padding: 8px 12px;
        font-size: 10px;
        cursor: pointer;
        box-shadow: 2px 2px 0 #000;
    }

    /* --- 3. ИНТЕРФЕЙС "ВЫБРАТЬ УЧАСТНИКА" --- */
    .heads-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* Ровно 3 в ряд */
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        justify-content: center !important; /* Центруем сетку */
    }
    .grid-item { 
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* --- 4. ГОЛОСОВАНИЕ (FIX "ПРИЗРАЧНОГО ОКНА") --- */
#voting-screen {
    display: none; /* Скрыто по умолчанию, JS включает flex */
    flex-direction: row;
    justify-content: center;
    align-items: flex-start; /* Выравнивание по ВЕРХНЕМУ краю */
    gap: 40px; /* Расстояние между колонками */
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Колонки (Левая и Правая) */
.voting-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px; /* Фиксированная ширина колонки */
}

/* Заголовки над рамками (ИГРОК / УПРАВЛЕНИЕ) */
.panel-title-large {
    font-size: 20px;
    color: #fff;
    text-shadow: 4px 4px 0 #000;
    margin-bottom: 15px;
    text-align: center;
    height: 30px; /* Фикс высоты, чтобы было ровно, даже если шрифт разный */
}

/* Общий стиль для рамок (и скина, и кнопок) */
.controls-box {
    background: #2b2b2b;
    padding: 20px;
    border: 4px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Занимает всю ширину колонки (340px) */
    box-sizing: border-box;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.5); /* Тень для объема */
}

/* Фикс для рамки скина, чтобы убрать лишние отступы canvas */
.skin-box-fix {
    padding: 10px; /* Чуть меньше паддинг для скина */
    background: rgba(0,0,0,0.3); /* Чуть темнее фон под скином */
}

#skin-container {
    width: 300px;
    height: 400px;
    /* Убираем старые рамки, теперь рамка у родителя */
    border: none; 
    background: transparent;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Кнопка НАЗАД во всю ширину */
.full-width-btn {
    width: 100%;
    margin-top: 15px;
    background: #7f8c8d;
    color: #fff;
    box-shadow: 4px 4px 0 #000;
    border: 4px solid #000;
}
.full-width-btn:hover {
    background: #95a5a6;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000;
}
.full-width-btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0 #000;
}

    /* --- 5. АНИМАЦИЯ (СПАСИБО) --- */
    #success-overlay {
        /* FIX: Скрыто по умолчанию */
        display: none;
        
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0,0,0,0.95) !important;
        z-index: 20000 !important;
        
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px !important;
    }
    
    #success-overlay[style*="display: flex"], 
    #success-overlay[style*="display: block"] {
        display: flex !important;
    }

    #success-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        width: 100% !important;
        color: #ffd700 !important;
        text-shadow: 4px 4px 0 #000 !important;
    }

    #anim-skin-container {
        width: 160px !important;
        height: 240px !important;
        margin: 0 auto 20px auto !important; /* Центр */
        position: relative !important;
        pointer-events: none !important; 
        background-color: transparent !important;
        
        /* FIX: Центруем canvas */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    #success-subtext {
        font-size: 10px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.5 !important;
        color: #fff !important;
    }

    .close-anim-btn {
        font-size: 12px !important;
        padding: 15px 30px !important;
        background: #e74c3c !important;
        color: white !important;
        border: 4px solid #fff !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 20005 !important;
        text-transform: uppercase !important;
        box-shadow: 0 0 15px rgba(0,0,0,0.5) !important;
    }
    
    /* --- 6. МОДАЛКА ПРЕДУПРЕЖДЕНИЯ --- */
    .warning-box { width: 85% !important; padding: 20px !important; margin: 0 auto !important; }
    .warning-box div[style*="display: flex"] { flex-wrap: wrap !important; }
    #modal-go-btn, .btn-back { font-size: 10px !important; padding: 10px !important; flex: 1; }
}
/* Класс для принудительного показа элемента */
.force-show {
    display: block !important;
}

/* Убираем подчеркивание у кнопки меню (так как это теперь ссылка <a>) */
#mobile-back-btn {
    text-decoration: none;
}

/* --- СОЦИАЛЬНЫЕ КНОПКИ --- */
#voting-screen {
    /* Меняем display на flex row для десктопа */
    display: none; /* Скрыто по умолчанию */
    flex-direction: row; 
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.socials-container {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#social-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.social-btn {
    display: block;
    width: 100%;
    padding: 10px 5px;
    background: #555;
    border: 3px solid #000;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    box-shadow: inset -3px -3px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.1s;
}

.social-btn:hover {
    background: #666;
    transform: scale(1.05);
    border-color: #fff;
}

.social-btn:active {
    transform: scale(0.95);
    box-shadow: inset 3px 3px rgba(0,0,0,0.3);
}

/* Цвета для конкретных соцсетей */
.soc-twitch { background: #6441a5; }
.soc-youtube { background: #ff0000; }
.soc-tiktok { background: #000000; border-color: #00f2ea; } /* Эффект тиктока */
.soc-telegram { background: #0088cc; }
.soc-custom { background: #e67e22; }

/* МОБИЛЬНАЯ АДАПТАЦИЯ (Добавить в конец файла внутри @media query) */
@media only screen and (max-width: 768px) {
/* --- ВНУТРИ @MEDIA --- */
    
    #voting-screen {
        flex-direction: column !important; /* На телефоне в столбик */
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
        margin-top: 10px !important;
    }

    .voting-column {
        width: 90% !important; /* На телефоне ширина резиновая */
        max-width: 340px;
    }

    #skin-container {
        /* Масштабируем скин, если экран узкий */
        transform: scale(0.9); 
    }
    .socials-container {
        width: 100% !important;
        order: 3; /* Кнопки соцсетей под управлением */
        margin-top: 20px;
    }
    #social-buttons-list {
        flex-direction: row; /* На мобилках в ряд */
        flex-wrap: wrap;
        justify-content: center;
    }
    .social-btn {
        width: auto !important;
        padding: 10px 15px !important;
    }
}

/* Добавьте это в блок, где у вас .soc-twitch, .soc-youtube и т.д. */
.soc-instagram { 
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
    border-color: #fff;
}


/* Стиль для отключенной кнопки */
.btn-locked {
    background: #333 !important;       /* Серый фон */
    color: #777 !important;            /* Тусклый текст */
    border-color: #555 !important;     /* Тусклая рамка */
    cursor: not-allowed !important;    /* Курсор запрета */
    pointer-events: none !important;   /* ЗАПРЕЩАЕТ КЛИК */
    transform: none !important;        /* Убирает анимацию нажатия */
    box-shadow: none !important;
    opacity: 0.6;
}
/* Эффект для аватарок в эфире */
.live-item {
    border-color: #ff0000 !important;
    animation: pulseLive 2s infinite;
    position: relative;
}

/* Красный значок LIVE */
.live-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: white;
    font-size: 8px;
    padding: 3px 6px;
    border: 2px solid #fff;
    font-weight: bold;
    z-index: 10;
    box-shadow: 2px 2px 0 #000;
}

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.live-section {
    width: 100%;
    margin: 30px 0;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.offline-item {
    filter: grayscale(1);
    opacity: 0.5;
    border: 2px solid #333 !important;
}

.offline-item:hover {
    filter: grayscale(0.5);
    opacity: 0.8;
}

.live-item {
    border: 2px solid #ff0000 !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}