
@import url('/wp-content/themes/newsmash/assets/css/dark.css');
@import url('/wp-content/themes/newsmash/assets/css/themes.css');


body {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.7;
    overflow-x: hidden;
    font-family: var(--dt-base-family);
    color: var(--dt-text-color);
    letter-spacing: .01em;
    background-color: #0a1233;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}




/* =========================================================================
   ==== DYNAMICZNE DOPASOWANIE KOLORYSTYCZNE I POZYCJONOWANIE FORUM ========
   ========================================================================= */

/* Wymuszenie Twojego oficjalnego, ciemnogranatowego tła dla całej podstrony forum */
.sw-forum-container {
    max-width: 1647px !important; /* Chirurgiczne wyrównanie do Twojej linii strony na Macu 27" */
    margin: 25px auto !important;
    font-family: Arial, sans-serif !important;
    background: #0a1233 !important; /* 🔥 TWOJE SYSTEMOWE TŁO Z CORTEKSU #0a1233 */
    color: #ffffff !important;
    padding: 25px !important;
    border-radius: 12px !important;
    border: 1px solid #f35a01 !important; /* Oficjalny siatkarski pomarańcz portalu */
    box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
    box-sizing: border-box !important;
}

.sw-forum-top-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #f35a01 !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
    gap: 10px !important;
}

.sw-forum-top-header h2 {
    margin: 0 !important;
    font-family: 'Arial Black', sans-serif !important;
    color: #ffffff !important;
    font-size: 22px !important;
}

.sw-mod-badge {
    font-size: 11px !important;
    color: #ffffff !important;
    background: #f35a01 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
}

/* Formularz wpisu czatu (Kompaktowy, ciemniejszy boks) */
.sw-forum-form {
    margin-bottom: 30px !important;
    background: #141f4d !important; /* Dopasowany głębszy odcień granatu */
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(243, 90, 1, 0.3) !important;
}

.sw-forum-form label {
    display: block !important;
    font-weight: bold !important;
    font-size: 13px !important;
    color: #f1c40f !important; /* Żółtawy odcień etykiety */
    margin-bottom: 8px !important;
}

.sw-forum-form textarea {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 5px !important;
    border: 1px solid #cbd5e0 !important;
    background: #ffffff !important;
    color: #0a1233 !important; /* Ciemny tekst w polu wpisu */
    font-size: 13px !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    margin-bottom: 10px !important;
}

.sw-forum-btn-row { text-align: right !important; }
.sw-forum-submit-btn { padding: 10px 24px !important; background: #f35a01 !important; color: white !important; border: none !important; border-radius: 4px !important; font-weight: bold !important; font-size: 13px !important; cursor: pointer !important; width: auto !important; }
.sw-forum-submit-btn:hover { background: #d35400 !important; }

/* Strumień postów Live Chatu */
/* Lista wpisów — całkowite usunięcie wewnętrznej rolki i rozciągnięcie na długość strony */
.sw-forum-feed-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    /* 🚀 REWOLUCJA: Kasujemy stare max-height i overflow, puszczając strumień postów wolno! */
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
}



.sw-forum-post-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 14px !important;
    text-align: left !important;
}

.sw-forum-post-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 5px !important;
    gap: 10px !important;
}

.sw-forum-user { font-weight: bold !important; font-size: 13px !important; color: #f1c40f !important; }
.sw-forum-date { font-size: 11px !important; color: #a0aec0 !important; }
.sw-forum-msg-text { font-size: 13px !important; color: #ecf0f1 !important; line-height: 1.5 !important; word-break: break-word !important; }
.sw-forum-empty { color: #7f8c8d !important; font-size: 13px !important; font-style: italic !important; padding: 20px 0 !important; }

/* 🛡️ SYSTEM MODERACJI ADMINA */
.sw-forum-delete-btn { background: none !important; border: none !important; color: #e74c3c !important; font-size: 11px !important; font-weight: bold !important; cursor: pointer !important; padding: 0 !important; }
.sw-forum-delete-btn:hover { color: #c0392b !important; text-decoration: underline !important; }

/* 📋 📱 RESPONSYWNA MINIATURA BOISKA 3D (Zmieści się na Macu Basi) */
.sw-forum-tactics-badge {
    margin-top: 12px !important;
    background: #141f4d !important; /* Tło makiety w barwach granatu */
    border: 1px solid #f35a01 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 460px !important; /* Wąski krój, odblokowuje Libero na małych laptopach */
    box-sizing: border-box !important;
}

.sw-t-badge-title { font-size: 11px !important; color: #f35a01 !important; font-weight: bold !important; margin-bottom: 8px !important; }
.sw-t-badge-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; font-size: 11px !important; font-weight: bold !important; text-align: center !important; }
.sw-t-cell { background: rgba(255, 255, 255, 0.08) !important; padding: 6px !important; border-radius: 4px !important; color: #ffffff !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; border: 1px solid rgba(255,255,255,0.05) !important; }
.sw-t-cell-libero { margin-top: 6px !important; font-size: 11px !important; background: #dc3545 !important; padding: 6px !important; border-radius: 4px !important; text-align: center !important; font-weight: bold !important; color: #ffffff !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.sw-t-link-wrapper { text-align: right !important; margin-top: 8px !important; }
.sw-t-open-link { color: #ffffff !important; font-size: 11px !important; font-weight: bold !important; text-decoration: none !important; border-bottom: 1px dashed #ffffff !important; }

/* 🚀 PANCERNE, ELASTYCZNE SKALOWANIE OBRAZKA OD GROKA (Dla Windows 14" i Maca 27") */
img.wp-image-9353 {
    width: 100% !important; /* Sam dopasuje szerokość do laptopa z Windowsem! */
    max-width: 1200px !important; /* Blokada przed rozciągnięciem na Twoim dużym Macu */
    height: auto !important; /* Proporcjonalne skalowanie osi Y */
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 15px auto !important;
    display: block !important;
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.25) !important; /* Biały delikatny cień poświaty */
}

/* Kłódka dla gości */
.sw-forum-lock-box { max-width: 1647px !important; margin: 20px auto !important; background: #0a1233 !important; border: 1px solid #f35a01 !important; border-radius: 12px !important; padding: 40px !important; text-align: center; box-sizing: border-box !important; color: #fff !important; }
.sw-forum-reg-btn { padding: 12px 28px !important; background: #27ae60 !important; color: white !important; border: none !important; border-radius: 6px !important; font-weight: bold !important; font-size: 14px !important; text-decoration: none !important; display: inline-block !important; margin-top: 15px !important; }

/* REJESTRY MOBILNE */
@media (max-width: 767px) {
    .sw-forum-container { margin: 10px !important; padding: 15px !important; border-radius: 8px !important; }
    .sw-forum-top-header { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
    .sw-forum-top-header h2 { font-size: 16px !important; }
    .sw-forum-submit-btn { width: 100% !important; padding: 12px !important; }
    .sw-forum-post-meta { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
    .sw-t-badge-grid { grid-template-columns: repeat(2, 1fr) !important; }
    img.wp-image-9353 { min-height: 120px !important; }
}
