/* ==========================
   STREFA VIDEO - OPIS ODCINKÓW
   ========================== */

/* --- GŁÓWNY KONTENER SEKCJI (Wymuszenie równej wysokości) --- */
.video-top-header {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

/* --- LEWY BLOK: KARTA FILMU --- */
.db-layout-container {
    display: flex !important;
    background-color: #141414 !important;
    padding: 24px !important;
    flex: 1 !important;
    min-width: 0 !important;
    gap: 24px !important;
    box-sizing: border-box !important;
    border: 1px solid #222222 !important; 
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #222222 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    z-index: 5 !important;
}

.poster-wrapper {
    flex-shrink: 0 !important;
    display: block !important;
    height: auto !important;
}

/* --- PLAKAT --- */
.poster-wrapper {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.poster-image {
    width: 190px !important;  
    height: 260px !important;
    object-fit: cover !important; 
    border-radius: 6px !important;
    display: block !important;
    border: 1px solid #333333 !important;
    padding: 3px !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    box-sizing: border-box !important;
}

/* --- ELEMENTY KARTY FILMU --- */
.badge {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    background-color: #333333 !important;
    color: #999999 !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
    gap: 6px !important;
}

.badge i {
    font-size: 10px !important;
    color: #ffb703 !important;
}

.title {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin: 0 0 12px 0 !important;
}

.description {
    color: #999999 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 0 16px 0 !important;
}

/* Meta info inline */
.meta-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
    color: #999999 !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
}

.meta-item {
    display: flex !important;
    align-items: center !important;
}

.meta-item:not(:last-child)::after {
    content: "•" !important;
    margin: 0 12px !important;
    color: #555555 !important;
    font-size: 14px !important;
}

.meta-item span {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-left: 4px !important;
}

/* --- PRZYCISK I MENU ROZWIJANE (Z Twoją czerwoną paletą) --- */
.menu-checkbox-trigger {
    display: none !important;
    visibility: hidden !important;
}

.action-dropdown {
    position: relative !important;
    display: inline-block !important;
    align-self: flex-start !important;
    margin-top: 20px !important;
    z-index: 99999 !important;
}

/* Twoja przygaszona, elegancka czerwień */
.btn-watch {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #b81d24 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.btn-watch i {
    margin-right: 8px !important;
    transition: transform 0.2s ease !important;
}

/* Twoje głębokie, ciemne wino na hover i aktywność */
.btn-watch:hover,
.action-dropdown:focus-within .btn-watch,
.action-dropdown:hover .btn-watch {
    background-color: #831010 !important;
}

.dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    background-color: #1f1f1f !important;
    min-width: 220px !important;
    border-radius: 4px !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
    z-index: 100000 !important;
    padding: 6px 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.4s !important;
}

.dropdown-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    width: 100% !important;
    height: 12px !important;
    background: transparent !important;
    display: block !important;
}

.menu-checkbox-trigger:checked ~ .dropdown-menu,
.action-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s !important;
}

.menu-checkbox-trigger:checked ~ .btn-watch {
    background-color: #831010 !important;
}
.menu-checkbox-trigger:checked ~ .btn-watch i {
    transform: rotate(90deg) !important;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease !important;
}

/* Twoja dopasowana podświetlana opcja */
.dropdown-item:hover {
    background-color: #2b2b2b !important;
    color: #b81d24 !important;
}

.dropdown-item i {
    margin-right: 12px !important;
    font-size: 14px !important;
    width: 16px !important;
    text-align: center !important;
}

/* --- PRAWY BLOK: PANEL SPOŁECZNOŚCI --- */
.support-container {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    background-color: #141414 !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
}

.support-header {
    background-color: #1f1f1f !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #333333 !important;
}

.support-header i {
    color: #ffb703 !important; 
}

.support-body {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    flex-grow: 1 !important;
}

.support-text {
    color: #b5a4a4 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.progress-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.progress-labels {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.progress-title {
    color: #8c7b7b !important;
}

.progress-value {
    color: #b81d24 !important;
}

.progress-bar-bg {
    height: 6px !important;
    background-color: #2a2020 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    width: 100% !important;
}

.progress-bar-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #831010, #b81d24) !important;
    width: 8.7% !important;
    border-radius: 3px !important;
}

.support-content-spacer {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: auto !important;
}

.stats-boxes {
    display: flex !important;
    gap: 12px !important;
}

.stat-box {
    flex: 1 !important;
    background-color: #0b0b0b !important;
    border-radius: 4px !important;
    padding: 12px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    border: 1px solid #222222 !important;
}

.stat-label {
    font-size: 10px !important;
    color: #999999 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.stat-count {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
}

.stat-count.wanted {
    color: #b81d24 !important;
}

.btn-submit-missing {
    background-color: #b81d24 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 11px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
transition: background-color 0.2s ease !important;
width: 100% !important;
text-decoration: none !important;
box-sizing: border-box !important;
}
.btn-submit-missing:hover {
background-color: #831010 !important;
}
/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 950px) {
.video-top-header {
flex-direction: column !important;
align-items: center !important;
}
.db-layout-container {
width: 100% !important;
}
.support-container {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
}
.support-content-spacer {
margin-top: 0 !important;
}
}
	/* --- MECHANIZM ROZWIJANIA OPISU (CZYSTY CSS) --- */
.desc-checkbox {
    display: none !important;
    visibility: hidden !important;
}

/* Ukrywanie drugiej części tekstu na starcie */
.description .more-text {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Kiedy checkbox jest zaznaczony -> Pokaż resztę tekstu */
.desc-checkbox:checked ~ .description .more-text {
    display: inline !important;
    opacity: 1 !important;
}

/* Formatowanie klikalnego napisu Rozwiń/Zwiń */
.desc-btn-label {
    display: inline-flex !important;
    align-items: center;
    color: #b81d24 !important; /* Pasuje do Twojej przygaszonej czerwieni */
    font-size: 12px !important;
    font-weight: bold;
    cursor: pointer !important;
    margin-top: 4px !important;
    margin-bottom: 16px !important;
    user-select: none !important;
    gap: 6px;
}

.desc-btn-label:hover {
    color: #ffffff !important; /* Biały kolor po najechaniu myszką */
}

/* Domyślny stan przycisków tekstowych */
.desc-btn-label .text-collapse {
    display: none !important;
}
.desc-btn-label .text-expand {
    display: inline !important;
}

/* Kiedy tekst jest rozwinięty -> Zamień napis "Rozwiń" na "Zwiń" */
.desc-checkbox:checked ~ .desc-btn-label .text-expand {
    display: none !important;
}
.desc-checkbox:checked ~ .desc-btn-label .text-collapse {
    display: inline !important;
}


/* ==========================
   STREFA VIDEO - LISTA ODCINKÓW
   ========================== */

.episodes-section {
    width: 100% !important;
    margin-top: 30px !important;
    box-sizing: border-box !important;
}

/* --- NAGŁÓWEK Z WYBOREM INNYCH SERIALI --- */
.season-header {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    background-color: #1f1f1f !important;
    border: 1px solid #333333 !important;
    border-radius: 4px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.season-header-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.season-header-title i {
    color: #b81d24 !important; 
}

/* Dostosowanie natywnego selecta MyBB do stylu premium */
.series-select-wrapper {
    position: relative !important;
    display: inline-block !important;
}

.series-custom-select {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    border-radius: 4px !important;
    padding: 6px 36px 6px 12px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    appearance: none !important; /* Usuwa domyślną systemową strzałkę */
    -webkit-appearance: none !important;
}

.series-custom-select:hover {
    border-color: #00a8ff !important;
}

.select-chevron {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 10px !important;
    color: #666666 !important;
    pointer-events: none !important;
}

/* --- PANEL NAWIGACJI (FILTR + STRONY) --- */
.video-nav-control-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
}

/* Wyszukiwarka odcinków */
.ep-search-box {
    position: relative !important;
    width: 300px !important;
    max-width: 100% !important;
}

.ep-search-box .search-icon {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #444444 !important;
    font-size: 13px !important;
}

.ep-search-box input {
    width: 100% !important;
    background-color: #141414 !important;
    border: 1px solid #222222 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 10px 12px 10px 36px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.ep-search-box input:focus {
    border-color: #00a8ff !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.2) !important;
}

/* --- NOWOCZESNA, LEKKA NAWIGACJA ZAKŁADEK ODCINKÓW --- */
.video-page-navigation {
    display: flex !important;
    gap: 6px !important;
}

/* Kompaktowe przyciski zakładek (Wzorowane na nowej paginacji) */
.page-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    padding: 0 16px !important;
    background-color: #101010 !important;
    border: 1px solid #1f1f1f !important;
    color: #777777 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
}
/* Efekt najechania myszką (Hover) - Rozjaśnienie i przejście w głęboką, filmową czerwień */
.page-nav-btn:hover {
    background: linear-gradient(to bottom, #5a2022 0%, #4a1517 50%, #350a0c 50%, #400d0f 100%) !important;
    border-color: #200506 !important;
    border-top-color: #7a2d30 !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 8px rgba(184, 29, 36, 0.4) !important;
}

/* Podświetlenie przycisków po najechaniu myszką - płynna zmiana na Twoją filmową czerwień */
.page-nav-btn:hover:not(.active) {
    color: #ffffff !important;
    border-color: #b81d24 !important;
    background-color: #b81d24 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0 8px rgba(184, 29, 36, 0.4) !important;
}

/* --- LOGIKA PRZEŁĄCZANIA STRON (AKTYWNY KLIK) --- */

#page-tab-1:checked ~ .video-nav-control-bar .btn-1,
#page-tab-2:checked ~ .video-nav-control-bar .btn-2,
#page-tab-3:checked ~ .video-nav-control-bar .btn-3,
#page-tab-4:checked ~ .video-nav-control-bar .btn-4,
#page-tab-5:checked ~ .video-nav-control-bar .btn-5 {
    /* Szklany połysk z błękitnym akcentem forum Nedds24 */
    background: linear-gradient(to bottom, #10557a 0%, #054060 50%, #002d4d 50%, #003554 100%) !important;
    border-color: #001a33 !important;
    border-top-color: #1a75ff !important;
    
    /* Tekst zmienia kolor na charakterystyczny, forumowy żółty/złoty */
    color: #ffcc00 !important; 
    
    /* Dodatkowe wewnętrzne rozświetlenie dla aktywnego stanu */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 12px rgba(0, 168, 255, 0.4) !important;
}

/* --- REKLAMY --- */
.video-ad-wrapper {
    width: 100% !important;
    background-color: #141414 !important;
    border: 1px solid #222222 !important;
    border-radius: 4px !important;
    padding: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: center !important;
}

.video-ad-top { margin: 0 0 20px 0 !important; }
.video-ad-bottom { margin: 24px 0 !important; }

.video-ad-wrapper .ad-label {
    font-size: 9px !important;
    font-weight: bold !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    align-self: flex-start !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.video-ad-wrapper .ad-content-slot {
    width: 100% !important;
    min-height: 90px !important;
    background-color: #0b0b0b !important;
    border: 1px dashed #222222 !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.video-ad-wrapper .ad-placeholder {
    color: #555555 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.video-ad-wrapper .ad-placeholder small {
    color: #333333 !important;
    font-size: 11px !important;
}

/* --- UKRYWANIE I LOGIKA PRZEŁĄCZANIA STRON --- */
.page-radio-trigger { display: none !important; visibility: hidden !important; }
.list-page-1, .list-page-2, .list-page-3 { display: none !important; }

#page-tab-1:checked ~ .v2-episodes-wrapper-block .list-page-1 { display: block !important; }
#page-tab-2:checked ~ .v2-episodes-wrapper-block .list-page-2 { display: block !important; }
#page-tab-3:checked ~ .v2-episodes-wrapper-block .list-page-3 { display: block !important; }
#page-tab-4:checked ~ .v2-episodes-wrapper-block .list-page-4 { display: block !important; }
#page-tab-5:checked ~ .v2-episodes-wrapper-block .list-page-5 { display: block !important; }

/* --- PERFEKCYJNA SIATKA GRID DLA PASKÓW ODCINKÓW --- */
.episode-row {
    display: grid !important;
    grid-template-columns: 40px 320px 1fr 120px 280px !important;
    align-items: center !important;
    background-color: #141414 !important;
    border: 1px solid #222222 !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
    box-sizing: border-box !important;
    gap: 16px !important;
}

.episode-row:hover { background-color: #1c1c1c !important; border-color: #333333 !important; }
.ep-meta { display: contents !important; }

/* Kontrastowy numer odcinka */
.ep-number {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-align: center !important;
}
.episode-row:hover .ep-number { color: #ffffff !important; }

/* Tytuły serii */
.ep-title-block {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.ep-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Opis po środku paska */
.ep-mid-description {
    font-size: 13px !important;
    color: #666666 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-style: italic !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; 
    min-width: 0 !important;
}
.episode-row:hover .ep-mid-description { color: #999999 !important; }

/* Kolumna daty */
.ep-date {
    font-size: 11px !important;
    color: #666666 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

/* Przyciski z prawej strony */
.ep-actions {
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
}

/* --- TAGI I STATUSY --- */
.ep-status-tag {
    font-size: 10px !important;
    font-weight: bold !important;
    color: #b81d24 !important;
    background-color: rgba(184, 29, 36, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    flex-shrink: 0 !important;
}

.ep-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 2px 7px !important;
    border-radius: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    flex-shrink: 0 !important;
}

.tag-new { color: #00a8ff !important; background-color: rgba(0, 168, 255, 0.1) !important; border: 1px solid rgba(0, 168, 255, 0.15) !important; }
.tag-hit { color: #ffb703 !important; background-color: rgba(255, 183, 3, 0.1) !important; border: 1px solid rgba(255, 183, 3, 0.15) !important; }
/* --- OBSŁUGA PRZYCISKÓW VOD --- */

.ep-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 28px !important; /* Idealna, kompaktowa wysokość dla przycisków w pasku odcinka */
    padding: 0 14px !important;
    
    /* TŁO: Podział na pół z poziomym połyskiem (jak w zakładkach i "Napisz wątek") */
    background: linear-gradient(to bottom, #3a3a3a 0%, #303030 50%, #202020 50%, #252525 100%) !important;
    
    /* Subtelne ramki 3D i eleganckie zaokrąglenie */
    border: 1px solid #151515 !important;
    border-top: 1px solid #4a4a4a !important; /* Jaśniejsza góra dla trójwymiarowości */
    border-radius: 6px !important;
    
    /* Czcionka i tekst: czysta biel */
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8) !important;
    
    /* Wewnętrzne rozświetlenie krawędzi */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 3px rgba(0,0,0,0.4) !important;
    
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
.ep-btn:hover {
    background: linear-gradient(to bottom, #5a2022 0%, #4a1517 50%, #350a0c 50%, #400d0f 100%) !important;
    border-color: #200506 !important;
    border-top-color: #7a2d30 !important;
    color: #ffffff !important;
    transform: translateY(-0.5px) !important; /* Minimalne uniesienie */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 0 10px rgba(184, 29, 36, 0.5) !important; /* Łuna czerwieni */
}
/* --- BLOKADA WYGASZONYCH WERSJI --- */
.ep-btn.disabled {
    /* Ciemne, matowe tło z bardzo delikatnym, wygaszonym refleksem szklanym */
    background: linear-gradient(to bottom, #1d1d1d 0%, #181d1d 50%, #101010 50%, #121212 100%) !important;
    border-color: #0b0b0b !important;
    border-top-color: #2a2a2a !important;
    
    color: #444444 !important; /* Ciemnoszary, wygaszony tekst */
    text-shadow: none !important;
    box-shadow: none !important;
    
    cursor: not-allowed !important;
    pointer-events: none !important; /* Blokada interakcji */
    transform: none !important;
}
.ep-btn.disabled i {
    color: #444444 !important;
}

/* --- BRAKI (POSZUKIWANE) --- */
.missing-episode {
    border: 1px dashed #3a2222 !important;
    background-color: rgba(20, 15, 15, 0.5) !important;
}

.missing-episode:hover {
    background-color: rgba(30, 18, 18, 0.7) !important;
    border-color: #b81d24 !important;
}

.btn-report {
    background-color: #271414 !important;
    border-color: #442222 !important;
    color: #ffcccc !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
}

.btn-report:hover {
    background-color: #b81d24 !important;
    border-color: #b81d24 !important;
    color: #ffffff !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 0 12px rgba(184, 29, 36, 0.4) !important;
}

/* --- ULTRA RESPONSIVE DLA TELEFONÓW --- */
@media (max-width: 950px) {
    .video-nav-control-bar { 
        flex-direction: column !important; 
        align-items: stretch !important; 
    }
    .ep-search-box { 
        width: 100% !important; 
    }
    .video-page-navigation {
    display: flex !important;
    gap: 8px !important;
}
    .page-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    padding: 0 18px !important;
    
    /* TŁO: Podział na pół z poziomym połyskiem (jak na zrzucie ekranu) */
    background: linear-gradient(to bottom, #3a3a3a 0%, #303030 50%, #202020 50%, #252525 100%) !important;
    
    /* Subtelne ramki i zaokrąglenie identyczne jak w "Napisz wątek" */
    border: 1px solid #151515 !important;
    border-top: 1px solid #4a4a4a !important; /* Jaśniejsza góra dla efektu 3D */
    border-radius: 8px !important;
    
    /* Kolor tekstu: czysta biel */
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important; /* Cień pod tekstem podbijający czytelność */
    
    /* Cień wokół całego przycisku */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.4) !important;
    
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
}

    .episode-row { 
        grid-template-columns: 1fr !important; 
        gap: 10px !important; 
        padding: 14px !important; 
    }
    .ep-title-block { 
        width: 100% !important; 
    }
    .ep-mid-description { 
        width: 100% !important; 
        white-space: normal !important; 
        display: -webkit-box !important; 
        -webkit-line-clamp: 2 !important; 
        -webkit-box-orient: vertical !important; 
    }
    .ep-date { 
        width: 100% !important; 
    }
    .ep-actions { 
        width: 100% !important; 
        justify-content: flex-start !important; 
    }
    .ep-btn, .btn-report { 
        flex: 1 !important; 
        justify-content: center !important; 
    }
}
/* ==========================================================================
   STREFA VIDEO NEDDS24.PL - BELKA NAGŁÓWKOWA KOLUMN (episodes.css)
   ========================================================================== */

.episodes-table-header {
    display: grid !important;
    /* Identyczny podział kolumn i odstępów (gap) jak w klasie .episode-row */
    grid-template-columns: 40px 320px 1fr 120px 280px !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 10px 16px !important;
    margin-bottom: 8px !important; /* Mały odstęp od pierwszego odcinka */
    
    /* Ciemnografitowe, dopasowane tło belki */
    background-color: #1f1f1f !important;
    border: 1px solid #222222 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Formatowanie pojedynczych podpisów w belce */
.episodes-table-header .th-item {
    font-size: 11px !important;
    font-weight: bold !important;
    color: #666666 !important; /* Przygaszony szary dla zachowania kontrastu */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    user-select: none !important;
}

/* Wyrównanie tekstu w kolumnach */
.episodes-table-header .th-num {
    text-align: center !important;
}

.episodes-table-header .th-actions {
    text-align: right !important;
    padding-right: 14px !important;
}

/* --- UKRYWANIE BELKI NA TELEFONACH (RWD) --- */
@media (max-width: 950px) {
    .episodes-table-header {
        display: none !important; 
    }
}

/* ==========================================================================
   STREFA VIDEO NEDDS24.PL - SZKLANY PRZYCISK POWROTU (episodes.css)
   ========================================================================== */

/* Kontener grupujący elementy z lewej strony nagłówka */
.season-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

/* Sam szklany przycisk powrotu */
.btn-video-back {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    padding: 0 16px !important;
    
    /* Identyczny szklany gradient i ramki jak w przycisku "Napisz wątek" */
    background: linear-gradient(to bottom, #3a3a3a 0%, #303030 50%, #202020 50%, #252525 100%) !important;
    border: 1px solid #151515 !important;
    border-top: 1px solid #4a4a4a !important;
    border-radius: 8px !important;
    
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.4) !important;
    
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
}

/* Układ ikon wewnątrz przycisku */
.btn-video-back i {
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.btn-video-back .icon-arrow {
    margin-right: -4px !important;
    opacity: 0 !important;
    transform: translateX(4px) !important; /* Ukryta strzałka na starcie */
}

.btn-video-back .icon-home {
    margin-right: 8px !important;
    color: #ffcc00 !important; /* Złoty domownik spójny z resztą grafik forum */
}

/* --- INTERAKCJA NA HOVER (NAJECHANIE) --- */
.btn-video-back:hover {
    /* Przejście w głęboką czerwień Nedds24 */
    background: linear-gradient(to bottom, #5a2022 0%, #4a1517 50%, #350a0c 50%, #400d0f 100%) !important;
    border-color: #200506 !important;
    border-top-color: #7a2d30 !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 8px rgba(184, 29, 36, 0.5) !important;
}

/* Efekt wysunięcia strzałki po najechaniu kursorem */
.btn-video-back:hover .icon-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    margin-right: 6px !important;
}

.btn-video-back:hover .icon-home {
    color: #ffffff !important; /* Zmiana ikony na białą na czerwonym tle */
}