/* ==========================================================================
   EDLE INPLAY POSTING-VORLAGEN (PANEM BROADCAST / CINEMA STYLE)
   ========================================================================== */

.panem-scene {
    max-width: 780px;
    margin: 12px auto;
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.75;
}

/* Kopfbereich mit Titel & Meta-Zeile */
.ps-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.35);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.ps-title {
    margin: 0 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #f8fafc !important;
}

.ps-title span {
    color: var(--capitol-cyan);
}

.ps-meta {
    font-family: 'Rajdhani', monospace, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--capitol-gold);
    white-space: nowrap;
}

/* VORLAGE 1: Portrait-GIF links + luftiger Text rechts */
/* VORLAGE 1: Kompaktes GIF neben dem Text (115x115px) */
.ps-portrait-wrap {
    float: left;
    width: 115px;
    height: 115px;
    margin: 4px 18px 8px 0;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.45);
    border-bottom: 2px solid var(--capitol-gold);
    background: #05080d;
    padding: 3px;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.ps-portrait-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* VORLAGE 2: Zwei kompakte GIFs nebeneinander (max. 440px Gesamtbreite, 115px hoch) */
/* ==========================================================================
   FIX: ZWEI FLACHE, GLEICH BREITE GIFS OHNE VERZERREN
   ========================================================================== */

.ps-dual-row {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto 18px auto !important;
}

.ps-dual-row br {
    display: none !important;
}

.ps-cam-card {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: auto !important;
    aspect-ratio: 2 / 1 !important; /* Schönes flaches Kino-Format (halb so hoch wie breit) */
    max-height: 125px !important;
    border: 1px solid rgba(0, 240, 255, 0.4) !important;
    background: #05080d !important;
    padding: 3px !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.ps-cam-card:last-of-type {
    border-color: rgba(255, 183, 3, 0.5) !important;
}

.ps-cam-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important; /* Passt das GIF automatisch ein, ohne es jemals zu verzerren */
    object-position: center center !important;
    display: block !important;
}

.ps-portrait-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* VORLAGE 2: Zwei Widescreen-GIFs nebeneinander (Flexbox statt Grid -> immun gegen <br>!) */
.ps-dual-row {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
}

.ps-dual-row br {
    display: none !important; /* Verhindert, dass MyBB-Zeilenumbrüche die GIFs untereinander schieben! */
}

.ps-cam-card {
    flex: 1 1 0 !important;
    height: 175px !important;
    position: relative !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    background: #05080d !important;
    padding: 3px !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
    overflow: hidden !important;
}

.ps-cam-card:last-of-type {
    border-color: rgba(255, 183, 3, 0.45) !important;
}

.ps-cam-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Textbereich mit dezenter Seitenlinie (nicht eingesperrt) */
.ps-text {
    border-left: 2px solid rgba(0, 240, 255, 0.22);
    padding-left: 18px;
    text-align: justify;
}

.ps-text::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 620px) {
    .ps-portrait-wrap {
        float: none;
        width: 100%;
        height: 220px;
        margin: 0 0 16px 0;
    }
    .ps-dual-row {
        flex-direction: column !important;
    }
    .ps-head {
        flex-direction: column;
        align-items: flex-start;
    }
}