/* ==========================================================================
   ZŁOTE BELKI LITER Z POZIOMĄ LINIĄ KINOWĄ (STYL PREMIUM)
   ========================================================================== */
.v2-letter-divider {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 15px 0 10px 0 !important;
    box-sizing: border-box !important;
}

/* TARCZYCZKA Z LITERĄ - ORYGINALNY ODCIEŃ #966D3A Z FOTO */
.v2-letter-divider span {
    background: #171717 !important;
    color: #966d3a !important; /* Idealny bursztynowy odcień */
    font-weight: bold !important;
    font-size: 11px !important;
    padding: 3px 12px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-left: 3px solid #966d3a !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    
    /* SYSTEMOWY CIEŃ TEKSTU Z TWOICH BELEK */
    text-shadow: -1px -1px 0px #000000, 1px 1px 1px rgba(0,0,0,0.5) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

/* NAPRAWIONA GRADIENTOWA LINIA (USUNIĘTY BŁĄD SKŁADNI 100__) */
.v2-letter-divider::after {
    content: "" !important;
    flex-grow: 1 !important;
    min-width: 50px !important; /* Zabezpieczenie przed wygaszeniem w MyBB */
    height: 1px !important;
    
    /* IDEALNY CZYSZCZONY GRADIENT POD KOLOR BELKI */
    background: linear-gradient(to right, rgba(150, 109, 58, 0.4) 0%, rgba(150, 109, 58, 0.08) 70%, transparent 100%) !important;
    
    margin-left: 12px !important;
    border-radius: 1px !important;
}

/* DEDYKOWANY HOVER DLA ZŁOTYCH TYTUŁÓW */
.v2-box-card:hover .v2-box-card-info h4 {
    color: #966d3a !important;
}


/* ==========================================================================
   PROPORCJONALNA SIATKA DLA PIONOWYCH PLAKATÓW (ODPORNA NA ADBLOCK)
   ========================================================================== */
.v2-box-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; /* Szerokość dostosowana pod pionowy plakat */
    gap: 16px !important; /* Odstępy boczne i pionowe między bajkami */
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
}

/* BEZPIECZNA PRZEZROCZYSTA KARTA BAJKI (ZGODNA ZE ZDJĘCIEM) */
.v2-box-card {
    position: relative !important;
    background: transparent !important; /* Brak sztucznego tła, czysty napis */
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: transform 0.2s ease-in-out !important;
}

.v2-box-card:hover {
    transform: translateY(-4px) !important; /* Lekkie, filmowe uniesienie kafelka */
}

/* WYDŁUŻONA SMUKŁA GRAFIKA PLAKATU (PROPORCJE OK. 2:3) */
.v2-box-poster-box {
    position: relative !important;
    width: 100% !important;
    height: 185px !important; /* Przywrócona idealna kinowa wysokość eliminująca kwadrat */
    overflow: hidden !important;
    background: #0d0d0d !important;
    border-radius: 8px !important; /* Wyraźne, zaokrąglone rogi okładki z Twojego foto */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

/* REAKCJA OKŁADKI NA NAJECHANIE MYSZKĄ */
.v2-box-card:hover .v2-box-poster-box {
    border-color: #d4ac0d !important; /* Złote rozświetlenie krawędzi okładki pod kolor linii */
    box-shadow: 0 0 12px rgba(212, 172, 13, 0.35) !important;
}

.v2-box-poster-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.v2-box-card:hover .v2-box-poster-box img {
    transform: scale(1.04) !important; /* Płynne zbliżenie kadru bajki */
}

/* ==========================================================================
   WYŚRODKOWANY TYTUŁ WPROST POD PLAKATEM
   ========================================================================== */
.v2-box-card-info {
    padding: 8px 2px 0 2px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important; /* Centrowanie tytułu 1:1 jak na screenie */
}

.v2-box-card-info h4 {
    margin: 0 !important;
    color: #ffffff !important; /* Wyrazista biel tytułu */
    font-family: Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: bold !important; /* Pogrubienie */
    line-height: 1.3 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.2s ease !important;
}

/* REAKCJA TYTUŁU NA HOVER */
.v2-box-card:hover .v2-box-card-info h4 {
    color: #d4ac0d !important; /* Tytuł podświetla się na złoto pasując do całości */
}

/* ==========================================================================
   SYSTEMOWY OKRĄGŁY PRZYCISK ODTAWARZACZA 3D
   ========================================================================== */
.v2-box-hover-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
    background: rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease-in-out !important;
    z-index: 2 !important;
}

.mybb-style-play-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(to bottom, #555555 0%, #444444 49%, #333333 50%, #252525 100%) !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 50% !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.6) !important;
    transform: scale(0.85) !important;
    transition: transform 0.2s ease-in-out !important;
}

.mybb-style-play-btn i {
    color: #2ecc71 !important; /* Kontrastowa zieleń ikony play */
    font-size: 11px !important;
    margin-left: 2px !important;
}

.v2-box-card:hover .v2-box-hover-overlay { opacity: 1 !important; }
.v2-box-card:hover .mybb-style-play-btn { transform: scale(1) !important; }
.card-tag-badge.premium-badge {
    position: absolute !important;
    top: 6px !important; 
    left: 6px !important;
    
    /* IDEALNE WYRÓWNANIE IKONY I NAPISU W JEDNEJ LINII */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important; /* Sztywny odstęp między koroną a napisem */
    
    /* PRESTIŻOWY ZŁOTY GRADIENT */
    background: linear-gradient(135deg, #d4ac0d 0%, #f1c40f 100%) !important; 
    color: #000000 !important; /* Czarny, wyrazisty tekst */
    
    /* FORMATOWANIE CZCIONKI */
    font-family: Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 9px !important;
    font-weight: 900 !important; /* Bardzo gruby tekst */
    text-transform: uppercase !important; /* Wielkie litery */
    letter-spacing: 0.5px !important;
    
    /* KSZTAŁT I KRAWĘDZIE PLAKIETKI */
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    
    /* BEZPIECZEŃSTWO STRUKTURY */
    z-index: 3 !important;
    white-space: nowrap !important; /* Blokada łamania napisu do nowej linii */
    width: auto !important;
    height: auto !important;
}

/* KOREKTA DLA SAMEJ IKONY KORONY WSOKOCZONEJ W PLAKIETKĘ */
.card-tag-badge.premium-badge i {
    color: #000000 !important; /* Wymuszenie czarnego koloru dla korony */
    font-size: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
/* DOPASOWANIE CYFR W STATYSTYKACH DO ORYGINALNEGO KOLORU Z TWOICH BELEK FORUM */
.v2-tile-num {
    font-family: Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #966d3a !important; /* Szlachetny bursztynowy odcień */
    display: block !important;
    line-height: 1.2 !important;
    text-shadow: -1px -1px 0px #000000, 1px 1px 1px rgba(0,0,0,0.5) !important;
}
/* ==========================================================================
   PANCERNE DOPASOWANIE KAFELKÓW STATYSTYK (BLOKADA UKŁADU PIONOWEGO)
   ========================================================================== */
.v2-stat-tile-fixed {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 5px !important;
    padding: 12px 4px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    width: 50% !important; /* Sztywne wymuszenie równego podziału */
}

/* DUŻA CYFRA LICZNIKA - DOPASOWANA DO TWÓJ BURSZTYNOWY ODCIEŃ #966D3A */
.v2-tile-num {
    font-family: Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #966d3a !important; /* Szlachetny bursztynowy odcień */
    display: block !important;
    line-height: 1.2 !important;
    text-shadow: -1px -1px 0px #000000, 1px 1px 1px rgba(0,0,0,0.5) !important;
    text-align: center !important;
}

/* ZIELONY STATUS */
.v2-tile-num.tile-status-green {
    color: #2ecc71 !important;
    text-shadow: 0 0 6px rgba(46, 204, 113, 0.3) !important;
}

/* TEKST POD SPODEM LICZNIKA */
.v2-tile-txt {
    font-family: Arial, sans-serif !important;
    font-size: 9px !important;
    color: #777777 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    margin-top: 4px !important;
    text-align: center !important;
}